pulumi-oci 2.33.0a1745955172__py3-none-any.whl → 2.33.0a1746138884__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/containerengine/_inputs.py +43 -3
- pulumi_oci/containerengine/get_cluster.py +22 -3
- pulumi_oci/containerengine/node_pool.py +4 -0
- pulumi_oci/containerengine/outputs.py +79 -7
- pulumi_oci/database/_inputs.py +6 -5
- pulumi_oci/database/autonomous_database.py +47 -0
- pulumi_oci/database/get_autonomous_database.py +15 -1
- pulumi_oci/database/outputs.py +15 -3
- pulumi_oci/disasterrecovery/_inputs.py +566 -16
- pulumi_oci/disasterrecovery/dr_protection_group.py +312 -0
- pulumi_oci/disasterrecovery/outputs.py +1077 -27
- pulumi_oci/nosql/table.py +7 -7
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/resourcescheduler/_inputs.py +89 -1
- pulumi_oci/resourcescheduler/get_schedule.py +15 -1
- pulumi_oci/resourcescheduler/get_schedules.py +22 -7
- pulumi_oci/resourcescheduler/outputs.py +174 -11
- pulumi_oci/resourcescheduler/schedule.py +58 -2
- {pulumi_oci-2.33.0a1745955172.dist-info → pulumi_oci-2.33.0a1746138884.dist-info}/METADATA +1 -1
- {pulumi_oci-2.33.0a1745955172.dist-info → pulumi_oci-2.33.0a1746138884.dist-info}/RECORD +22 -22
- {pulumi_oci-2.33.0a1745955172.dist-info → pulumi_oci-2.33.0a1746138884.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.33.0a1745955172.dist-info → pulumi_oci-2.33.0a1746138884.dist-info}/top_level.txt +0 -0
@@ -470,6 +470,162 @@ class DrProtectionGroup(pulumi.CustomResource):
|
|
470
470
|
|
471
471
|
Create a DR protection group.
|
472
472
|
|
473
|
+
## Example Usage
|
474
|
+
|
475
|
+
```python
|
476
|
+
import pulumi
|
477
|
+
import pulumi_oci as oci
|
478
|
+
|
479
|
+
config = pulumi.Config()
|
480
|
+
disassociate_trigger = config.get_float("disassociateTrigger")
|
481
|
+
if disassociate_trigger is None:
|
482
|
+
disassociate_trigger = 0
|
483
|
+
test_dr_protection_group = oci.disaster_recovery.DrProtectionGroup("test_dr_protection_group",
|
484
|
+
compartment_id=compartment_id,
|
485
|
+
display_name=dr_protection_group_display_name,
|
486
|
+
log_location={
|
487
|
+
"bucket": dr_protection_group_log_location_bucket,
|
488
|
+
"namespace": dr_protection_group_log_location_namespace,
|
489
|
+
},
|
490
|
+
association={
|
491
|
+
"role": dr_protection_group_association_role,
|
492
|
+
"peer_id": dr_protection_group_association_peer_id,
|
493
|
+
"peer_region": dr_protection_group_association_peer_region,
|
494
|
+
},
|
495
|
+
defined_tags={
|
496
|
+
"Operations.CostCenter": "42",
|
497
|
+
},
|
498
|
+
freeform_tags={
|
499
|
+
"Department": "Finance",
|
500
|
+
},
|
501
|
+
disassociate_trigger=disassociate_trigger,
|
502
|
+
members=[{
|
503
|
+
"member_id": dr_protection_group_members_member_id,
|
504
|
+
"member_type": dr_protection_group_members_member_type,
|
505
|
+
"autonomous_database_standby_type_for_dr_drills": dr_protection_group_members_autonomous_database_standby_type_for_dr_drills,
|
506
|
+
"backend_set_mappings": [{
|
507
|
+
"destination_backend_set_name": test_backend_set["name"],
|
508
|
+
"is_backend_set_for_non_movable": dr_protection_group_members_backend_set_mappings_is_backend_set_for_non_movable,
|
509
|
+
"source_backend_set_name": test_backend_set["name"],
|
510
|
+
}],
|
511
|
+
"backup_config": {
|
512
|
+
"backup_schedule": dr_protection_group_members_backup_config_backup_schedule,
|
513
|
+
"image_replication_vault_secret_id": test_secret["id"],
|
514
|
+
"max_number_of_backups_retained": dr_protection_group_members_backup_config_max_number_of_backups_retained,
|
515
|
+
"namespaces": dr_protection_group_members_backup_config_namespaces,
|
516
|
+
"replicate_images": dr_protection_group_members_backup_config_replicate_images,
|
517
|
+
},
|
518
|
+
"backup_location": {
|
519
|
+
"bucket": dr_protection_group_members_backup_location_bucket,
|
520
|
+
"namespace": dr_protection_group_members_backup_location_namespace,
|
521
|
+
},
|
522
|
+
"block_volume_attach_and_mount_operations": {
|
523
|
+
"attachments": [{
|
524
|
+
"block_volume_id": test_volume["id"],
|
525
|
+
"volume_attachment_reference_instance_id": test_instance["id"],
|
526
|
+
}],
|
527
|
+
"mounts": [{
|
528
|
+
"mount_point": dr_protection_group_members_block_volume_attach_and_mount_operations_mounts_mount_point,
|
529
|
+
}],
|
530
|
+
},
|
531
|
+
"block_volume_operations": [{
|
532
|
+
"attachment_details": {
|
533
|
+
"volume_attachment_reference_instance_id": test_instance["id"],
|
534
|
+
},
|
535
|
+
"block_volume_id": test_volume["id"],
|
536
|
+
"mount_details": {
|
537
|
+
"mount_point": dr_protection_group_members_block_volume_operations_mount_details_mount_point,
|
538
|
+
},
|
539
|
+
}],
|
540
|
+
"bucket": dr_protection_group_members_bucket,
|
541
|
+
"common_destination_key": {
|
542
|
+
"encryption_key_id": test_key["id"],
|
543
|
+
"vault_id": test_vault["id"],
|
544
|
+
},
|
545
|
+
"connection_string_type": dr_protection_group_members_connection_string_type,
|
546
|
+
"destination_availability_domain": dr_protection_group_members_destination_availability_domain,
|
547
|
+
"destination_backup_policy_id": test_policy["id"],
|
548
|
+
"destination_capacity_reservation_id": destination_capacity_reservation_id,
|
549
|
+
"destination_compartment_id": test_compartment["id"],
|
550
|
+
"destination_dedicated_vm_host_id": test_dedicated_vm_host["id"],
|
551
|
+
"destination_encryption_key": {
|
552
|
+
"encryption_key_id": test_key["id"],
|
553
|
+
"vault_id": test_vault["id"],
|
554
|
+
},
|
555
|
+
"destination_load_balancer_id": test_load_balancer["id"],
|
556
|
+
"destination_network_load_balancer_id": test_network_load_balancer["id"],
|
557
|
+
"destination_snapshot_policy_id": test_policy["id"],
|
558
|
+
"export_mappings": [{
|
559
|
+
"destination_mount_target_id": test_mount_target["id"],
|
560
|
+
"export_id": test_export["id"],
|
561
|
+
}],
|
562
|
+
"file_system_operations": [{
|
563
|
+
"export_path": dr_protection_group_members_file_system_operations_export_path,
|
564
|
+
"mount_details": {
|
565
|
+
"mount_target_id": test_mount_target["id"],
|
566
|
+
},
|
567
|
+
"mount_point": dr_protection_group_members_file_system_operations_mount_point,
|
568
|
+
"mount_target_id": test_mount_target["id"],
|
569
|
+
"unmount_details": {
|
570
|
+
"mount_target_id": test_mount_target["id"],
|
571
|
+
},
|
572
|
+
}],
|
573
|
+
"is_movable": dr_protection_group_members_is_movable,
|
574
|
+
"is_retain_fault_domain": dr_protection_group_members_is_retain_fault_domain,
|
575
|
+
"is_start_stop_enabled": dr_protection_group_members_is_start_stop_enabled,
|
576
|
+
"jump_host_id": test_jump_host["id"],
|
577
|
+
"load_balancer_mappings": [{
|
578
|
+
"destination_load_balancer_id": test_load_balancer["id"],
|
579
|
+
"source_load_balancer_id": test_load_balancer["id"],
|
580
|
+
}],
|
581
|
+
"managed_node_pool_configs": [{
|
582
|
+
"id": dr_protection_group_members_managed_node_pool_configs_id,
|
583
|
+
"maximum": dr_protection_group_members_managed_node_pool_configs_maximum,
|
584
|
+
"minimum": dr_protection_group_members_managed_node_pool_configs_minimum,
|
585
|
+
}],
|
586
|
+
"namespace": dr_protection_group_members_namespace,
|
587
|
+
"password_vault_secret_id": password_vault_secret_id,
|
588
|
+
"network_load_balancer_mappings": [{
|
589
|
+
"destination_network_load_balancer_id": test_network_load_balancer["id"],
|
590
|
+
"source_network_load_balancer_id": test_network_load_balancer["id"],
|
591
|
+
}],
|
592
|
+
"peer_cluster_id": test_cluster["id"],
|
593
|
+
"source_volume_to_destination_encryption_key_mappings": [{
|
594
|
+
"destination_encryption_key": {
|
595
|
+
"encryption_key_id": test_key["id"],
|
596
|
+
"vault_id": test_vault["id"],
|
597
|
+
},
|
598
|
+
"source_volume_id": test_volume["id"],
|
599
|
+
}],
|
600
|
+
"vault_mappings": [{
|
601
|
+
"destination_vault_id": test_vault["id"],
|
602
|
+
"source_vault_id": test_vault["id"],
|
603
|
+
}],
|
604
|
+
"virtual_node_pool_configs": [{
|
605
|
+
"id": dr_protection_group_members_virtual_node_pool_configs_id,
|
606
|
+
"maximum": dr_protection_group_members_virtual_node_pool_configs_maximum,
|
607
|
+
"minimum": dr_protection_group_members_virtual_node_pool_configs_minimum,
|
608
|
+
}],
|
609
|
+
"vnic_mappings": [
|
610
|
+
{
|
611
|
+
"destination_nsg_id_lists": dr_protection_group_members_vnic_mapping_destination_nsg_id_list,
|
612
|
+
"destination_primary_private_ip_address": dr_protection_group_members_vnic_mapping_destination_primary_private_ip_address,
|
613
|
+
"destination_primary_private_ip_hostname_label": dr_protection_group_members_vnic_mapping_destination_primary_private_ip_hostname_label,
|
614
|
+
"destination_subnet_id": test_subnet["id"],
|
615
|
+
"source_vnic_id": test_vnic["id"],
|
616
|
+
},
|
617
|
+
{
|
618
|
+
"destination_nsg_id_lists": dr_protection_group_members_vnic_mappings_destination_nsg_id_list,
|
619
|
+
"destination_primary_private_ip_address": dr_protection_group_members_vnic_mappings_destination_primary_private_ip_address,
|
620
|
+
"destination_primary_private_ip_hostname_label": dr_protection_group_members_vnic_mappings_destination_primary_private_ip_hostname_label,
|
621
|
+
"destination_reserved_public_ip_id": test_public_ip["id"],
|
622
|
+
"destination_subnet_id": test_subnet["id"],
|
623
|
+
"source_vnic_id": test_vnic["id"],
|
624
|
+
},
|
625
|
+
],
|
626
|
+
}])
|
627
|
+
```
|
628
|
+
|
473
629
|
## Create
|
474
630
|
|
475
631
|
Create DR Protection Group resource with a default value of `disassociate_trigger` property, e.g.
|
@@ -512,6 +668,162 @@ class DrProtectionGroup(pulumi.CustomResource):
|
|
512
668
|
|
513
669
|
Create a DR protection group.
|
514
670
|
|
671
|
+
## Example Usage
|
672
|
+
|
673
|
+
```python
|
674
|
+
import pulumi
|
675
|
+
import pulumi_oci as oci
|
676
|
+
|
677
|
+
config = pulumi.Config()
|
678
|
+
disassociate_trigger = config.get_float("disassociateTrigger")
|
679
|
+
if disassociate_trigger is None:
|
680
|
+
disassociate_trigger = 0
|
681
|
+
test_dr_protection_group = oci.disaster_recovery.DrProtectionGroup("test_dr_protection_group",
|
682
|
+
compartment_id=compartment_id,
|
683
|
+
display_name=dr_protection_group_display_name,
|
684
|
+
log_location={
|
685
|
+
"bucket": dr_protection_group_log_location_bucket,
|
686
|
+
"namespace": dr_protection_group_log_location_namespace,
|
687
|
+
},
|
688
|
+
association={
|
689
|
+
"role": dr_protection_group_association_role,
|
690
|
+
"peer_id": dr_protection_group_association_peer_id,
|
691
|
+
"peer_region": dr_protection_group_association_peer_region,
|
692
|
+
},
|
693
|
+
defined_tags={
|
694
|
+
"Operations.CostCenter": "42",
|
695
|
+
},
|
696
|
+
freeform_tags={
|
697
|
+
"Department": "Finance",
|
698
|
+
},
|
699
|
+
disassociate_trigger=disassociate_trigger,
|
700
|
+
members=[{
|
701
|
+
"member_id": dr_protection_group_members_member_id,
|
702
|
+
"member_type": dr_protection_group_members_member_type,
|
703
|
+
"autonomous_database_standby_type_for_dr_drills": dr_protection_group_members_autonomous_database_standby_type_for_dr_drills,
|
704
|
+
"backend_set_mappings": [{
|
705
|
+
"destination_backend_set_name": test_backend_set["name"],
|
706
|
+
"is_backend_set_for_non_movable": dr_protection_group_members_backend_set_mappings_is_backend_set_for_non_movable,
|
707
|
+
"source_backend_set_name": test_backend_set["name"],
|
708
|
+
}],
|
709
|
+
"backup_config": {
|
710
|
+
"backup_schedule": dr_protection_group_members_backup_config_backup_schedule,
|
711
|
+
"image_replication_vault_secret_id": test_secret["id"],
|
712
|
+
"max_number_of_backups_retained": dr_protection_group_members_backup_config_max_number_of_backups_retained,
|
713
|
+
"namespaces": dr_protection_group_members_backup_config_namespaces,
|
714
|
+
"replicate_images": dr_protection_group_members_backup_config_replicate_images,
|
715
|
+
},
|
716
|
+
"backup_location": {
|
717
|
+
"bucket": dr_protection_group_members_backup_location_bucket,
|
718
|
+
"namespace": dr_protection_group_members_backup_location_namespace,
|
719
|
+
},
|
720
|
+
"block_volume_attach_and_mount_operations": {
|
721
|
+
"attachments": [{
|
722
|
+
"block_volume_id": test_volume["id"],
|
723
|
+
"volume_attachment_reference_instance_id": test_instance["id"],
|
724
|
+
}],
|
725
|
+
"mounts": [{
|
726
|
+
"mount_point": dr_protection_group_members_block_volume_attach_and_mount_operations_mounts_mount_point,
|
727
|
+
}],
|
728
|
+
},
|
729
|
+
"block_volume_operations": [{
|
730
|
+
"attachment_details": {
|
731
|
+
"volume_attachment_reference_instance_id": test_instance["id"],
|
732
|
+
},
|
733
|
+
"block_volume_id": test_volume["id"],
|
734
|
+
"mount_details": {
|
735
|
+
"mount_point": dr_protection_group_members_block_volume_operations_mount_details_mount_point,
|
736
|
+
},
|
737
|
+
}],
|
738
|
+
"bucket": dr_protection_group_members_bucket,
|
739
|
+
"common_destination_key": {
|
740
|
+
"encryption_key_id": test_key["id"],
|
741
|
+
"vault_id": test_vault["id"],
|
742
|
+
},
|
743
|
+
"connection_string_type": dr_protection_group_members_connection_string_type,
|
744
|
+
"destination_availability_domain": dr_protection_group_members_destination_availability_domain,
|
745
|
+
"destination_backup_policy_id": test_policy["id"],
|
746
|
+
"destination_capacity_reservation_id": destination_capacity_reservation_id,
|
747
|
+
"destination_compartment_id": test_compartment["id"],
|
748
|
+
"destination_dedicated_vm_host_id": test_dedicated_vm_host["id"],
|
749
|
+
"destination_encryption_key": {
|
750
|
+
"encryption_key_id": test_key["id"],
|
751
|
+
"vault_id": test_vault["id"],
|
752
|
+
},
|
753
|
+
"destination_load_balancer_id": test_load_balancer["id"],
|
754
|
+
"destination_network_load_balancer_id": test_network_load_balancer["id"],
|
755
|
+
"destination_snapshot_policy_id": test_policy["id"],
|
756
|
+
"export_mappings": [{
|
757
|
+
"destination_mount_target_id": test_mount_target["id"],
|
758
|
+
"export_id": test_export["id"],
|
759
|
+
}],
|
760
|
+
"file_system_operations": [{
|
761
|
+
"export_path": dr_protection_group_members_file_system_operations_export_path,
|
762
|
+
"mount_details": {
|
763
|
+
"mount_target_id": test_mount_target["id"],
|
764
|
+
},
|
765
|
+
"mount_point": dr_protection_group_members_file_system_operations_mount_point,
|
766
|
+
"mount_target_id": test_mount_target["id"],
|
767
|
+
"unmount_details": {
|
768
|
+
"mount_target_id": test_mount_target["id"],
|
769
|
+
},
|
770
|
+
}],
|
771
|
+
"is_movable": dr_protection_group_members_is_movable,
|
772
|
+
"is_retain_fault_domain": dr_protection_group_members_is_retain_fault_domain,
|
773
|
+
"is_start_stop_enabled": dr_protection_group_members_is_start_stop_enabled,
|
774
|
+
"jump_host_id": test_jump_host["id"],
|
775
|
+
"load_balancer_mappings": [{
|
776
|
+
"destination_load_balancer_id": test_load_balancer["id"],
|
777
|
+
"source_load_balancer_id": test_load_balancer["id"],
|
778
|
+
}],
|
779
|
+
"managed_node_pool_configs": [{
|
780
|
+
"id": dr_protection_group_members_managed_node_pool_configs_id,
|
781
|
+
"maximum": dr_protection_group_members_managed_node_pool_configs_maximum,
|
782
|
+
"minimum": dr_protection_group_members_managed_node_pool_configs_minimum,
|
783
|
+
}],
|
784
|
+
"namespace": dr_protection_group_members_namespace,
|
785
|
+
"password_vault_secret_id": password_vault_secret_id,
|
786
|
+
"network_load_balancer_mappings": [{
|
787
|
+
"destination_network_load_balancer_id": test_network_load_balancer["id"],
|
788
|
+
"source_network_load_balancer_id": test_network_load_balancer["id"],
|
789
|
+
}],
|
790
|
+
"peer_cluster_id": test_cluster["id"],
|
791
|
+
"source_volume_to_destination_encryption_key_mappings": [{
|
792
|
+
"destination_encryption_key": {
|
793
|
+
"encryption_key_id": test_key["id"],
|
794
|
+
"vault_id": test_vault["id"],
|
795
|
+
},
|
796
|
+
"source_volume_id": test_volume["id"],
|
797
|
+
}],
|
798
|
+
"vault_mappings": [{
|
799
|
+
"destination_vault_id": test_vault["id"],
|
800
|
+
"source_vault_id": test_vault["id"],
|
801
|
+
}],
|
802
|
+
"virtual_node_pool_configs": [{
|
803
|
+
"id": dr_protection_group_members_virtual_node_pool_configs_id,
|
804
|
+
"maximum": dr_protection_group_members_virtual_node_pool_configs_maximum,
|
805
|
+
"minimum": dr_protection_group_members_virtual_node_pool_configs_minimum,
|
806
|
+
}],
|
807
|
+
"vnic_mappings": [
|
808
|
+
{
|
809
|
+
"destination_nsg_id_lists": dr_protection_group_members_vnic_mapping_destination_nsg_id_list,
|
810
|
+
"destination_primary_private_ip_address": dr_protection_group_members_vnic_mapping_destination_primary_private_ip_address,
|
811
|
+
"destination_primary_private_ip_hostname_label": dr_protection_group_members_vnic_mapping_destination_primary_private_ip_hostname_label,
|
812
|
+
"destination_subnet_id": test_subnet["id"],
|
813
|
+
"source_vnic_id": test_vnic["id"],
|
814
|
+
},
|
815
|
+
{
|
816
|
+
"destination_nsg_id_lists": dr_protection_group_members_vnic_mappings_destination_nsg_id_list,
|
817
|
+
"destination_primary_private_ip_address": dr_protection_group_members_vnic_mappings_destination_primary_private_ip_address,
|
818
|
+
"destination_primary_private_ip_hostname_label": dr_protection_group_members_vnic_mappings_destination_primary_private_ip_hostname_label,
|
819
|
+
"destination_reserved_public_ip_id": test_public_ip["id"],
|
820
|
+
"destination_subnet_id": test_subnet["id"],
|
821
|
+
"source_vnic_id": test_vnic["id"],
|
822
|
+
},
|
823
|
+
],
|
824
|
+
}])
|
825
|
+
```
|
826
|
+
|
515
827
|
## Create
|
516
828
|
|
517
829
|
Create DR Protection Group resource with a default value of `disassociate_trigger` property, e.g.
|