pulumi-azure 6.27.0a1758868424__py3-none-any.whl → 6.27.0a1759511969__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.
Potentially problematic release.
This version of pulumi-azure might be problematic. Click here for more details.
- pulumi_azure/__init__.py +32 -0
- pulumi_azure/apimanagement/backend.py +2 -2
- pulumi_azure/appservice/_inputs.py +78 -6
- pulumi_azure/appservice/app_flex_consumption.py +61 -0
- pulumi_azure/appservice/outputs.py +52 -4
- pulumi_azure/appservice/service_plan.py +14 -14
- pulumi_azure/billing/account_cost_management_export.py +2 -2
- pulumi_azure/cdn/_inputs.py +57 -95
- pulumi_azure/cdn/frontdoor_firewall_policy.py +34 -107
- pulumi_azure/cdn/frontdoor_profile.py +87 -2
- pulumi_azure/cdn/frontdoor_security_policy.py +7 -7
- pulumi_azure/cdn/get_frontdoor_firewall_policy.py +15 -1
- pulumi_azure/cdn/get_frontdoor_profile.py +25 -11
- pulumi_azure/cdn/outputs.py +79 -21
- pulumi_azure/cognitive/account.py +7 -7
- pulumi_azure/compute/__init__.py +1 -0
- pulumi_azure/compute/_inputs.py +79 -47
- pulumi_azure/compute/get_managed_disks.py +140 -0
- pulumi_azure/compute/linux_virtual_machine.py +97 -23
- pulumi_azure/compute/outputs.py +362 -34
- pulumi_azure/compute/windows_virtual_machine.py +172 -42
- pulumi_azure/containerservice/_inputs.py +209 -17
- pulumi_azure/containerservice/cluster_trusted_access_role_binding.py +2 -2
- pulumi_azure/containerservice/get_cluster_node_pool.py +14 -3
- pulumi_azure/containerservice/get_kubernetes_cluster.py +2 -2
- pulumi_azure/containerservice/get_kubernetes_node_pool_snapshot.py +2 -2
- pulumi_azure/containerservice/kubernetes_cluster.py +49 -2
- pulumi_azure/containerservice/kubernetes_cluster_node_pool.py +49 -2
- pulumi_azure/containerservice/outputs.py +173 -11
- pulumi_azure/core/_inputs.py +0 -54
- pulumi_azure/core/outputs.py +0 -36
- pulumi_azure/core/resource_group_cost_management_export.py +2 -2
- pulumi_azure/core/resource_group_policy_assignment.py +7 -7
- pulumi_azure/core/resource_policy_assignment.py +7 -7
- pulumi_azure/core/subscription_cost_management_export.py +2 -2
- pulumi_azure/core/subscription_policy_assignment.py +7 -7
- pulumi_azure/datafactory/__init__.py +1 -0
- pulumi_azure/datafactory/customer_managed_key.py +439 -0
- pulumi_azure/datafactory/factory.py +2 -2
- pulumi_azure/dataprotection/_inputs.py +36 -6
- pulumi_azure/dataprotection/backup_policy_blob_storage.py +76 -2
- pulumi_azure/dataprotection/outputs.py +24 -4
- pulumi_azure/devcenter/get_project_pool.py +15 -1
- pulumi_azure/devcenter/project_pool.py +47 -0
- pulumi_azure/eventgrid/domain.py +2 -2
- pulumi_azure/eventgrid/domain_topic.py +2 -2
- pulumi_azure/eventgrid/event_subscription.py +2 -2
- pulumi_azure/eventgrid/get_domain.py +2 -2
- pulumi_azure/eventgrid/get_domain_topic.py +2 -2
- pulumi_azure/eventgrid/get_partner_namespace.py +2 -2
- pulumi_azure/eventgrid/get_partner_registration.py +2 -2
- pulumi_azure/eventgrid/get_system_topic.py +28 -6
- pulumi_azure/eventgrid/get_topic.py +2 -2
- pulumi_azure/eventgrid/partner_configuration.py +2 -2
- pulumi_azure/eventgrid/partner_namespace.py +2 -2
- pulumi_azure/eventgrid/partner_registration.py +2 -2
- pulumi_azure/eventgrid/system_topic.py +97 -35
- pulumi_azure/eventgrid/system_topic_event_subscription.py +4 -4
- pulumi_azure/eventgrid/topic.py +2 -2
- pulumi_azure/eventhub/domain.py +2 -2
- pulumi_azure/eventhub/event_grid_topic.py +2 -2
- pulumi_azure/eventhub/event_subscription.py +2 -2
- pulumi_azure/hpc/cache_blob_target.py +2 -2
- pulumi_azure/iot/_inputs.py +27 -1
- pulumi_azure/iot/endpoint_cosmosdb_account.py +64 -3
- pulumi_azure/iot/endpoint_eventhub.py +64 -3
- pulumi_azure/iot/endpoint_servicebus_queue.py +64 -3
- pulumi_azure/iot/endpoint_servicebus_topic.py +64 -3
- pulumi_azure/iot/endpoint_storage_container.py +64 -3
- pulumi_azure/iot/outputs.py +19 -1
- pulumi_azure/keyvault/_inputs.py +3 -17
- pulumi_azure/keyvault/get_key_vault.py +13 -1
- pulumi_azure/keyvault/key_vault.py +78 -35
- pulumi_azure/keyvault/outputs.py +2 -10
- pulumi_azure/kusto/_inputs.py +16 -6
- pulumi_azure/kusto/cluster.py +95 -66
- pulumi_azure/kusto/outputs.py +10 -4
- pulumi_azure/lb/get_lb_outbound_rule.py +12 -1
- pulumi_azure/lb/get_lb_rule.py +28 -4
- pulumi_azure/lb/load_balancer.py +94 -0
- pulumi_azure/lb/nat_rule.py +115 -29
- pulumi_azure/lb/outbound_rule.py +60 -17
- pulumi_azure/lb/rule.py +116 -30
- pulumi_azure/loadtest/_inputs.py +6 -3
- pulumi_azure/loadtest/load_test.py +0 -4
- pulumi_azure/loadtest/outputs.py +4 -2
- pulumi_azure/logicapps/_inputs.py +46 -987
- pulumi_azure/logicapps/get_standard.py +0 -7
- pulumi_azure/logicapps/outputs.py +117 -101
- pulumi_azure/logicapps/standard.py +7 -7
- pulumi_azure/machinelearning/_inputs.py +24 -4
- pulumi_azure/machinelearning/compute_instance.py +35 -7
- pulumi_azure/machinelearning/datastore_blobstorage.py +2 -2
- pulumi_azure/machinelearning/datastore_datalake_gen2.py +2 -2
- pulumi_azure/machinelearning/inference_cluster.py +2 -2
- pulumi_azure/machinelearning/outputs.py +17 -3
- pulumi_azure/machinelearning/workspace.py +61 -0
- pulumi_azure/management/_inputs.py +0 -18
- pulumi_azure/management/group_policy_assignment.py +7 -7
- pulumi_azure/management/outputs.py +0 -12
- pulumi_azure/management/private_link_association.py +0 -70
- pulumi_azure/mobile/_inputs.py +14 -6
- pulumi_azure/mobile/network_sim.py +2 -6
- pulumi_azure/mobile/network_sim_policy.py +2 -6
- pulumi_azure/mobile/network_slice.py +116 -31
- pulumi_azure/mobile/outputs.py +6 -4
- pulumi_azure/monitoring/_inputs.py +15 -9
- pulumi_azure/monitoring/activity_log_alert.py +7 -7
- pulumi_azure/monitoring/outputs.py +10 -6
- pulumi_azure/mssql/job_step.py +11 -11
- pulumi_azure/mysql/_inputs.py +20 -0
- pulumi_azure/mysql/outputs.py +14 -0
- pulumi_azure/netapp/_inputs.py +18 -6
- pulumi_azure/netapp/account.py +2 -2
- pulumi_azure/netapp/account_encryption.py +132 -4
- pulumi_azure/netapp/backup_policy.py +2 -2
- pulumi_azure/netapp/backup_vault.py +2 -2
- pulumi_azure/netapp/get_account.py +2 -2
- pulumi_azure/netapp/get_account_encryption.py +25 -3
- pulumi_azure/netapp/get_backup_policy.py +2 -2
- pulumi_azure/netapp/get_backup_vault.py +2 -2
- pulumi_azure/netapp/get_pool.py +17 -3
- pulumi_azure/netapp/get_snapshot.py +2 -2
- pulumi_azure/netapp/get_snapshot_policy.py +2 -2
- pulumi_azure/netapp/get_volume.py +17 -3
- pulumi_azure/netapp/get_volume_group_oracle.py +2 -2
- pulumi_azure/netapp/get_volume_group_sap_hana.py +2 -2
- pulumi_azure/netapp/get_volume_quota_rule.py +2 -2
- pulumi_azure/netapp/outputs.py +12 -4
- pulumi_azure/netapp/pool.py +104 -9
- pulumi_azure/netapp/snapshot.py +2 -2
- pulumi_azure/netapp/snapshot_policy.py +2 -2
- pulumi_azure/netapp/volume.py +82 -7
- pulumi_azure/netapp/volume_group_oracle.py +2 -2
- pulumi_azure/netapp/volume_group_sap_hana.py +2 -2
- pulumi_azure/netapp/volume_quota_rule.py +2 -2
- pulumi_azure/network/__init__.py +2 -0
- pulumi_azure/network/network_manager_ipam_pool_static_cidr.py +415 -0
- pulumi_azure/network/network_manager_routing_configuration.py +7 -7
- pulumi_azure/network/network_manager_routing_rule_collection.py +429 -0
- pulumi_azure/network/subnet.py +76 -1
- pulumi_azure/oracle/__init__.py +3 -0
- pulumi_azure/oracle/autonomous_database_backup.py +310 -0
- pulumi_azure/oracle/get_autonomous_database_backup.py +347 -0
- pulumi_azure/oracle/get_autonomous_database_backups.py +138 -0
- pulumi_azure/oracle/outputs.py +191 -0
- pulumi_azure/paloalto/next_generation_firewall_virtual_hub_local_rulestack.py +2 -2
- pulumi_azure/paloalto/next_generation_firewall_virtual_hub_panorama.py +2 -2
- pulumi_azure/paloalto/next_generation_firewall_virtual_network_local_rulestack.py +2 -2
- pulumi_azure/paloalto/next_generation_firewall_virtual_network_panorama.py +2 -2
- pulumi_azure/policy/_inputs.py +6 -0
- pulumi_azure/policy/outputs.py +4 -0
- pulumi_azure/postgresql/flexible_server.py +7 -7
- pulumi_azure/postgresql/flexible_server_firewall_rule.py +14 -14
- pulumi_azure/pulumi-plugin.json +1 -1
- pulumi_azure/search/service.py +7 -7
- pulumi_azure/sentinel/_inputs.py +144 -0
- pulumi_azure/sentinel/authomation_rule.py +47 -0
- pulumi_azure/sentinel/automation_rule.py +47 -0
- pulumi_azure/sentinel/outputs.py +84 -0
- pulumi_azure/storage/_inputs.py +3 -3
- pulumi_azure/storage/container_immutability_policy.py +2 -2
- pulumi_azure/storage/get_queue.py +59 -8
- pulumi_azure/storage/outputs.py +2 -2
- pulumi_azure/storage/queue.py +159 -27
- {pulumi_azure-6.27.0a1758868424.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/METADATA +1 -1
- {pulumi_azure-6.27.0a1758868424.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/RECORD +169 -162
- {pulumi_azure-6.27.0a1758868424.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/WHEEL +0 -0
- {pulumi_azure-6.27.0a1758868424.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from .. import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = ['AutonomousDatabaseBackupArgs', 'AutonomousDatabaseBackup']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class AutonomousDatabaseBackupArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
autonomous_database_id: pulumi.Input[_builtins.str],
|
|
23
|
+
retention_period_in_days: pulumi.Input[_builtins.int],
|
|
24
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
26
|
+
"""
|
|
27
|
+
The set of arguments for constructing a AutonomousDatabaseBackup resource.
|
|
28
|
+
:param pulumi.Input[_builtins.str] autonomous_database_id: The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
|
|
29
|
+
:param pulumi.Input[_builtins.int] retention_period_in_days: (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
|
|
30
|
+
:param pulumi.Input[_builtins.str] name: The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
|
|
31
|
+
:param pulumi.Input[_builtins.str] type: The type of backup to create.Currently, only `LongTerm` backup operations are supported through the Oracle database At azure service.
|
|
32
|
+
"""
|
|
33
|
+
pulumi.set(__self__, "autonomous_database_id", autonomous_database_id)
|
|
34
|
+
pulumi.set(__self__, "retention_period_in_days", retention_period_in_days)
|
|
35
|
+
if name is not None:
|
|
36
|
+
pulumi.set(__self__, "name", name)
|
|
37
|
+
if type is not None:
|
|
38
|
+
pulumi.set(__self__, "type", type)
|
|
39
|
+
|
|
40
|
+
@_builtins.property
|
|
41
|
+
@pulumi.getter(name="autonomousDatabaseId")
|
|
42
|
+
def autonomous_database_id(self) -> pulumi.Input[_builtins.str]:
|
|
43
|
+
"""
|
|
44
|
+
The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
|
|
45
|
+
"""
|
|
46
|
+
return pulumi.get(self, "autonomous_database_id")
|
|
47
|
+
|
|
48
|
+
@autonomous_database_id.setter
|
|
49
|
+
def autonomous_database_id(self, value: pulumi.Input[_builtins.str]):
|
|
50
|
+
pulumi.set(self, "autonomous_database_id", value)
|
|
51
|
+
|
|
52
|
+
@_builtins.property
|
|
53
|
+
@pulumi.getter(name="retentionPeriodInDays")
|
|
54
|
+
def retention_period_in_days(self) -> pulumi.Input[_builtins.int]:
|
|
55
|
+
"""
|
|
56
|
+
(Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
|
|
57
|
+
"""
|
|
58
|
+
return pulumi.get(self, "retention_period_in_days")
|
|
59
|
+
|
|
60
|
+
@retention_period_in_days.setter
|
|
61
|
+
def retention_period_in_days(self, value: pulumi.Input[_builtins.int]):
|
|
62
|
+
pulumi.set(self, "retention_period_in_days", value)
|
|
63
|
+
|
|
64
|
+
@_builtins.property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
67
|
+
"""
|
|
68
|
+
The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "name")
|
|
71
|
+
|
|
72
|
+
@name.setter
|
|
73
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
74
|
+
pulumi.set(self, "name", value)
|
|
75
|
+
|
|
76
|
+
@_builtins.property
|
|
77
|
+
@pulumi.getter
|
|
78
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
79
|
+
"""
|
|
80
|
+
The type of backup to create.Currently, only `LongTerm` backup operations are supported through the Oracle database At azure service.
|
|
81
|
+
"""
|
|
82
|
+
return pulumi.get(self, "type")
|
|
83
|
+
|
|
84
|
+
@type.setter
|
|
85
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
86
|
+
pulumi.set(self, "type", value)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
@pulumi.input_type
|
|
90
|
+
class _AutonomousDatabaseBackupState:
|
|
91
|
+
def __init__(__self__, *,
|
|
92
|
+
autonomous_database_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
93
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
94
|
+
retention_period_in_days: Optional[pulumi.Input[_builtins.int]] = None,
|
|
95
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
96
|
+
"""
|
|
97
|
+
Input properties used for looking up and filtering AutonomousDatabaseBackup resources.
|
|
98
|
+
:param pulumi.Input[_builtins.str] autonomous_database_id: The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
|
|
99
|
+
:param pulumi.Input[_builtins.str] name: The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
|
|
100
|
+
:param pulumi.Input[_builtins.int] retention_period_in_days: (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
|
|
101
|
+
:param pulumi.Input[_builtins.str] type: The type of backup to create.Currently, only `LongTerm` backup operations are supported through the Oracle database At azure service.
|
|
102
|
+
"""
|
|
103
|
+
if autonomous_database_id is not None:
|
|
104
|
+
pulumi.set(__self__, "autonomous_database_id", autonomous_database_id)
|
|
105
|
+
if name is not None:
|
|
106
|
+
pulumi.set(__self__, "name", name)
|
|
107
|
+
if retention_period_in_days is not None:
|
|
108
|
+
pulumi.set(__self__, "retention_period_in_days", retention_period_in_days)
|
|
109
|
+
if type is not None:
|
|
110
|
+
pulumi.set(__self__, "type", type)
|
|
111
|
+
|
|
112
|
+
@_builtins.property
|
|
113
|
+
@pulumi.getter(name="autonomousDatabaseId")
|
|
114
|
+
def autonomous_database_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
115
|
+
"""
|
|
116
|
+
The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
|
|
117
|
+
"""
|
|
118
|
+
return pulumi.get(self, "autonomous_database_id")
|
|
119
|
+
|
|
120
|
+
@autonomous_database_id.setter
|
|
121
|
+
def autonomous_database_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
122
|
+
pulumi.set(self, "autonomous_database_id", value)
|
|
123
|
+
|
|
124
|
+
@_builtins.property
|
|
125
|
+
@pulumi.getter
|
|
126
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
127
|
+
"""
|
|
128
|
+
The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
|
|
129
|
+
"""
|
|
130
|
+
return pulumi.get(self, "name")
|
|
131
|
+
|
|
132
|
+
@name.setter
|
|
133
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
134
|
+
pulumi.set(self, "name", value)
|
|
135
|
+
|
|
136
|
+
@_builtins.property
|
|
137
|
+
@pulumi.getter(name="retentionPeriodInDays")
|
|
138
|
+
def retention_period_in_days(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
139
|
+
"""
|
|
140
|
+
(Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
|
|
141
|
+
"""
|
|
142
|
+
return pulumi.get(self, "retention_period_in_days")
|
|
143
|
+
|
|
144
|
+
@retention_period_in_days.setter
|
|
145
|
+
def retention_period_in_days(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
146
|
+
pulumi.set(self, "retention_period_in_days", value)
|
|
147
|
+
|
|
148
|
+
@_builtins.property
|
|
149
|
+
@pulumi.getter
|
|
150
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
151
|
+
"""
|
|
152
|
+
The type of backup to create.Currently, only `LongTerm` backup operations are supported through the Oracle database At azure service.
|
|
153
|
+
"""
|
|
154
|
+
return pulumi.get(self, "type")
|
|
155
|
+
|
|
156
|
+
@type.setter
|
|
157
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
158
|
+
pulumi.set(self, "type", value)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
@pulumi.type_token("azure:oracle/autonomousDatabaseBackup:AutonomousDatabaseBackup")
|
|
162
|
+
class AutonomousDatabaseBackup(pulumi.CustomResource):
|
|
163
|
+
@overload
|
|
164
|
+
def __init__(__self__,
|
|
165
|
+
resource_name: str,
|
|
166
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
167
|
+
autonomous_database_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
168
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
169
|
+
retention_period_in_days: Optional[pulumi.Input[_builtins.int]] = None,
|
|
170
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
171
|
+
__props__=None):
|
|
172
|
+
"""
|
|
173
|
+
Manages an Oracle Autonomous Database Backup in Azure.
|
|
174
|
+
|
|
175
|
+
## Import
|
|
176
|
+
|
|
177
|
+
Autonomous Database Backups can be imported using the `id`, e.g.
|
|
178
|
+
|
|
179
|
+
```sh
|
|
180
|
+
$ pulumi import azure:oracle/autonomousDatabaseBackup:AutonomousDatabaseBackup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup/providers/Oracle.Database/autonomousDatabases/autonomousDatabase1/autonomousDatabaseBackups/autonomousDatabaseBackup1
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
:param str resource_name: The name of the resource.
|
|
184
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
185
|
+
:param pulumi.Input[_builtins.str] autonomous_database_id: The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
|
|
186
|
+
:param pulumi.Input[_builtins.str] name: The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
|
|
187
|
+
:param pulumi.Input[_builtins.int] retention_period_in_days: (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
|
|
188
|
+
:param pulumi.Input[_builtins.str] type: The type of backup to create.Currently, only `LongTerm` backup operations are supported through the Oracle database At azure service.
|
|
189
|
+
"""
|
|
190
|
+
...
|
|
191
|
+
@overload
|
|
192
|
+
def __init__(__self__,
|
|
193
|
+
resource_name: str,
|
|
194
|
+
args: AutonomousDatabaseBackupArgs,
|
|
195
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
196
|
+
"""
|
|
197
|
+
Manages an Oracle Autonomous Database Backup in Azure.
|
|
198
|
+
|
|
199
|
+
## Import
|
|
200
|
+
|
|
201
|
+
Autonomous Database Backups can be imported using the `id`, e.g.
|
|
202
|
+
|
|
203
|
+
```sh
|
|
204
|
+
$ pulumi import azure:oracle/autonomousDatabaseBackup:AutonomousDatabaseBackup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup/providers/Oracle.Database/autonomousDatabases/autonomousDatabase1/autonomousDatabaseBackups/autonomousDatabaseBackup1
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
:param str resource_name: The name of the resource.
|
|
208
|
+
:param AutonomousDatabaseBackupArgs args: The arguments to use to populate this resource's properties.
|
|
209
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
210
|
+
"""
|
|
211
|
+
...
|
|
212
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
213
|
+
resource_args, opts = _utilities.get_resource_args_opts(AutonomousDatabaseBackupArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
214
|
+
if resource_args is not None:
|
|
215
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
216
|
+
else:
|
|
217
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
218
|
+
|
|
219
|
+
def _internal_init(__self__,
|
|
220
|
+
resource_name: str,
|
|
221
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
222
|
+
autonomous_database_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
223
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
224
|
+
retention_period_in_days: Optional[pulumi.Input[_builtins.int]] = None,
|
|
225
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
226
|
+
__props__=None):
|
|
227
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
228
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
229
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
230
|
+
if opts.id is None:
|
|
231
|
+
if __props__ is not None:
|
|
232
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
233
|
+
__props__ = AutonomousDatabaseBackupArgs.__new__(AutonomousDatabaseBackupArgs)
|
|
234
|
+
|
|
235
|
+
if autonomous_database_id is None and not opts.urn:
|
|
236
|
+
raise TypeError("Missing required property 'autonomous_database_id'")
|
|
237
|
+
__props__.__dict__["autonomous_database_id"] = autonomous_database_id
|
|
238
|
+
__props__.__dict__["name"] = name
|
|
239
|
+
if retention_period_in_days is None and not opts.urn:
|
|
240
|
+
raise TypeError("Missing required property 'retention_period_in_days'")
|
|
241
|
+
__props__.__dict__["retention_period_in_days"] = retention_period_in_days
|
|
242
|
+
__props__.__dict__["type"] = type
|
|
243
|
+
super(AutonomousDatabaseBackup, __self__).__init__(
|
|
244
|
+
'azure:oracle/autonomousDatabaseBackup:AutonomousDatabaseBackup',
|
|
245
|
+
resource_name,
|
|
246
|
+
__props__,
|
|
247
|
+
opts)
|
|
248
|
+
|
|
249
|
+
@staticmethod
|
|
250
|
+
def get(resource_name: str,
|
|
251
|
+
id: pulumi.Input[str],
|
|
252
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
253
|
+
autonomous_database_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
254
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
255
|
+
retention_period_in_days: Optional[pulumi.Input[_builtins.int]] = None,
|
|
256
|
+
type: Optional[pulumi.Input[_builtins.str]] = None) -> 'AutonomousDatabaseBackup':
|
|
257
|
+
"""
|
|
258
|
+
Get an existing AutonomousDatabaseBackup resource's state with the given name, id, and optional extra
|
|
259
|
+
properties used to qualify the lookup.
|
|
260
|
+
|
|
261
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
262
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
263
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
264
|
+
:param pulumi.Input[_builtins.str] autonomous_database_id: The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
|
|
265
|
+
:param pulumi.Input[_builtins.str] name: The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
|
|
266
|
+
:param pulumi.Input[_builtins.int] retention_period_in_days: (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
|
|
267
|
+
:param pulumi.Input[_builtins.str] type: The type of backup to create.Currently, only `LongTerm` backup operations are supported through the Oracle database At azure service.
|
|
268
|
+
"""
|
|
269
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
270
|
+
|
|
271
|
+
__props__ = _AutonomousDatabaseBackupState.__new__(_AutonomousDatabaseBackupState)
|
|
272
|
+
|
|
273
|
+
__props__.__dict__["autonomous_database_id"] = autonomous_database_id
|
|
274
|
+
__props__.__dict__["name"] = name
|
|
275
|
+
__props__.__dict__["retention_period_in_days"] = retention_period_in_days
|
|
276
|
+
__props__.__dict__["type"] = type
|
|
277
|
+
return AutonomousDatabaseBackup(resource_name, opts=opts, __props__=__props__)
|
|
278
|
+
|
|
279
|
+
@_builtins.property
|
|
280
|
+
@pulumi.getter(name="autonomousDatabaseId")
|
|
281
|
+
def autonomous_database_id(self) -> pulumi.Output[_builtins.str]:
|
|
282
|
+
"""
|
|
283
|
+
The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created.
|
|
284
|
+
"""
|
|
285
|
+
return pulumi.get(self, "autonomous_database_id")
|
|
286
|
+
|
|
287
|
+
@_builtins.property
|
|
288
|
+
@pulumi.getter
|
|
289
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
290
|
+
"""
|
|
291
|
+
The display name of the Autonomous Database Backup. Changing this forces a new resource to be created.
|
|
292
|
+
"""
|
|
293
|
+
return pulumi.get(self, "name")
|
|
294
|
+
|
|
295
|
+
@_builtins.property
|
|
296
|
+
@pulumi.getter(name="retentionPeriodInDays")
|
|
297
|
+
def retention_period_in_days(self) -> pulumi.Output[_builtins.int]:
|
|
298
|
+
"""
|
|
299
|
+
(Updatable) The number of days to retain the backup. Must be between 90 and 3650 days.
|
|
300
|
+
"""
|
|
301
|
+
return pulumi.get(self, "retention_period_in_days")
|
|
302
|
+
|
|
303
|
+
@_builtins.property
|
|
304
|
+
@pulumi.getter
|
|
305
|
+
def type(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
306
|
+
"""
|
|
307
|
+
The type of backup to create.Currently, only `LongTerm` backup operations are supported through the Oracle database At azure service.
|
|
308
|
+
"""
|
|
309
|
+
return pulumi.get(self, "type")
|
|
310
|
+
|
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from .. import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
'GetAutonomousDatabaseBackupResult',
|
|
19
|
+
'AwaitableGetAutonomousDatabaseBackupResult',
|
|
20
|
+
'get_autonomous_database_backup',
|
|
21
|
+
'get_autonomous_database_backup_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetAutonomousDatabaseBackupResult:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getAutonomousDatabaseBackup.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, automatic=None, autonomous_database_backup_ocid=None, autonomous_database_id=None, autonomous_database_ocid=None, database_backup_size_in_tbs=None, database_version=None, display_name=None, id=None, lifecycle_details=None, lifecycle_state=None, location=None, name=None, provisioning_state=None, restorable=None, retention_period_in_days=None, time_available_til=None, time_ended=None, time_started=None, type=None):
|
|
30
|
+
if automatic and not isinstance(automatic, bool):
|
|
31
|
+
raise TypeError("Expected argument 'automatic' to be a bool")
|
|
32
|
+
pulumi.set(__self__, "automatic", automatic)
|
|
33
|
+
if autonomous_database_backup_ocid and not isinstance(autonomous_database_backup_ocid, str):
|
|
34
|
+
raise TypeError("Expected argument 'autonomous_database_backup_ocid' to be a str")
|
|
35
|
+
pulumi.set(__self__, "autonomous_database_backup_ocid", autonomous_database_backup_ocid)
|
|
36
|
+
if autonomous_database_id and not isinstance(autonomous_database_id, str):
|
|
37
|
+
raise TypeError("Expected argument 'autonomous_database_id' to be a str")
|
|
38
|
+
pulumi.set(__self__, "autonomous_database_id", autonomous_database_id)
|
|
39
|
+
if autonomous_database_ocid and not isinstance(autonomous_database_ocid, str):
|
|
40
|
+
raise TypeError("Expected argument 'autonomous_database_ocid' to be a str")
|
|
41
|
+
pulumi.set(__self__, "autonomous_database_ocid", autonomous_database_ocid)
|
|
42
|
+
if database_backup_size_in_tbs and not isinstance(database_backup_size_in_tbs, float):
|
|
43
|
+
raise TypeError("Expected argument 'database_backup_size_in_tbs' to be a float")
|
|
44
|
+
pulumi.set(__self__, "database_backup_size_in_tbs", database_backup_size_in_tbs)
|
|
45
|
+
if database_version and not isinstance(database_version, str):
|
|
46
|
+
raise TypeError("Expected argument 'database_version' to be a str")
|
|
47
|
+
pulumi.set(__self__, "database_version", database_version)
|
|
48
|
+
if display_name and not isinstance(display_name, str):
|
|
49
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
|
50
|
+
pulumi.set(__self__, "display_name", display_name)
|
|
51
|
+
if id and not isinstance(id, str):
|
|
52
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
53
|
+
pulumi.set(__self__, "id", id)
|
|
54
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
|
55
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
|
56
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
|
57
|
+
if lifecycle_state and not isinstance(lifecycle_state, str):
|
|
58
|
+
raise TypeError("Expected argument 'lifecycle_state' to be a str")
|
|
59
|
+
pulumi.set(__self__, "lifecycle_state", lifecycle_state)
|
|
60
|
+
if location and not isinstance(location, str):
|
|
61
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
62
|
+
pulumi.set(__self__, "location", location)
|
|
63
|
+
if name and not isinstance(name, str):
|
|
64
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
65
|
+
pulumi.set(__self__, "name", name)
|
|
66
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
67
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
68
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
69
|
+
if restorable and not isinstance(restorable, bool):
|
|
70
|
+
raise TypeError("Expected argument 'restorable' to be a bool")
|
|
71
|
+
pulumi.set(__self__, "restorable", restorable)
|
|
72
|
+
if retention_period_in_days and not isinstance(retention_period_in_days, int):
|
|
73
|
+
raise TypeError("Expected argument 'retention_period_in_days' to be a int")
|
|
74
|
+
pulumi.set(__self__, "retention_period_in_days", retention_period_in_days)
|
|
75
|
+
if time_available_til and not isinstance(time_available_til, str):
|
|
76
|
+
raise TypeError("Expected argument 'time_available_til' to be a str")
|
|
77
|
+
pulumi.set(__self__, "time_available_til", time_available_til)
|
|
78
|
+
if time_ended and not isinstance(time_ended, str):
|
|
79
|
+
raise TypeError("Expected argument 'time_ended' to be a str")
|
|
80
|
+
pulumi.set(__self__, "time_ended", time_ended)
|
|
81
|
+
if time_started and not isinstance(time_started, str):
|
|
82
|
+
raise TypeError("Expected argument 'time_started' to be a str")
|
|
83
|
+
pulumi.set(__self__, "time_started", time_started)
|
|
84
|
+
if type and not isinstance(type, str):
|
|
85
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
86
|
+
pulumi.set(__self__, "type", type)
|
|
87
|
+
|
|
88
|
+
@_builtins.property
|
|
89
|
+
@pulumi.getter
|
|
90
|
+
def automatic(self) -> _builtins.bool:
|
|
91
|
+
return pulumi.get(self, "automatic")
|
|
92
|
+
|
|
93
|
+
@_builtins.property
|
|
94
|
+
@pulumi.getter(name="autonomousDatabaseBackupOcid")
|
|
95
|
+
def autonomous_database_backup_ocid(self) -> _builtins.str:
|
|
96
|
+
"""
|
|
97
|
+
The backup OCID.
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "autonomous_database_backup_ocid")
|
|
100
|
+
|
|
101
|
+
@_builtins.property
|
|
102
|
+
@pulumi.getter(name="autonomousDatabaseId")
|
|
103
|
+
def autonomous_database_id(self) -> _builtins.str:
|
|
104
|
+
return pulumi.get(self, "autonomous_database_id")
|
|
105
|
+
|
|
106
|
+
@_builtins.property
|
|
107
|
+
@pulumi.getter(name="autonomousDatabaseOcid")
|
|
108
|
+
def autonomous_database_ocid(self) -> _builtins.str:
|
|
109
|
+
"""
|
|
110
|
+
The OCID of the Autonomous Database OCID.
|
|
111
|
+
"""
|
|
112
|
+
return pulumi.get(self, "autonomous_database_ocid")
|
|
113
|
+
|
|
114
|
+
@_builtins.property
|
|
115
|
+
@pulumi.getter(name="databaseBackupSizeInTbs")
|
|
116
|
+
def database_backup_size_in_tbs(self) -> _builtins.float:
|
|
117
|
+
return pulumi.get(self, "database_backup_size_in_tbs")
|
|
118
|
+
|
|
119
|
+
@_builtins.property
|
|
120
|
+
@pulumi.getter(name="databaseVersion")
|
|
121
|
+
def database_version(self) -> _builtins.str:
|
|
122
|
+
return pulumi.get(self, "database_version")
|
|
123
|
+
|
|
124
|
+
@_builtins.property
|
|
125
|
+
@pulumi.getter(name="displayName")
|
|
126
|
+
def display_name(self) -> _builtins.str:
|
|
127
|
+
"""
|
|
128
|
+
The user-friendly name of the backup.
|
|
129
|
+
"""
|
|
130
|
+
return pulumi.get(self, "display_name")
|
|
131
|
+
|
|
132
|
+
@_builtins.property
|
|
133
|
+
@pulumi.getter
|
|
134
|
+
def id(self) -> _builtins.str:
|
|
135
|
+
"""
|
|
136
|
+
The ID of the Autonomous Database Backup.
|
|
137
|
+
"""
|
|
138
|
+
return pulumi.get(self, "id")
|
|
139
|
+
|
|
140
|
+
@_builtins.property
|
|
141
|
+
@pulumi.getter(name="lifecycleDetails")
|
|
142
|
+
def lifecycle_details(self) -> _builtins.str:
|
|
143
|
+
"""
|
|
144
|
+
Information about the current lifecycle state of the backup.
|
|
145
|
+
"""
|
|
146
|
+
return pulumi.get(self, "lifecycle_details")
|
|
147
|
+
|
|
148
|
+
@_builtins.property
|
|
149
|
+
@pulumi.getter(name="lifecycleState")
|
|
150
|
+
def lifecycle_state(self) -> _builtins.str:
|
|
151
|
+
"""
|
|
152
|
+
The current state of the backup.
|
|
153
|
+
"""
|
|
154
|
+
return pulumi.get(self, "lifecycle_state")
|
|
155
|
+
|
|
156
|
+
@_builtins.property
|
|
157
|
+
@pulumi.getter
|
|
158
|
+
def location(self) -> _builtins.str:
|
|
159
|
+
"""
|
|
160
|
+
`- The Azure Region where the Autonomous Database Backup exists.
|
|
161
|
+
"""
|
|
162
|
+
return pulumi.get(self, "location")
|
|
163
|
+
|
|
164
|
+
@_builtins.property
|
|
165
|
+
@pulumi.getter
|
|
166
|
+
def name(self) -> _builtins.str:
|
|
167
|
+
return pulumi.get(self, "name")
|
|
168
|
+
|
|
169
|
+
@_builtins.property
|
|
170
|
+
@pulumi.getter(name="provisioningState")
|
|
171
|
+
def provisioning_state(self) -> _builtins.str:
|
|
172
|
+
"""
|
|
173
|
+
The current provisioning state of the Autonomous Database Backup.
|
|
174
|
+
"""
|
|
175
|
+
return pulumi.get(self, "provisioning_state")
|
|
176
|
+
|
|
177
|
+
@_builtins.property
|
|
178
|
+
@pulumi.getter
|
|
179
|
+
def restorable(self) -> _builtins.bool:
|
|
180
|
+
return pulumi.get(self, "restorable")
|
|
181
|
+
|
|
182
|
+
@_builtins.property
|
|
183
|
+
@pulumi.getter(name="retentionPeriodInDays")
|
|
184
|
+
def retention_period_in_days(self) -> _builtins.int:
|
|
185
|
+
"""
|
|
186
|
+
The retention period in days for the Autonomous Database Backup.
|
|
187
|
+
"""
|
|
188
|
+
return pulumi.get(self, "retention_period_in_days")
|
|
189
|
+
|
|
190
|
+
@_builtins.property
|
|
191
|
+
@pulumi.getter(name="timeAvailableTil")
|
|
192
|
+
def time_available_til(self) -> _builtins.str:
|
|
193
|
+
"""
|
|
194
|
+
The date and time the backup will become unusable.
|
|
195
|
+
"""
|
|
196
|
+
return pulumi.get(self, "time_available_til")
|
|
197
|
+
|
|
198
|
+
@_builtins.property
|
|
199
|
+
@pulumi.getter(name="timeEnded")
|
|
200
|
+
def time_ended(self) -> _builtins.str:
|
|
201
|
+
"""
|
|
202
|
+
The date and time the backup was completed.
|
|
203
|
+
"""
|
|
204
|
+
return pulumi.get(self, "time_ended")
|
|
205
|
+
|
|
206
|
+
@_builtins.property
|
|
207
|
+
@pulumi.getter(name="timeStarted")
|
|
208
|
+
def time_started(self) -> _builtins.str:
|
|
209
|
+
"""
|
|
210
|
+
The date and time the backup started.
|
|
211
|
+
"""
|
|
212
|
+
return pulumi.get(self, "time_started")
|
|
213
|
+
|
|
214
|
+
@_builtins.property
|
|
215
|
+
@pulumi.getter
|
|
216
|
+
def type(self) -> _builtins.str:
|
|
217
|
+
return pulumi.get(self, "type")
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
class AwaitableGetAutonomousDatabaseBackupResult(GetAutonomousDatabaseBackupResult):
|
|
221
|
+
# pylint: disable=using-constant-test
|
|
222
|
+
def __await__(self):
|
|
223
|
+
if False:
|
|
224
|
+
yield self
|
|
225
|
+
return GetAutonomousDatabaseBackupResult(
|
|
226
|
+
automatic=self.automatic,
|
|
227
|
+
autonomous_database_backup_ocid=self.autonomous_database_backup_ocid,
|
|
228
|
+
autonomous_database_id=self.autonomous_database_id,
|
|
229
|
+
autonomous_database_ocid=self.autonomous_database_ocid,
|
|
230
|
+
database_backup_size_in_tbs=self.database_backup_size_in_tbs,
|
|
231
|
+
database_version=self.database_version,
|
|
232
|
+
display_name=self.display_name,
|
|
233
|
+
id=self.id,
|
|
234
|
+
lifecycle_details=self.lifecycle_details,
|
|
235
|
+
lifecycle_state=self.lifecycle_state,
|
|
236
|
+
location=self.location,
|
|
237
|
+
name=self.name,
|
|
238
|
+
provisioning_state=self.provisioning_state,
|
|
239
|
+
restorable=self.restorable,
|
|
240
|
+
retention_period_in_days=self.retention_period_in_days,
|
|
241
|
+
time_available_til=self.time_available_til,
|
|
242
|
+
time_ended=self.time_ended,
|
|
243
|
+
time_started=self.time_started,
|
|
244
|
+
type=self.type)
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
def get_autonomous_database_backup(autonomous_database_id: Optional[_builtins.str] = None,
|
|
248
|
+
name: Optional[_builtins.str] = None,
|
|
249
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAutonomousDatabaseBackupResult:
|
|
250
|
+
"""
|
|
251
|
+
Use this data source to access information about existing Autonomous Database Backups.
|
|
252
|
+
|
|
253
|
+
## Example Usage
|
|
254
|
+
|
|
255
|
+
```python
|
|
256
|
+
import pulumi
|
|
257
|
+
import pulumi_azure as azure
|
|
258
|
+
|
|
259
|
+
example = azure.oracle.get_autonomous_database_backup(autonomous_database_id=example_azurerm_oracle_autonomous_database["id"])
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
## API Providers
|
|
263
|
+
|
|
264
|
+
<!-- This section is generated, changes will be overwritten -->
|
|
265
|
+
This data source uses the following Azure API Providers:
|
|
266
|
+
|
|
267
|
+
* `Oracle.Database` - 2025-03-01
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
:param _builtins.str autonomous_database_id: The azureId of the Autonomous Database for we will be listing the backups.
|
|
271
|
+
"""
|
|
272
|
+
__args__ = dict()
|
|
273
|
+
__args__['autonomousDatabaseId'] = autonomous_database_id
|
|
274
|
+
__args__['name'] = name
|
|
275
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
276
|
+
__ret__ = pulumi.runtime.invoke('azure:oracle/getAutonomousDatabaseBackup:getAutonomousDatabaseBackup', __args__, opts=opts, typ=GetAutonomousDatabaseBackupResult).value
|
|
277
|
+
|
|
278
|
+
return AwaitableGetAutonomousDatabaseBackupResult(
|
|
279
|
+
automatic=pulumi.get(__ret__, 'automatic'),
|
|
280
|
+
autonomous_database_backup_ocid=pulumi.get(__ret__, 'autonomous_database_backup_ocid'),
|
|
281
|
+
autonomous_database_id=pulumi.get(__ret__, 'autonomous_database_id'),
|
|
282
|
+
autonomous_database_ocid=pulumi.get(__ret__, 'autonomous_database_ocid'),
|
|
283
|
+
database_backup_size_in_tbs=pulumi.get(__ret__, 'database_backup_size_in_tbs'),
|
|
284
|
+
database_version=pulumi.get(__ret__, 'database_version'),
|
|
285
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
|
286
|
+
id=pulumi.get(__ret__, 'id'),
|
|
287
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
|
288
|
+
lifecycle_state=pulumi.get(__ret__, 'lifecycle_state'),
|
|
289
|
+
location=pulumi.get(__ret__, 'location'),
|
|
290
|
+
name=pulumi.get(__ret__, 'name'),
|
|
291
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
292
|
+
restorable=pulumi.get(__ret__, 'restorable'),
|
|
293
|
+
retention_period_in_days=pulumi.get(__ret__, 'retention_period_in_days'),
|
|
294
|
+
time_available_til=pulumi.get(__ret__, 'time_available_til'),
|
|
295
|
+
time_ended=pulumi.get(__ret__, 'time_ended'),
|
|
296
|
+
time_started=pulumi.get(__ret__, 'time_started'),
|
|
297
|
+
type=pulumi.get(__ret__, 'type'))
|
|
298
|
+
def get_autonomous_database_backup_output(autonomous_database_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
299
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
300
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAutonomousDatabaseBackupResult]:
|
|
301
|
+
"""
|
|
302
|
+
Use this data source to access information about existing Autonomous Database Backups.
|
|
303
|
+
|
|
304
|
+
## Example Usage
|
|
305
|
+
|
|
306
|
+
```python
|
|
307
|
+
import pulumi
|
|
308
|
+
import pulumi_azure as azure
|
|
309
|
+
|
|
310
|
+
example = azure.oracle.get_autonomous_database_backup(autonomous_database_id=example_azurerm_oracle_autonomous_database["id"])
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
## API Providers
|
|
314
|
+
|
|
315
|
+
<!-- This section is generated, changes will be overwritten -->
|
|
316
|
+
This data source uses the following Azure API Providers:
|
|
317
|
+
|
|
318
|
+
* `Oracle.Database` - 2025-03-01
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
:param _builtins.str autonomous_database_id: The azureId of the Autonomous Database for we will be listing the backups.
|
|
322
|
+
"""
|
|
323
|
+
__args__ = dict()
|
|
324
|
+
__args__['autonomousDatabaseId'] = autonomous_database_id
|
|
325
|
+
__args__['name'] = name
|
|
326
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
327
|
+
__ret__ = pulumi.runtime.invoke_output('azure:oracle/getAutonomousDatabaseBackup:getAutonomousDatabaseBackup', __args__, opts=opts, typ=GetAutonomousDatabaseBackupResult)
|
|
328
|
+
return __ret__.apply(lambda __response__: GetAutonomousDatabaseBackupResult(
|
|
329
|
+
automatic=pulumi.get(__response__, 'automatic'),
|
|
330
|
+
autonomous_database_backup_ocid=pulumi.get(__response__, 'autonomous_database_backup_ocid'),
|
|
331
|
+
autonomous_database_id=pulumi.get(__response__, 'autonomous_database_id'),
|
|
332
|
+
autonomous_database_ocid=pulumi.get(__response__, 'autonomous_database_ocid'),
|
|
333
|
+
database_backup_size_in_tbs=pulumi.get(__response__, 'database_backup_size_in_tbs'),
|
|
334
|
+
database_version=pulumi.get(__response__, 'database_version'),
|
|
335
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
|
336
|
+
id=pulumi.get(__response__, 'id'),
|
|
337
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
|
338
|
+
lifecycle_state=pulumi.get(__response__, 'lifecycle_state'),
|
|
339
|
+
location=pulumi.get(__response__, 'location'),
|
|
340
|
+
name=pulumi.get(__response__, 'name'),
|
|
341
|
+
provisioning_state=pulumi.get(__response__, 'provisioning_state'),
|
|
342
|
+
restorable=pulumi.get(__response__, 'restorable'),
|
|
343
|
+
retention_period_in_days=pulumi.get(__response__, 'retention_period_in_days'),
|
|
344
|
+
time_available_til=pulumi.get(__response__, 'time_available_til'),
|
|
345
|
+
time_ended=pulumi.get(__response__, 'time_ended'),
|
|
346
|
+
time_started=pulumi.get(__response__, 'time_started'),
|
|
347
|
+
type=pulumi.get(__response__, 'type')))
|