Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-mgmt-datafactory] Change PartitionOption to object #2888

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1329,18 +1329,11 @@
DayOfWeek,
DaysOfWeek,
RecurrenceFrequency,
DataFlowComputeType,
AzureFunctionActivityMethod,
WebActivityMethod,
OraclePartitionOption,
SalesforceSourceReadBehavior,
NetezzaPartitionOption,
CassandraSourceReadConsistencyLevels,
TeradataPartitionOption,
SqlPartitionOption,
StoredProcedureParameterType,
SapTablePartitionOption,
SapHanaPartitionOption,
SsisPackageLocationType,
HDInsightActivityDebugInfoOption,
SalesforceSinkWriteBehavior,
Expand All @@ -1359,9 +1352,16 @@
IntegrationRuntimeSsisCatalogPricingTier,
IntegrationRuntimeLicenseType,
IntegrationRuntimeEdition,
DataFlowComputeType,
SsisObjectMetadataType,
IntegrationRuntimeAuthKeyName,
CopyBehaviorType,
SqlPartitionOption,
SapHanaPartitionOption,
SapTablePartitionOption,
OraclePartitionOption,
TeradataPartitionOption,
NetezzaPartitionOption,
)

__all__ = [
Expand Down Expand Up @@ -2053,18 +2053,11 @@
'DayOfWeek',
'DaysOfWeek',
'RecurrenceFrequency',
'DataFlowComputeType',
'AzureFunctionActivityMethod',
'WebActivityMethod',
'OraclePartitionOption',
'SalesforceSourceReadBehavior',
'NetezzaPartitionOption',
'CassandraSourceReadConsistencyLevels',
'TeradataPartitionOption',
'SqlPartitionOption',
'StoredProcedureParameterType',
'SapTablePartitionOption',
'SapHanaPartitionOption',
'SsisPackageLocationType',
'HDInsightActivityDebugInfoOption',
'SalesforceSinkWriteBehavior',
Expand All @@ -2083,7 +2076,14 @@
'IntegrationRuntimeSsisCatalogPricingTier',
'IntegrationRuntimeLicenseType',
'IntegrationRuntimeEdition',
'DataFlowComputeType',
'SsisObjectMetadataType',
'IntegrationRuntimeAuthKeyName',
'CopyBehaviorType',
'SqlPartitionOption',
'SapHanaPartitionOption',
'SapTablePartitionOption',
'OraclePartitionOption',
'TeradataPartitionOption',
'NetezzaPartitionOption',
]
Original file line number Diff line number Diff line change
Expand Up @@ -384,13 +384,6 @@ class RecurrenceFrequency(str, Enum):
year = "Year"


class DataFlowComputeType(str, Enum):

general = "General"
memory_optimized = "MemoryOptimized"
compute_optimized = "ComputeOptimized"


class AzureFunctionActivityMethod(str, Enum):

get = "GET"
Expand All @@ -410,26 +403,12 @@ class WebActivityMethod(str, Enum):
delete = "DELETE"


class OraclePartitionOption(str, Enum):

none = "None"
physical_partitions_of_table = "PhysicalPartitionsOfTable"
dynamic_range = "DynamicRange"


class SalesforceSourceReadBehavior(str, Enum):

query = "Query"
query_all = "QueryAll"


class NetezzaPartitionOption(str, Enum):

none = "None"
data_slice = "DataSlice"
dynamic_range = "DynamicRange"


class CassandraSourceReadConsistencyLevels(str, Enum):

all = "ALL"
Expand All @@ -444,20 +423,6 @@ class CassandraSourceReadConsistencyLevels(str, Enum):
local_serial = "LOCAL_SERIAL"


class TeradataPartitionOption(str, Enum):

none = "None"
hash = "Hash"
dynamic_range = "DynamicRange"


class SqlPartitionOption(str, Enum):

none = "None"
physical_partitions_of_table = "PhysicalPartitionsOfTable"
dynamic_range = "DynamicRange"


class StoredProcedureParameterType(str, Enum):

string = "String"
Expand All @@ -469,23 +434,6 @@ class StoredProcedureParameterType(str, Enum):
date_enum = "Date"


class SapTablePartitionOption(str, Enum):

none = "None"
partition_on_int = "PartitionOnInt"
partition_on_calendar_year = "PartitionOnCalendarYear"
partition_on_calendar_month = "PartitionOnCalendarMonth"
partition_on_calendar_date = "PartitionOnCalendarDate"
partition_on_time = "PartitionOnTime"


class SapHanaPartitionOption(str, Enum):

none = "None"
physical_partitions_of_table = "PhysicalPartitionsOfTable"
sap_hana_dynamic_range = "SapHanaDynamicRange"


class SsisPackageLocationType(str, Enum):

ssisdb = "SSISDB"
Expand Down Expand Up @@ -606,6 +554,13 @@ class IntegrationRuntimeEdition(str, Enum):
enterprise = "Enterprise"


class DataFlowComputeType(str, Enum):

general = "General"
memory_optimized = "MemoryOptimized"
compute_optimized = "ComputeOptimized"


class SsisObjectMetadataType(str, Enum):

folder = "Folder"
Expand All @@ -625,3 +580,48 @@ class CopyBehaviorType(str, Enum):
preserve_hierarchy = "PreserveHierarchy"
flatten_hierarchy = "FlattenHierarchy"
merge_files = "MergeFiles"


class SqlPartitionOption(str, Enum):

none = "None"
physical_partitions_of_table = "PhysicalPartitionsOfTable"
dynamic_range = "DynamicRange"


class SapHanaPartitionOption(str, Enum):

none = "None"
physical_partitions_of_table = "PhysicalPartitionsOfTable"
sap_hana_dynamic_range = "SapHanaDynamicRange"


class SapTablePartitionOption(str, Enum):

none = "None"
partition_on_int = "PartitionOnInt"
partition_on_calendar_year = "PartitionOnCalendarYear"
partition_on_calendar_month = "PartitionOnCalendarMonth"
partition_on_calendar_date = "PartitionOnCalendarDate"
partition_on_time = "PartitionOnTime"


class OraclePartitionOption(str, Enum):

none = "None"
physical_partitions_of_table = "PhysicalPartitionsOfTable"
dynamic_range = "DynamicRange"


class TeradataPartitionOption(str, Enum):

none = "None"
hash = "Hash"
dynamic_range = "DynamicRange"


class NetezzaPartitionOption(str, Enum):

none = "None"
data_slice = "DataSlice"
dynamic_range = "DynamicRange"
Loading