pulumi-gcp 8.13.0__py3-none-any.whl → 8.13.0a1734503365__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_gcp/__init__.py +0 -43
- pulumi_gcp/accesscontextmanager/_inputs.py +3 -3
- pulumi_gcp/accesscontextmanager/outputs.py +2 -2
- pulumi_gcp/artifactregistry/_inputs.py +0 -83
- pulumi_gcp/artifactregistry/get_repository.py +4 -15
- pulumi_gcp/artifactregistry/outputs.py +0 -112
- pulumi_gcp/artifactregistry/repository.py +7 -93
- pulumi_gcp/backupdisasterrecovery/get_backup.py +2 -38
- pulumi_gcp/backupdisasterrecovery/get_data_source.py +2 -38
- pulumi_gcp/backupdisasterrecovery/outputs.py +8 -8
- pulumi_gcp/bigquery/_inputs.py +0 -369
- pulumi_gcp/bigquery/dataset_access.py +0 -61
- pulumi_gcp/bigquery/job.py +18 -6
- pulumi_gcp/bigquery/outputs.py +0 -350
- pulumi_gcp/bigquery/table.py +0 -47
- pulumi_gcp/cloudrunv2/_inputs.py +3 -6
- pulumi_gcp/cloudrunv2/outputs.py +6 -10
- pulumi_gcp/composer/_inputs.py +5 -80
- pulumi_gcp/composer/outputs.py +4 -111
- pulumi_gcp/compute/_inputs.py +87 -181
- pulumi_gcp/compute/firewall_policy_association.py +39 -50
- pulumi_gcp/compute/get_network.py +2 -17
- pulumi_gcp/compute/get_subnetwork.py +4 -18
- pulumi_gcp/compute/network.py +2 -39
- pulumi_gcp/compute/outputs.py +58 -157
- pulumi_gcp/compute/region_network_endpoint_group.py +1 -1
- pulumi_gcp/compute/resize_request.py +40 -26
- pulumi_gcp/config/__init__.pyi +0 -2
- pulumi_gcp/config/vars.py +0 -4
- pulumi_gcp/dataproc/batch.py +18 -4
- pulumi_gcp/datastream/_inputs.py +0 -68
- pulumi_gcp/datastream/outputs.py +1 -41
- pulumi_gcp/developerconnect/connection.py +12 -58
- pulumi_gcp/diagflow/_inputs.py +3 -3
- pulumi_gcp/diagflow/outputs.py +2 -2
- pulumi_gcp/filestore/backup.py +3 -71
- pulumi_gcp/firebase/hosting_custom_domain.py +4 -4
- pulumi_gcp/firestore/_inputs.py +3 -3
- pulumi_gcp/firestore/outputs.py +2 -2
- pulumi_gcp/gkehub/__init__.py +0 -1
- pulumi_gcp/gkehub/outputs.py +0 -1153
- pulumi_gcp/gkeonprem/__init__.py +0 -1
- pulumi_gcp/gkeonprem/_inputs.py +0 -2364
- pulumi_gcp/gkeonprem/outputs.py +0 -1780
- pulumi_gcp/integrationconnectors/_inputs.py +6 -6
- pulumi_gcp/integrationconnectors/connection.py +7 -7
- pulumi_gcp/integrationconnectors/outputs.py +4 -4
- pulumi_gcp/kms/__init__.py +0 -2
- pulumi_gcp/netapp/kmsconfig.py +14 -2
- pulumi_gcp/networkconnectivity/hub.py +0 -108
- pulumi_gcp/networkconnectivity/spoke.py +0 -195
- pulumi_gcp/networkmanagement/vpc_flow_logs_config.py +0 -4
- pulumi_gcp/networksecurity/__init__.py +0 -2
- pulumi_gcp/networksecurity/_inputs.py +0 -78
- pulumi_gcp/networksecurity/outputs.py +0 -48
- pulumi_gcp/oracledatabase/autonomous_database.py +2 -2
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parallelstore/instance.py +0 -149
- pulumi_gcp/projects/usage_export_bucket.py +110 -42
- pulumi_gcp/provider.py +0 -20
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/instance.py +16 -4
- pulumi_gcp/spanner/instance_iam_binding.py +0 -14
- pulumi_gcp/spanner/instance_iam_member.py +0 -14
- pulumi_gcp/sql/database_instance.py +7 -7
- pulumi_gcp/storage/__init__.py +0 -1
- pulumi_gcp/storage/_inputs.py +0 -431
- pulumi_gcp/storage/outputs.py +0 -363
- pulumi_gcp/storage/transfer_job.py +38 -84
- pulumi_gcp/vertex/_inputs.py +25 -26
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/outputs.py +14 -15
- pulumi_gcp/workstations/workstation.py +1 -55
- {pulumi_gcp-8.13.0.dist-info → pulumi_gcp-8.13.0a1734503365.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.13.0.dist-info → pulumi_gcp-8.13.0a1734503365.dist-info}/RECORD +79 -90
- {pulumi_gcp-8.13.0.dist-info → pulumi_gcp-8.13.0a1734503365.dist-info}/WHEEL +1 -1
- pulumi_gcp/chronicle/__init__.py +0 -10
- pulumi_gcp/chronicle/_inputs.py +0 -169
- pulumi_gcp/chronicle/outputs.py +0 -107
- pulumi_gcp/chronicle/watchlist.py +0 -776
- pulumi_gcp/gkehub/get_feature.py +0 -226
- pulumi_gcp/gkeonprem/vmware_admin_cluster.py +0 -1715
- pulumi_gcp/kms/get_autokey_config.py +0 -121
- pulumi_gcp/kms/get_key_handle.py +0 -185
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +0 -723
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +0 -815
- pulumi_gcp/storage/folder.py +0 -483
- {pulumi_gcp-8.13.0.dist-info → pulumi_gcp-8.13.0a1734503365.dist-info}/top_level.txt +0 -0
pulumi_gcp/storage/outputs.py
CHANGED
@@ -47,11 +47,6 @@ __all__ = [
|
|
47
47
|
'TransferAgentPoolBandwidthLimit',
|
48
48
|
'TransferJobEventStream',
|
49
49
|
'TransferJobNotificationConfig',
|
50
|
-
'TransferJobReplicationSpec',
|
51
|
-
'TransferJobReplicationSpecGcsDataSink',
|
52
|
-
'TransferJobReplicationSpecGcsDataSource',
|
53
|
-
'TransferJobReplicationSpecObjectConditions',
|
54
|
-
'TransferJobReplicationSpecTransferOptions',
|
55
50
|
'TransferJobSchedule',
|
56
51
|
'TransferJobScheduleScheduleEndDate',
|
57
52
|
'TransferJobScheduleScheduleStartDate',
|
@@ -1727,364 +1722,6 @@ class TransferJobNotificationConfig(dict):
|
|
1727
1722
|
return pulumi.get(self, "event_types")
|
1728
1723
|
|
1729
1724
|
|
1730
|
-
@pulumi.output_type
|
1731
|
-
class TransferJobReplicationSpec(dict):
|
1732
|
-
@staticmethod
|
1733
|
-
def __key_warning(key: str):
|
1734
|
-
suggest = None
|
1735
|
-
if key == "gcsDataSink":
|
1736
|
-
suggest = "gcs_data_sink"
|
1737
|
-
elif key == "gcsDataSource":
|
1738
|
-
suggest = "gcs_data_source"
|
1739
|
-
elif key == "objectConditions":
|
1740
|
-
suggest = "object_conditions"
|
1741
|
-
elif key == "transferOptions":
|
1742
|
-
suggest = "transfer_options"
|
1743
|
-
|
1744
|
-
if suggest:
|
1745
|
-
pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpec. Access the value via the '{suggest}' property getter instead.")
|
1746
|
-
|
1747
|
-
def __getitem__(self, key: str) -> Any:
|
1748
|
-
TransferJobReplicationSpec.__key_warning(key)
|
1749
|
-
return super().__getitem__(key)
|
1750
|
-
|
1751
|
-
def get(self, key: str, default = None) -> Any:
|
1752
|
-
TransferJobReplicationSpec.__key_warning(key)
|
1753
|
-
return super().get(key, default)
|
1754
|
-
|
1755
|
-
def __init__(__self__, *,
|
1756
|
-
gcs_data_sink: Optional['outputs.TransferJobReplicationSpecGcsDataSink'] = None,
|
1757
|
-
gcs_data_source: Optional['outputs.TransferJobReplicationSpecGcsDataSource'] = None,
|
1758
|
-
object_conditions: Optional['outputs.TransferJobReplicationSpecObjectConditions'] = None,
|
1759
|
-
transfer_options: Optional['outputs.TransferJobReplicationSpecTransferOptions'] = None):
|
1760
|
-
"""
|
1761
|
-
:param 'TransferJobReplicationSpecGcsDataSinkArgs' gcs_data_sink: A Google Cloud Storage data sink. Structure documented below.
|
1762
|
-
:param 'TransferJobReplicationSpecGcsDataSourceArgs' gcs_data_source: A Google Cloud Storage data source. Structure documented below.
|
1763
|
-
:param 'TransferJobReplicationSpecObjectConditionsArgs' object_conditions: Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' `last_modification_time` do not exclude objects in a data sink. Structure documented below.
|
1764
|
-
:param 'TransferJobReplicationSpecTransferOptionsArgs' transfer_options: Characteristics of how to treat files from datasource and sink during job. If the option `delete_objects_unique_in_sink` is true, object conditions based on objects' `last_modification_time` are ignored and do not exclude objects in a data source or a data sink. Structure documented below.
|
1765
|
-
"""
|
1766
|
-
if gcs_data_sink is not None:
|
1767
|
-
pulumi.set(__self__, "gcs_data_sink", gcs_data_sink)
|
1768
|
-
if gcs_data_source is not None:
|
1769
|
-
pulumi.set(__self__, "gcs_data_source", gcs_data_source)
|
1770
|
-
if object_conditions is not None:
|
1771
|
-
pulumi.set(__self__, "object_conditions", object_conditions)
|
1772
|
-
if transfer_options is not None:
|
1773
|
-
pulumi.set(__self__, "transfer_options", transfer_options)
|
1774
|
-
|
1775
|
-
@property
|
1776
|
-
@pulumi.getter(name="gcsDataSink")
|
1777
|
-
def gcs_data_sink(self) -> Optional['outputs.TransferJobReplicationSpecGcsDataSink']:
|
1778
|
-
"""
|
1779
|
-
A Google Cloud Storage data sink. Structure documented below.
|
1780
|
-
"""
|
1781
|
-
return pulumi.get(self, "gcs_data_sink")
|
1782
|
-
|
1783
|
-
@property
|
1784
|
-
@pulumi.getter(name="gcsDataSource")
|
1785
|
-
def gcs_data_source(self) -> Optional['outputs.TransferJobReplicationSpecGcsDataSource']:
|
1786
|
-
"""
|
1787
|
-
A Google Cloud Storage data source. Structure documented below.
|
1788
|
-
"""
|
1789
|
-
return pulumi.get(self, "gcs_data_source")
|
1790
|
-
|
1791
|
-
@property
|
1792
|
-
@pulumi.getter(name="objectConditions")
|
1793
|
-
def object_conditions(self) -> Optional['outputs.TransferJobReplicationSpecObjectConditions']:
|
1794
|
-
"""
|
1795
|
-
Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' `last_modification_time` do not exclude objects in a data sink. Structure documented below.
|
1796
|
-
"""
|
1797
|
-
return pulumi.get(self, "object_conditions")
|
1798
|
-
|
1799
|
-
@property
|
1800
|
-
@pulumi.getter(name="transferOptions")
|
1801
|
-
def transfer_options(self) -> Optional['outputs.TransferJobReplicationSpecTransferOptions']:
|
1802
|
-
"""
|
1803
|
-
Characteristics of how to treat files from datasource and sink during job. If the option `delete_objects_unique_in_sink` is true, object conditions based on objects' `last_modification_time` are ignored and do not exclude objects in a data source or a data sink. Structure documented below.
|
1804
|
-
"""
|
1805
|
-
return pulumi.get(self, "transfer_options")
|
1806
|
-
|
1807
|
-
|
1808
|
-
@pulumi.output_type
|
1809
|
-
class TransferJobReplicationSpecGcsDataSink(dict):
|
1810
|
-
@staticmethod
|
1811
|
-
def __key_warning(key: str):
|
1812
|
-
suggest = None
|
1813
|
-
if key == "bucketName":
|
1814
|
-
suggest = "bucket_name"
|
1815
|
-
|
1816
|
-
if suggest:
|
1817
|
-
pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpecGcsDataSink. Access the value via the '{suggest}' property getter instead.")
|
1818
|
-
|
1819
|
-
def __getitem__(self, key: str) -> Any:
|
1820
|
-
TransferJobReplicationSpecGcsDataSink.__key_warning(key)
|
1821
|
-
return super().__getitem__(key)
|
1822
|
-
|
1823
|
-
def get(self, key: str, default = None) -> Any:
|
1824
|
-
TransferJobReplicationSpecGcsDataSink.__key_warning(key)
|
1825
|
-
return super().get(key, default)
|
1826
|
-
|
1827
|
-
def __init__(__self__, *,
|
1828
|
-
bucket_name: str,
|
1829
|
-
path: Optional[str] = None):
|
1830
|
-
"""
|
1831
|
-
:param str bucket_name: Google Cloud Storage bucket name.
|
1832
|
-
:param str path: Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
|
1833
|
-
"""
|
1834
|
-
pulumi.set(__self__, "bucket_name", bucket_name)
|
1835
|
-
if path is not None:
|
1836
|
-
pulumi.set(__self__, "path", path)
|
1837
|
-
|
1838
|
-
@property
|
1839
|
-
@pulumi.getter(name="bucketName")
|
1840
|
-
def bucket_name(self) -> str:
|
1841
|
-
"""
|
1842
|
-
Google Cloud Storage bucket name.
|
1843
|
-
"""
|
1844
|
-
return pulumi.get(self, "bucket_name")
|
1845
|
-
|
1846
|
-
@property
|
1847
|
-
@pulumi.getter
|
1848
|
-
def path(self) -> Optional[str]:
|
1849
|
-
"""
|
1850
|
-
Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
|
1851
|
-
"""
|
1852
|
-
return pulumi.get(self, "path")
|
1853
|
-
|
1854
|
-
|
1855
|
-
@pulumi.output_type
|
1856
|
-
class TransferJobReplicationSpecGcsDataSource(dict):
|
1857
|
-
@staticmethod
|
1858
|
-
def __key_warning(key: str):
|
1859
|
-
suggest = None
|
1860
|
-
if key == "bucketName":
|
1861
|
-
suggest = "bucket_name"
|
1862
|
-
|
1863
|
-
if suggest:
|
1864
|
-
pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpecGcsDataSource. Access the value via the '{suggest}' property getter instead.")
|
1865
|
-
|
1866
|
-
def __getitem__(self, key: str) -> Any:
|
1867
|
-
TransferJobReplicationSpecGcsDataSource.__key_warning(key)
|
1868
|
-
return super().__getitem__(key)
|
1869
|
-
|
1870
|
-
def get(self, key: str, default = None) -> Any:
|
1871
|
-
TransferJobReplicationSpecGcsDataSource.__key_warning(key)
|
1872
|
-
return super().get(key, default)
|
1873
|
-
|
1874
|
-
def __init__(__self__, *,
|
1875
|
-
bucket_name: str,
|
1876
|
-
path: Optional[str] = None):
|
1877
|
-
"""
|
1878
|
-
:param str bucket_name: Google Cloud Storage bucket name.
|
1879
|
-
:param str path: Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
|
1880
|
-
"""
|
1881
|
-
pulumi.set(__self__, "bucket_name", bucket_name)
|
1882
|
-
if path is not None:
|
1883
|
-
pulumi.set(__self__, "path", path)
|
1884
|
-
|
1885
|
-
@property
|
1886
|
-
@pulumi.getter(name="bucketName")
|
1887
|
-
def bucket_name(self) -> str:
|
1888
|
-
"""
|
1889
|
-
Google Cloud Storage bucket name.
|
1890
|
-
"""
|
1891
|
-
return pulumi.get(self, "bucket_name")
|
1892
|
-
|
1893
|
-
@property
|
1894
|
-
@pulumi.getter
|
1895
|
-
def path(self) -> Optional[str]:
|
1896
|
-
"""
|
1897
|
-
Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
|
1898
|
-
"""
|
1899
|
-
return pulumi.get(self, "path")
|
1900
|
-
|
1901
|
-
|
1902
|
-
@pulumi.output_type
|
1903
|
-
class TransferJobReplicationSpecObjectConditions(dict):
|
1904
|
-
@staticmethod
|
1905
|
-
def __key_warning(key: str):
|
1906
|
-
suggest = None
|
1907
|
-
if key == "excludePrefixes":
|
1908
|
-
suggest = "exclude_prefixes"
|
1909
|
-
elif key == "includePrefixes":
|
1910
|
-
suggest = "include_prefixes"
|
1911
|
-
elif key == "lastModifiedBefore":
|
1912
|
-
suggest = "last_modified_before"
|
1913
|
-
elif key == "lastModifiedSince":
|
1914
|
-
suggest = "last_modified_since"
|
1915
|
-
elif key == "maxTimeElapsedSinceLastModification":
|
1916
|
-
suggest = "max_time_elapsed_since_last_modification"
|
1917
|
-
elif key == "minTimeElapsedSinceLastModification":
|
1918
|
-
suggest = "min_time_elapsed_since_last_modification"
|
1919
|
-
|
1920
|
-
if suggest:
|
1921
|
-
pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpecObjectConditions. Access the value via the '{suggest}' property getter instead.")
|
1922
|
-
|
1923
|
-
def __getitem__(self, key: str) -> Any:
|
1924
|
-
TransferJobReplicationSpecObjectConditions.__key_warning(key)
|
1925
|
-
return super().__getitem__(key)
|
1926
|
-
|
1927
|
-
def get(self, key: str, default = None) -> Any:
|
1928
|
-
TransferJobReplicationSpecObjectConditions.__key_warning(key)
|
1929
|
-
return super().get(key, default)
|
1930
|
-
|
1931
|
-
def __init__(__self__, *,
|
1932
|
-
exclude_prefixes: Optional[Sequence[str]] = None,
|
1933
|
-
include_prefixes: Optional[Sequence[str]] = None,
|
1934
|
-
last_modified_before: Optional[str] = None,
|
1935
|
-
last_modified_since: Optional[str] = None,
|
1936
|
-
max_time_elapsed_since_last_modification: Optional[str] = None,
|
1937
|
-
min_time_elapsed_since_last_modification: Optional[str] = None):
|
1938
|
-
"""
|
1939
|
-
:param Sequence[str] exclude_prefixes: `exclude_prefixes` must follow the requirements described for `include_prefixes`. See [Requirements](https://cloud.google.com/storage-transfer/docs/reference/rest/v1/TransferSpec#ObjectConditions).
|
1940
|
-
:param Sequence[str] include_prefixes: If `include_prefixes` is specified, objects that satisfy the object conditions must have names that start with one of the `include_prefixes` and that do not start with any of the `exclude_prefixes`. If `include_prefixes` is not specified, all objects except those that have names starting with one of the `exclude_prefixes` must satisfy the object conditions. See [Requirements](https://cloud.google.com/storage-transfer/docs/reference/rest/v1/TransferSpec#ObjectConditions).
|
1941
|
-
:param str last_modified_before: If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
1942
|
-
:param str last_modified_since: If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
1943
|
-
:param str max_time_elapsed_since_last_modification: A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
1944
|
-
:param str min_time_elapsed_since_last_modification: A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
1945
|
-
"""
|
1946
|
-
if exclude_prefixes is not None:
|
1947
|
-
pulumi.set(__self__, "exclude_prefixes", exclude_prefixes)
|
1948
|
-
if include_prefixes is not None:
|
1949
|
-
pulumi.set(__self__, "include_prefixes", include_prefixes)
|
1950
|
-
if last_modified_before is not None:
|
1951
|
-
pulumi.set(__self__, "last_modified_before", last_modified_before)
|
1952
|
-
if last_modified_since is not None:
|
1953
|
-
pulumi.set(__self__, "last_modified_since", last_modified_since)
|
1954
|
-
if max_time_elapsed_since_last_modification is not None:
|
1955
|
-
pulumi.set(__self__, "max_time_elapsed_since_last_modification", max_time_elapsed_since_last_modification)
|
1956
|
-
if min_time_elapsed_since_last_modification is not None:
|
1957
|
-
pulumi.set(__self__, "min_time_elapsed_since_last_modification", min_time_elapsed_since_last_modification)
|
1958
|
-
|
1959
|
-
@property
|
1960
|
-
@pulumi.getter(name="excludePrefixes")
|
1961
|
-
def exclude_prefixes(self) -> Optional[Sequence[str]]:
|
1962
|
-
"""
|
1963
|
-
`exclude_prefixes` must follow the requirements described for `include_prefixes`. See [Requirements](https://cloud.google.com/storage-transfer/docs/reference/rest/v1/TransferSpec#ObjectConditions).
|
1964
|
-
"""
|
1965
|
-
return pulumi.get(self, "exclude_prefixes")
|
1966
|
-
|
1967
|
-
@property
|
1968
|
-
@pulumi.getter(name="includePrefixes")
|
1969
|
-
def include_prefixes(self) -> Optional[Sequence[str]]:
|
1970
|
-
"""
|
1971
|
-
If `include_prefixes` is specified, objects that satisfy the object conditions must have names that start with one of the `include_prefixes` and that do not start with any of the `exclude_prefixes`. If `include_prefixes` is not specified, all objects except those that have names starting with one of the `exclude_prefixes` must satisfy the object conditions. See [Requirements](https://cloud.google.com/storage-transfer/docs/reference/rest/v1/TransferSpec#ObjectConditions).
|
1972
|
-
"""
|
1973
|
-
return pulumi.get(self, "include_prefixes")
|
1974
|
-
|
1975
|
-
@property
|
1976
|
-
@pulumi.getter(name="lastModifiedBefore")
|
1977
|
-
def last_modified_before(self) -> Optional[str]:
|
1978
|
-
"""
|
1979
|
-
If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
1980
|
-
"""
|
1981
|
-
return pulumi.get(self, "last_modified_before")
|
1982
|
-
|
1983
|
-
@property
|
1984
|
-
@pulumi.getter(name="lastModifiedSince")
|
1985
|
-
def last_modified_since(self) -> Optional[str]:
|
1986
|
-
"""
|
1987
|
-
If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
1988
|
-
"""
|
1989
|
-
return pulumi.get(self, "last_modified_since")
|
1990
|
-
|
1991
|
-
@property
|
1992
|
-
@pulumi.getter(name="maxTimeElapsedSinceLastModification")
|
1993
|
-
def max_time_elapsed_since_last_modification(self) -> Optional[str]:
|
1994
|
-
"""
|
1995
|
-
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
1996
|
-
"""
|
1997
|
-
return pulumi.get(self, "max_time_elapsed_since_last_modification")
|
1998
|
-
|
1999
|
-
@property
|
2000
|
-
@pulumi.getter(name="minTimeElapsedSinceLastModification")
|
2001
|
-
def min_time_elapsed_since_last_modification(self) -> Optional[str]:
|
2002
|
-
"""
|
2003
|
-
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
2004
|
-
"""
|
2005
|
-
return pulumi.get(self, "min_time_elapsed_since_last_modification")
|
2006
|
-
|
2007
|
-
|
2008
|
-
@pulumi.output_type
|
2009
|
-
class TransferJobReplicationSpecTransferOptions(dict):
|
2010
|
-
@staticmethod
|
2011
|
-
def __key_warning(key: str):
|
2012
|
-
suggest = None
|
2013
|
-
if key == "deleteObjectsFromSourceAfterTransfer":
|
2014
|
-
suggest = "delete_objects_from_source_after_transfer"
|
2015
|
-
elif key == "deleteObjectsUniqueInSink":
|
2016
|
-
suggest = "delete_objects_unique_in_sink"
|
2017
|
-
elif key == "overwriteObjectsAlreadyExistingInSink":
|
2018
|
-
suggest = "overwrite_objects_already_existing_in_sink"
|
2019
|
-
elif key == "overwriteWhen":
|
2020
|
-
suggest = "overwrite_when"
|
2021
|
-
|
2022
|
-
if suggest:
|
2023
|
-
pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpecTransferOptions. Access the value via the '{suggest}' property getter instead.")
|
2024
|
-
|
2025
|
-
def __getitem__(self, key: str) -> Any:
|
2026
|
-
TransferJobReplicationSpecTransferOptions.__key_warning(key)
|
2027
|
-
return super().__getitem__(key)
|
2028
|
-
|
2029
|
-
def get(self, key: str, default = None) -> Any:
|
2030
|
-
TransferJobReplicationSpecTransferOptions.__key_warning(key)
|
2031
|
-
return super().get(key, default)
|
2032
|
-
|
2033
|
-
def __init__(__self__, *,
|
2034
|
-
delete_objects_from_source_after_transfer: Optional[bool] = None,
|
2035
|
-
delete_objects_unique_in_sink: Optional[bool] = None,
|
2036
|
-
overwrite_objects_already_existing_in_sink: Optional[bool] = None,
|
2037
|
-
overwrite_when: Optional[str] = None):
|
2038
|
-
"""
|
2039
|
-
:param bool delete_objects_from_source_after_transfer: Whether objects should be deleted from the source after they are transferred to the sink. Note that this option and `delete_objects_unique_in_sink` are mutually exclusive.
|
2040
|
-
:param bool delete_objects_unique_in_sink: Whether objects that exist only in the sink should be deleted. Note that this option and
|
2041
|
-
`delete_objects_from_source_after_transfer` are mutually exclusive.
|
2042
|
-
:param bool overwrite_objects_already_existing_in_sink: Whether overwriting objects that already exist in the sink is allowed.
|
2043
|
-
:param str overwrite_when: When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by `overwrite_objects_already_existing_in_sink`. Possible values: ALWAYS, DIFFERENT, NEVER.
|
2044
|
-
"""
|
2045
|
-
if delete_objects_from_source_after_transfer is not None:
|
2046
|
-
pulumi.set(__self__, "delete_objects_from_source_after_transfer", delete_objects_from_source_after_transfer)
|
2047
|
-
if delete_objects_unique_in_sink is not None:
|
2048
|
-
pulumi.set(__self__, "delete_objects_unique_in_sink", delete_objects_unique_in_sink)
|
2049
|
-
if overwrite_objects_already_existing_in_sink is not None:
|
2050
|
-
pulumi.set(__self__, "overwrite_objects_already_existing_in_sink", overwrite_objects_already_existing_in_sink)
|
2051
|
-
if overwrite_when is not None:
|
2052
|
-
pulumi.set(__self__, "overwrite_when", overwrite_when)
|
2053
|
-
|
2054
|
-
@property
|
2055
|
-
@pulumi.getter(name="deleteObjectsFromSourceAfterTransfer")
|
2056
|
-
def delete_objects_from_source_after_transfer(self) -> Optional[bool]:
|
2057
|
-
"""
|
2058
|
-
Whether objects should be deleted from the source after they are transferred to the sink. Note that this option and `delete_objects_unique_in_sink` are mutually exclusive.
|
2059
|
-
"""
|
2060
|
-
return pulumi.get(self, "delete_objects_from_source_after_transfer")
|
2061
|
-
|
2062
|
-
@property
|
2063
|
-
@pulumi.getter(name="deleteObjectsUniqueInSink")
|
2064
|
-
def delete_objects_unique_in_sink(self) -> Optional[bool]:
|
2065
|
-
"""
|
2066
|
-
Whether objects that exist only in the sink should be deleted. Note that this option and
|
2067
|
-
`delete_objects_from_source_after_transfer` are mutually exclusive.
|
2068
|
-
"""
|
2069
|
-
return pulumi.get(self, "delete_objects_unique_in_sink")
|
2070
|
-
|
2071
|
-
@property
|
2072
|
-
@pulumi.getter(name="overwriteObjectsAlreadyExistingInSink")
|
2073
|
-
def overwrite_objects_already_existing_in_sink(self) -> Optional[bool]:
|
2074
|
-
"""
|
2075
|
-
Whether overwriting objects that already exist in the sink is allowed.
|
2076
|
-
"""
|
2077
|
-
return pulumi.get(self, "overwrite_objects_already_existing_in_sink")
|
2078
|
-
|
2079
|
-
@property
|
2080
|
-
@pulumi.getter(name="overwriteWhen")
|
2081
|
-
def overwrite_when(self) -> Optional[str]:
|
2082
|
-
"""
|
2083
|
-
When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by `overwrite_objects_already_existing_in_sink`. Possible values: ALWAYS, DIFFERENT, NEVER.
|
2084
|
-
"""
|
2085
|
-
return pulumi.get(self, "overwrite_when")
|
2086
|
-
|
2087
|
-
|
2088
1725
|
@pulumi.output_type
|
2089
1726
|
class TransferJobSchedule(dict):
|
2090
1727
|
@staticmethod
|
@@ -22,30 +22,29 @@ __all__ = ['TransferJobArgs', 'TransferJob']
|
|
22
22
|
class TransferJobArgs:
|
23
23
|
def __init__(__self__, *,
|
24
24
|
description: pulumi.Input[str],
|
25
|
+
transfer_spec: pulumi.Input['TransferJobTransferSpecArgs'],
|
25
26
|
event_stream: Optional[pulumi.Input['TransferJobEventStreamArgs']] = None,
|
26
27
|
name: Optional[pulumi.Input[str]] = None,
|
27
28
|
notification_config: Optional[pulumi.Input['TransferJobNotificationConfigArgs']] = None,
|
28
29
|
project: Optional[pulumi.Input[str]] = None,
|
29
|
-
replication_spec: Optional[pulumi.Input['TransferJobReplicationSpecArgs']] = None,
|
30
30
|
schedule: Optional[pulumi.Input['TransferJobScheduleArgs']] = None,
|
31
|
-
status: Optional[pulumi.Input[str]] = None
|
32
|
-
transfer_spec: Optional[pulumi.Input['TransferJobTransferSpecArgs']] = None):
|
31
|
+
status: Optional[pulumi.Input[str]] = None):
|
33
32
|
"""
|
34
33
|
The set of arguments for constructing a TransferJob resource.
|
35
34
|
:param pulumi.Input[str] description: Unique description to identify the Transfer Job.
|
35
|
+
:param pulumi.Input['TransferJobTransferSpecArgs'] transfer_spec: Transfer specification. Structure documented below.
|
36
|
+
|
37
|
+
- - -
|
36
38
|
:param pulumi.Input['TransferJobEventStreamArgs'] event_stream: Specifies the Event-driven transfer options. Event-driven transfers listen to an event stream to transfer updated files. Structure documented below Either `event_stream` or `schedule` must be set.
|
37
39
|
:param pulumi.Input[str] name: The name of the Transfer Job. This name must start with "transferJobs/" prefix and end with a letter or a number, and should be no more than 128 characters ( `transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$` ). For transfers involving PosixFilesystem, this name must start with transferJobs/OPI specifically ( `transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$` ). For all other transfer types, this name must not start with transferJobs/OPI. Default the provider will assign a random unique name with `transferJobs/{{name}}` format, where `name` is a numeric value.
|
38
40
|
:param pulumi.Input['TransferJobNotificationConfigArgs'] notification_config: Notification configuration. This is not supported for transfers involving PosixFilesystem. Structure documented below.
|
39
41
|
:param pulumi.Input[str] project: The project in which the resource belongs. If it
|
40
42
|
is not provided, the provider project is used.
|
41
|
-
:param pulumi.Input['TransferJobReplicationSpecArgs'] replication_spec: Replication specification. Structure documented below. User should not configure `schedule`, `event_stream` with this argument. One of `transfer_spec`, or `replication_spec` must be specified.
|
42
|
-
|
43
|
-
- - -
|
44
43
|
:param pulumi.Input['TransferJobScheduleArgs'] schedule: Schedule specification defining when the Transfer Job should be scheduled to start, end and what time to run. Structure documented below. Either `schedule` or `event_stream` must be set.
|
45
44
|
:param pulumi.Input[str] status: Status of the job. Default: `ENABLED`. **NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from ENABLED to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation.**
|
46
|
-
:param pulumi.Input['TransferJobTransferSpecArgs'] transfer_spec: Transfer specification. Structure documented below. One of `transfer_spec`, or `replication_spec` can be specified.
|
47
45
|
"""
|
48
46
|
pulumi.set(__self__, "description", description)
|
47
|
+
pulumi.set(__self__, "transfer_spec", transfer_spec)
|
49
48
|
if event_stream is not None:
|
50
49
|
pulumi.set(__self__, "event_stream", event_stream)
|
51
50
|
if name is not None:
|
@@ -54,14 +53,10 @@ class TransferJobArgs:
|
|
54
53
|
pulumi.set(__self__, "notification_config", notification_config)
|
55
54
|
if project is not None:
|
56
55
|
pulumi.set(__self__, "project", project)
|
57
|
-
if replication_spec is not None:
|
58
|
-
pulumi.set(__self__, "replication_spec", replication_spec)
|
59
56
|
if schedule is not None:
|
60
57
|
pulumi.set(__self__, "schedule", schedule)
|
61
58
|
if status is not None:
|
62
59
|
pulumi.set(__self__, "status", status)
|
63
|
-
if transfer_spec is not None:
|
64
|
-
pulumi.set(__self__, "transfer_spec", transfer_spec)
|
65
60
|
|
66
61
|
@property
|
67
62
|
@pulumi.getter
|
@@ -75,6 +70,20 @@ class TransferJobArgs:
|
|
75
70
|
def description(self, value: pulumi.Input[str]):
|
76
71
|
pulumi.set(self, "description", value)
|
77
72
|
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="transferSpec")
|
75
|
+
def transfer_spec(self) -> pulumi.Input['TransferJobTransferSpecArgs']:
|
76
|
+
"""
|
77
|
+
Transfer specification. Structure documented below.
|
78
|
+
|
79
|
+
- - -
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "transfer_spec")
|
82
|
+
|
83
|
+
@transfer_spec.setter
|
84
|
+
def transfer_spec(self, value: pulumi.Input['TransferJobTransferSpecArgs']):
|
85
|
+
pulumi.set(self, "transfer_spec", value)
|
86
|
+
|
78
87
|
@property
|
79
88
|
@pulumi.getter(name="eventStream")
|
80
89
|
def event_stream(self) -> Optional[pulumi.Input['TransferJobEventStreamArgs']]:
|
@@ -124,20 +133,6 @@ class TransferJobArgs:
|
|
124
133
|
def project(self, value: Optional[pulumi.Input[str]]):
|
125
134
|
pulumi.set(self, "project", value)
|
126
135
|
|
127
|
-
@property
|
128
|
-
@pulumi.getter(name="replicationSpec")
|
129
|
-
def replication_spec(self) -> Optional[pulumi.Input['TransferJobReplicationSpecArgs']]:
|
130
|
-
"""
|
131
|
-
Replication specification. Structure documented below. User should not configure `schedule`, `event_stream` with this argument. One of `transfer_spec`, or `replication_spec` must be specified.
|
132
|
-
|
133
|
-
- - -
|
134
|
-
"""
|
135
|
-
return pulumi.get(self, "replication_spec")
|
136
|
-
|
137
|
-
@replication_spec.setter
|
138
|
-
def replication_spec(self, value: Optional[pulumi.Input['TransferJobReplicationSpecArgs']]):
|
139
|
-
pulumi.set(self, "replication_spec", value)
|
140
|
-
|
141
136
|
@property
|
142
137
|
@pulumi.getter
|
143
138
|
def schedule(self) -> Optional[pulumi.Input['TransferJobScheduleArgs']]:
|
@@ -162,18 +157,6 @@ class TransferJobArgs:
|
|
162
157
|
def status(self, value: Optional[pulumi.Input[str]]):
|
163
158
|
pulumi.set(self, "status", value)
|
164
159
|
|
165
|
-
@property
|
166
|
-
@pulumi.getter(name="transferSpec")
|
167
|
-
def transfer_spec(self) -> Optional[pulumi.Input['TransferJobTransferSpecArgs']]:
|
168
|
-
"""
|
169
|
-
Transfer specification. Structure documented below. One of `transfer_spec`, or `replication_spec` can be specified.
|
170
|
-
"""
|
171
|
-
return pulumi.get(self, "transfer_spec")
|
172
|
-
|
173
|
-
@transfer_spec.setter
|
174
|
-
def transfer_spec(self, value: Optional[pulumi.Input['TransferJobTransferSpecArgs']]):
|
175
|
-
pulumi.set(self, "transfer_spec", value)
|
176
|
-
|
177
160
|
|
178
161
|
@pulumi.input_type
|
179
162
|
class _TransferJobState:
|
@@ -186,7 +169,6 @@ class _TransferJobState:
|
|
186
169
|
name: Optional[pulumi.Input[str]] = None,
|
187
170
|
notification_config: Optional[pulumi.Input['TransferJobNotificationConfigArgs']] = None,
|
188
171
|
project: Optional[pulumi.Input[str]] = None,
|
189
|
-
replication_spec: Optional[pulumi.Input['TransferJobReplicationSpecArgs']] = None,
|
190
172
|
schedule: Optional[pulumi.Input['TransferJobScheduleArgs']] = None,
|
191
173
|
status: Optional[pulumi.Input[str]] = None,
|
192
174
|
transfer_spec: Optional[pulumi.Input['TransferJobTransferSpecArgs']] = None):
|
@@ -201,12 +183,11 @@ class _TransferJobState:
|
|
201
183
|
:param pulumi.Input['TransferJobNotificationConfigArgs'] notification_config: Notification configuration. This is not supported for transfers involving PosixFilesystem. Structure documented below.
|
202
184
|
:param pulumi.Input[str] project: The project in which the resource belongs. If it
|
203
185
|
is not provided, the provider project is used.
|
204
|
-
:param pulumi.Input['TransferJobReplicationSpecArgs'] replication_spec: Replication specification. Structure documented below. User should not configure `schedule`, `event_stream` with this argument. One of `transfer_spec`, or `replication_spec` must be specified.
|
205
|
-
|
206
|
-
- - -
|
207
186
|
:param pulumi.Input['TransferJobScheduleArgs'] schedule: Schedule specification defining when the Transfer Job should be scheduled to start, end and what time to run. Structure documented below. Either `schedule` or `event_stream` must be set.
|
208
187
|
:param pulumi.Input[str] status: Status of the job. Default: `ENABLED`. **NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from ENABLED to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation.**
|
209
|
-
:param pulumi.Input['TransferJobTransferSpecArgs'] transfer_spec: Transfer specification. Structure documented below.
|
188
|
+
:param pulumi.Input['TransferJobTransferSpecArgs'] transfer_spec: Transfer specification. Structure documented below.
|
189
|
+
|
190
|
+
- - -
|
210
191
|
"""
|
211
192
|
if creation_time is not None:
|
212
193
|
pulumi.set(__self__, "creation_time", creation_time)
|
@@ -224,8 +205,6 @@ class _TransferJobState:
|
|
224
205
|
pulumi.set(__self__, "notification_config", notification_config)
|
225
206
|
if project is not None:
|
226
207
|
pulumi.set(__self__, "project", project)
|
227
|
-
if replication_spec is not None:
|
228
|
-
pulumi.set(__self__, "replication_spec", replication_spec)
|
229
208
|
if schedule is not None:
|
230
209
|
pulumi.set(__self__, "schedule", schedule)
|
231
210
|
if status is not None:
|
@@ -330,20 +309,6 @@ class _TransferJobState:
|
|
330
309
|
def project(self, value: Optional[pulumi.Input[str]]):
|
331
310
|
pulumi.set(self, "project", value)
|
332
311
|
|
333
|
-
@property
|
334
|
-
@pulumi.getter(name="replicationSpec")
|
335
|
-
def replication_spec(self) -> Optional[pulumi.Input['TransferJobReplicationSpecArgs']]:
|
336
|
-
"""
|
337
|
-
Replication specification. Structure documented below. User should not configure `schedule`, `event_stream` with this argument. One of `transfer_spec`, or `replication_spec` must be specified.
|
338
|
-
|
339
|
-
- - -
|
340
|
-
"""
|
341
|
-
return pulumi.get(self, "replication_spec")
|
342
|
-
|
343
|
-
@replication_spec.setter
|
344
|
-
def replication_spec(self, value: Optional[pulumi.Input['TransferJobReplicationSpecArgs']]):
|
345
|
-
pulumi.set(self, "replication_spec", value)
|
346
|
-
|
347
312
|
@property
|
348
313
|
@pulumi.getter
|
349
314
|
def schedule(self) -> Optional[pulumi.Input['TransferJobScheduleArgs']]:
|
@@ -372,7 +337,9 @@ class _TransferJobState:
|
|
372
337
|
@pulumi.getter(name="transferSpec")
|
373
338
|
def transfer_spec(self) -> Optional[pulumi.Input['TransferJobTransferSpecArgs']]:
|
374
339
|
"""
|
375
|
-
Transfer specification. Structure documented below.
|
340
|
+
Transfer specification. Structure documented below.
|
341
|
+
|
342
|
+
- - -
|
376
343
|
"""
|
377
344
|
return pulumi.get(self, "transfer_spec")
|
378
345
|
|
@@ -391,7 +358,6 @@ class TransferJob(pulumi.CustomResource):
|
|
391
358
|
name: Optional[pulumi.Input[str]] = None,
|
392
359
|
notification_config: Optional[pulumi.Input[Union['TransferJobNotificationConfigArgs', 'TransferJobNotificationConfigArgsDict']]] = None,
|
393
360
|
project: Optional[pulumi.Input[str]] = None,
|
394
|
-
replication_spec: Optional[pulumi.Input[Union['TransferJobReplicationSpecArgs', 'TransferJobReplicationSpecArgsDict']]] = None,
|
395
361
|
schedule: Optional[pulumi.Input[Union['TransferJobScheduleArgs', 'TransferJobScheduleArgsDict']]] = None,
|
396
362
|
status: Optional[pulumi.Input[str]] = None,
|
397
363
|
transfer_spec: Optional[pulumi.Input[Union['TransferJobTransferSpecArgs', 'TransferJobTransferSpecArgsDict']]] = None,
|
@@ -506,12 +472,11 @@ class TransferJob(pulumi.CustomResource):
|
|
506
472
|
:param pulumi.Input[Union['TransferJobNotificationConfigArgs', 'TransferJobNotificationConfigArgsDict']] notification_config: Notification configuration. This is not supported for transfers involving PosixFilesystem. Structure documented below.
|
507
473
|
:param pulumi.Input[str] project: The project in which the resource belongs. If it
|
508
474
|
is not provided, the provider project is used.
|
509
|
-
:param pulumi.Input[Union['TransferJobReplicationSpecArgs', 'TransferJobReplicationSpecArgsDict']] replication_spec: Replication specification. Structure documented below. User should not configure `schedule`, `event_stream` with this argument. One of `transfer_spec`, or `replication_spec` must be specified.
|
510
|
-
|
511
|
-
- - -
|
512
475
|
:param pulumi.Input[Union['TransferJobScheduleArgs', 'TransferJobScheduleArgsDict']] schedule: Schedule specification defining when the Transfer Job should be scheduled to start, end and what time to run. Structure documented below. Either `schedule` or `event_stream` must be set.
|
513
476
|
:param pulumi.Input[str] status: Status of the job. Default: `ENABLED`. **NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from ENABLED to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation.**
|
514
|
-
:param pulumi.Input[Union['TransferJobTransferSpecArgs', 'TransferJobTransferSpecArgsDict']] transfer_spec: Transfer specification. Structure documented below.
|
477
|
+
:param pulumi.Input[Union['TransferJobTransferSpecArgs', 'TransferJobTransferSpecArgsDict']] transfer_spec: Transfer specification. Structure documented below.
|
478
|
+
|
479
|
+
- - -
|
515
480
|
"""
|
516
481
|
...
|
517
482
|
@overload
|
@@ -641,7 +606,6 @@ class TransferJob(pulumi.CustomResource):
|
|
641
606
|
name: Optional[pulumi.Input[str]] = None,
|
642
607
|
notification_config: Optional[pulumi.Input[Union['TransferJobNotificationConfigArgs', 'TransferJobNotificationConfigArgsDict']]] = None,
|
643
608
|
project: Optional[pulumi.Input[str]] = None,
|
644
|
-
replication_spec: Optional[pulumi.Input[Union['TransferJobReplicationSpecArgs', 'TransferJobReplicationSpecArgsDict']]] = None,
|
645
609
|
schedule: Optional[pulumi.Input[Union['TransferJobScheduleArgs', 'TransferJobScheduleArgsDict']]] = None,
|
646
610
|
status: Optional[pulumi.Input[str]] = None,
|
647
611
|
transfer_spec: Optional[pulumi.Input[Union['TransferJobTransferSpecArgs', 'TransferJobTransferSpecArgsDict']]] = None,
|
@@ -661,9 +625,10 @@ class TransferJob(pulumi.CustomResource):
|
|
661
625
|
__props__.__dict__["name"] = name
|
662
626
|
__props__.__dict__["notification_config"] = notification_config
|
663
627
|
__props__.__dict__["project"] = project
|
664
|
-
__props__.__dict__["replication_spec"] = replication_spec
|
665
628
|
__props__.__dict__["schedule"] = schedule
|
666
629
|
__props__.__dict__["status"] = status
|
630
|
+
if transfer_spec is None and not opts.urn:
|
631
|
+
raise TypeError("Missing required property 'transfer_spec'")
|
667
632
|
__props__.__dict__["transfer_spec"] = transfer_spec
|
668
633
|
__props__.__dict__["creation_time"] = None
|
669
634
|
__props__.__dict__["deletion_time"] = None
|
@@ -686,7 +651,6 @@ class TransferJob(pulumi.CustomResource):
|
|
686
651
|
name: Optional[pulumi.Input[str]] = None,
|
687
652
|
notification_config: Optional[pulumi.Input[Union['TransferJobNotificationConfigArgs', 'TransferJobNotificationConfigArgsDict']]] = None,
|
688
653
|
project: Optional[pulumi.Input[str]] = None,
|
689
|
-
replication_spec: Optional[pulumi.Input[Union['TransferJobReplicationSpecArgs', 'TransferJobReplicationSpecArgsDict']]] = None,
|
690
654
|
schedule: Optional[pulumi.Input[Union['TransferJobScheduleArgs', 'TransferJobScheduleArgsDict']]] = None,
|
691
655
|
status: Optional[pulumi.Input[str]] = None,
|
692
656
|
transfer_spec: Optional[pulumi.Input[Union['TransferJobTransferSpecArgs', 'TransferJobTransferSpecArgsDict']]] = None) -> 'TransferJob':
|
@@ -706,12 +670,11 @@ class TransferJob(pulumi.CustomResource):
|
|
706
670
|
:param pulumi.Input[Union['TransferJobNotificationConfigArgs', 'TransferJobNotificationConfigArgsDict']] notification_config: Notification configuration. This is not supported for transfers involving PosixFilesystem. Structure documented below.
|
707
671
|
:param pulumi.Input[str] project: The project in which the resource belongs. If it
|
708
672
|
is not provided, the provider project is used.
|
709
|
-
:param pulumi.Input[Union['TransferJobReplicationSpecArgs', 'TransferJobReplicationSpecArgsDict']] replication_spec: Replication specification. Structure documented below. User should not configure `schedule`, `event_stream` with this argument. One of `transfer_spec`, or `replication_spec` must be specified.
|
710
|
-
|
711
|
-
- - -
|
712
673
|
:param pulumi.Input[Union['TransferJobScheduleArgs', 'TransferJobScheduleArgsDict']] schedule: Schedule specification defining when the Transfer Job should be scheduled to start, end and what time to run. Structure documented below. Either `schedule` or `event_stream` must be set.
|
713
674
|
:param pulumi.Input[str] status: Status of the job. Default: `ENABLED`. **NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from ENABLED to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation.**
|
714
|
-
:param pulumi.Input[Union['TransferJobTransferSpecArgs', 'TransferJobTransferSpecArgsDict']] transfer_spec: Transfer specification. Structure documented below.
|
675
|
+
:param pulumi.Input[Union['TransferJobTransferSpecArgs', 'TransferJobTransferSpecArgsDict']] transfer_spec: Transfer specification. Structure documented below.
|
676
|
+
|
677
|
+
- - -
|
715
678
|
"""
|
716
679
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
717
680
|
|
@@ -725,7 +688,6 @@ class TransferJob(pulumi.CustomResource):
|
|
725
688
|
__props__.__dict__["name"] = name
|
726
689
|
__props__.__dict__["notification_config"] = notification_config
|
727
690
|
__props__.__dict__["project"] = project
|
728
|
-
__props__.__dict__["replication_spec"] = replication_spec
|
729
691
|
__props__.__dict__["schedule"] = schedule
|
730
692
|
__props__.__dict__["status"] = status
|
731
693
|
__props__.__dict__["transfer_spec"] = transfer_spec
|
@@ -796,16 +758,6 @@ class TransferJob(pulumi.CustomResource):
|
|
796
758
|
"""
|
797
759
|
return pulumi.get(self, "project")
|
798
760
|
|
799
|
-
@property
|
800
|
-
@pulumi.getter(name="replicationSpec")
|
801
|
-
def replication_spec(self) -> pulumi.Output[Optional['outputs.TransferJobReplicationSpec']]:
|
802
|
-
"""
|
803
|
-
Replication specification. Structure documented below. User should not configure `schedule`, `event_stream` with this argument. One of `transfer_spec`, or `replication_spec` must be specified.
|
804
|
-
|
805
|
-
- - -
|
806
|
-
"""
|
807
|
-
return pulumi.get(self, "replication_spec")
|
808
|
-
|
809
761
|
@property
|
810
762
|
@pulumi.getter
|
811
763
|
def schedule(self) -> pulumi.Output[Optional['outputs.TransferJobSchedule']]:
|
@@ -824,9 +776,11 @@ class TransferJob(pulumi.CustomResource):
|
|
824
776
|
|
825
777
|
@property
|
826
778
|
@pulumi.getter(name="transferSpec")
|
827
|
-
def transfer_spec(self) -> pulumi.Output[
|
779
|
+
def transfer_spec(self) -> pulumi.Output['outputs.TransferJobTransferSpec']:
|
828
780
|
"""
|
829
|
-
Transfer specification. Structure documented below.
|
781
|
+
Transfer specification. Structure documented below.
|
782
|
+
|
783
|
+
- - -
|
830
784
|
"""
|
831
785
|
return pulumi.get(self, "transfer_spec")
|
832
786
|
|