azure_mgmt_synapse 0.17.2 → 0.17.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse.rb +126 -69
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/big_data_pools.rb +2 -2
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/data_masking_policies.rb +253 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/data_masking_rules.rb +267 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/extended_sql_pool_blob_auditing_policies.rb +483 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/integration_runtime_auth_keys_operations.rb +6 -6
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/integration_runtime_connection_infos.rb +3 -3
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/integration_runtime_credentials.rb +3 -3
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/integration_runtime_monitoring_data_operations.rb +8 -8
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/integration_runtime_node_ip_address_operations.rb +3 -3
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/integration_runtime_nodes.rb +9 -9
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/integration_runtime_object_metadata.rb +62 -14
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/integration_runtime_status_operations.rb +3 -3
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/integration_runtimes.rb +586 -118
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/ip_firewall_rules.rb +3 -3
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/keys.rb +569 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/azure_entity_resource.rb +3 -1
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/big_data_pool_resource_info.rb +47 -1
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/customer_managed_key_details.rb +59 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/data_masking_function.rb +20 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/data_masking_policy.rb +153 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/data_masking_rule.rb +243 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/data_masking_rule_list_result.rb +56 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/data_masking_rule_state.rb +16 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/data_masking_state.rb +16 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/encryption_details.rb +59 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/error_response.rb +5 -1
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/extended_server_blob_auditing_policy.rb +292 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/extended_server_blob_auditing_policy_list_result.rb +102 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/extended_sql_pool_blob_auditing_policy.rb +292 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/extended_sql_pool_blob_auditing_policy_list_result.rb +102 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/geo_backup_policy_list_result.rb +55 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/key.rb +85 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/key_info_list_result.rb +98 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/list_sql_pool_security_alert_policies.rb +100 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/managed_identity.rb +1 -1
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/managed_virtual_network_settings.rb +76 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/metadata_sync_config.rb +11 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/node_size.rb +3 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/private_endpoint_connection_for_private_link_hub.rb +95 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/private_endpoint_connection_for_private_link_hub_basic.rb +86 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/private_endpoint_connection_for_private_link_hub_resource_collection_response.rb +103 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/private_link_hub.rb +23 -3
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/private_link_service_connection_state.rb +1 -2
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/proxy_resource.rb +4 -2
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/{resource_move_definition.rb → purview_configuration.rb} +10 -10
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/recoverable_sql_pool.rb +111 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/recoverable_sql_pool_list_result.rb +100 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/resource.rb +8 -5
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/restorable_dropped_sql_pool.rb +171 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/restorable_dropped_sql_pool_list_result.rb +56 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/self_hosted_integration_runtime.rb +2 -1
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/self_hosted_integration_runtime_status.rb +12 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/sensitivity_label_source.rb +16 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/server_blob_auditing_policy.rb +280 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/server_blob_auditing_policy_list_result.rb +100 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/server_security_alert_policy.rb +179 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/server_security_alert_policy_list_result.rb +100 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/server_usage.rb +119 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/server_usage_list_result.rb +99 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/server_vulnerability_assessment.rb +114 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/server_vulnerability_assessment_list_result.rb +101 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/sku.rb +13 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/sql_pool.rb +2 -2
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/sql_pool_blob_auditing_policy_list_result.rb +100 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/sql_pool_patch_info.rb +2 -2
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/sub_resource.rb +2 -14
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/tracked_resource.rb +4 -1
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/transparent_data_encryption_list_result.rb +100 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/workload_classifier.rb +128 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/workload_classifier_list_result.rb +100 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/workload_group.rb +128 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/workload_group_list_result.rb +100 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/workspace.rb +87 -2
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/workspace_key_details.rb +57 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/workspace_patch_info.rb +37 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/workspace_repository_configuration.rb +114 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/operations.rb +5 -15
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/private_endpoint_connections.rb +48 -30
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/private_endpoint_connections_private_link_hub.rb +244 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/private_link_hubs.rb +123 -83
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/private_link_resources.rb +3 -3
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/restorable_dropped_sql_pools.rb +236 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_blob_auditing_policies.rb +220 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_columns.rb +143 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_connection_policies.rb +1 -1
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_geo_backup_policies.rb +113 -1
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_operation_results.rb +2 -2
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_replication_links.rb +118 -2
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_restore_points.rb +211 -2
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_schemas.rb +110 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_security_alert_policies.rb +234 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_sensitivity_labels.rb +127 -2
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_tables.rb +114 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_transparent_data_encryptions.rb +236 -2
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_usages.rb +2 -2
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_vulnerability_assessment_rule_baselines.rb +124 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_vulnerability_assessment_scans.rb +114 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_vulnerability_assessments.rb +1 -1
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_workload_classifier.rb +741 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pool_workload_group.rb +715 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/sql_pools.rb +6 -121
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/synapse_management_client.rb +73 -1
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/workspace_aad_admins.rb +2 -2
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/workspace_managed_identity_sql_control_settings.rb +1 -1
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/workspace_managed_sql_server_blob_auditing_policies.rb +536 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/workspace_managed_sql_server_extended_blob_auditing_policies.rb +540 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/workspace_managed_sql_server_recoverable_sqlpools.rb +366 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/workspace_managed_sql_server_security_alert_policy.rb +536 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/workspace_managed_sql_server_usages.rb +254 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/workspace_managed_sql_server_vulnerability_assessments.rb +601 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/workspace_sql_aad_admins.rb +432 -0
- data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/workspaces.rb +4 -4
- data/lib/profiles/latest/modules/synapse_profile_module.rb +404 -208
- data/lib/version.rb +1 -1
- metadata +61 -4
data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/integration_runtime_auth_keys_operations.rb
CHANGED
@@ -28,7 +28,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
28
28
|
#
|
29
29
|
# @param resource_group_name [String] The name of the resource group. The name
|
30
30
|
# is case insensitive.
|
31
|
-
# @param workspace_name [String] The name of the workspace
|
31
|
+
# @param workspace_name [String] The name of the workspace.
|
32
32
|
# @param integration_runtime_name [String] Integration runtime name
|
33
33
|
# @param regenerate_key_parameters [IntegrationRuntimeRegenerateKeyParameters]
|
34
34
|
# The parameters for regenerating integration runtime authentication key.
|
@@ -49,7 +49,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
49
49
|
#
|
50
50
|
# @param resource_group_name [String] The name of the resource group. The name
|
51
51
|
# is case insensitive.
|
52
|
-
# @param workspace_name [String] The name of the workspace
|
52
|
+
# @param workspace_name [String] The name of the workspace.
|
53
53
|
# @param integration_runtime_name [String] Integration runtime name
|
54
54
|
# @param regenerate_key_parameters [IntegrationRuntimeRegenerateKeyParameters]
|
55
55
|
# The parameters for regenerating integration runtime authentication key.
|
@@ -69,7 +69,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
69
69
|
#
|
70
70
|
# @param resource_group_name [String] The name of the resource group. The name
|
71
71
|
# is case insensitive.
|
72
|
-
# @param workspace_name [String] The name of the workspace
|
72
|
+
# @param workspace_name [String] The name of the workspace.
|
73
73
|
# @param integration_runtime_name [String] Integration runtime name
|
74
74
|
# @param regenerate_key_parameters [IntegrationRuntimeRegenerateKeyParameters]
|
75
75
|
# The parameters for regenerating integration runtime authentication key.
|
@@ -154,7 +154,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
154
154
|
#
|
155
155
|
# @param resource_group_name [String] The name of the resource group. The name
|
156
156
|
# is case insensitive.
|
157
|
-
# @param workspace_name [String] The name of the workspace
|
157
|
+
# @param workspace_name [String] The name of the workspace.
|
158
158
|
# @param integration_runtime_name [String] Integration runtime name
|
159
159
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
160
160
|
# will be added to the HTTP request.
|
@@ -173,7 +173,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
173
173
|
#
|
174
174
|
# @param resource_group_name [String] The name of the resource group. The name
|
175
175
|
# is case insensitive.
|
176
|
-
# @param workspace_name [String] The name of the workspace
|
176
|
+
# @param workspace_name [String] The name of the workspace.
|
177
177
|
# @param integration_runtime_name [String] Integration runtime name
|
178
178
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
179
179
|
# will be added to the HTTP request.
|
@@ -191,7 +191,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
191
191
|
#
|
192
192
|
# @param resource_group_name [String] The name of the resource group. The name
|
193
193
|
# is case insensitive.
|
194
|
-
# @param workspace_name [String] The name of the workspace
|
194
|
+
# @param workspace_name [String] The name of the workspace.
|
195
195
|
# @param integration_runtime_name [String] Integration runtime name
|
196
196
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
197
197
|
# to the HTTP request.
|
data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/integration_runtime_connection_infos.rb
CHANGED
@@ -28,7 +28,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
28
28
|
#
|
29
29
|
# @param resource_group_name [String] The name of the resource group. The name
|
30
30
|
# is case insensitive.
|
31
|
-
# @param workspace_name [String] The name of the workspace
|
31
|
+
# @param workspace_name [String] The name of the workspace.
|
32
32
|
# @param integration_runtime_name [String] Integration runtime name
|
33
33
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
34
34
|
# will be added to the HTTP request.
|
@@ -47,7 +47,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
47
47
|
#
|
48
48
|
# @param resource_group_name [String] The name of the resource group. The name
|
49
49
|
# is case insensitive.
|
50
|
-
# @param workspace_name [String] The name of the workspace
|
50
|
+
# @param workspace_name [String] The name of the workspace.
|
51
51
|
# @param integration_runtime_name [String] Integration runtime name
|
52
52
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
53
53
|
# will be added to the HTTP request.
|
@@ -65,7 +65,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
65
65
|
#
|
66
66
|
# @param resource_group_name [String] The name of the resource group. The name
|
67
67
|
# is case insensitive.
|
68
|
-
# @param workspace_name [String] The name of the workspace
|
68
|
+
# @param workspace_name [String] The name of the workspace.
|
69
69
|
# @param integration_runtime_name [String] Integration runtime name
|
70
70
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
71
71
|
# to the HTTP request.
|
@@ -32,7 +32,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
32
32
|
#
|
33
33
|
# @param resource_group_name [String] The name of the resource group. The name
|
34
34
|
# is case insensitive.
|
35
|
-
# @param workspace_name [String] The name of the workspace
|
35
|
+
# @param workspace_name [String] The name of the workspace.
|
36
36
|
# @param integration_runtime_name [String] Integration runtime name
|
37
37
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
38
38
|
# will be added to the HTTP request.
|
@@ -54,7 +54,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
54
54
|
#
|
55
55
|
# @param resource_group_name [String] The name of the resource group. The name
|
56
56
|
# is case insensitive.
|
57
|
-
# @param workspace_name [String] The name of the workspace
|
57
|
+
# @param workspace_name [String] The name of the workspace.
|
58
58
|
# @param integration_runtime_name [String] Integration runtime name
|
59
59
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
60
60
|
# will be added to the HTTP request.
|
@@ -76,7 +76,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
76
76
|
#
|
77
77
|
# @param resource_group_name [String] The name of the resource group. The name
|
78
78
|
# is case insensitive.
|
79
|
-
# @param workspace_name [String] The name of the workspace
|
79
|
+
# @param workspace_name [String] The name of the workspace.
|
80
80
|
# @param integration_runtime_name [String] Integration runtime name
|
81
81
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
82
82
|
# to the HTTP request.
|
@@ -28,15 +28,15 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
28
28
|
#
|
29
29
|
# @param resource_group_name [String] The name of the resource group. The name
|
30
30
|
# is case insensitive.
|
31
|
-
# @param workspace_name [String] The name of the workspace
|
31
|
+
# @param workspace_name [String] The name of the workspace.
|
32
32
|
# @param integration_runtime_name [String] Integration runtime name
|
33
33
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
34
34
|
# will be added to the HTTP request.
|
35
35
|
#
|
36
36
|
# @return [IntegrationRuntimeMonitoringData] operation results.
|
37
37
|
#
|
38
|
-
def
|
39
|
-
response =
|
38
|
+
def list(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
39
|
+
response = list_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
40
40
|
response.body unless response.nil?
|
41
41
|
end
|
42
42
|
|
@@ -47,15 +47,15 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
47
47
|
#
|
48
48
|
# @param resource_group_name [String] The name of the resource group. The name
|
49
49
|
# is case insensitive.
|
50
|
-
# @param workspace_name [String] The name of the workspace
|
50
|
+
# @param workspace_name [String] The name of the workspace.
|
51
51
|
# @param integration_runtime_name [String] Integration runtime name
|
52
52
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
53
53
|
# will be added to the HTTP request.
|
54
54
|
#
|
55
55
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
56
56
|
#
|
57
|
-
def
|
58
|
-
|
57
|
+
def list_with_http_info(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
58
|
+
list_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
59
59
|
end
|
60
60
|
|
61
61
|
#
|
@@ -65,14 +65,14 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
65
65
|
#
|
66
66
|
# @param resource_group_name [String] The name of the resource group. The name
|
67
67
|
# is case insensitive.
|
68
|
-
# @param workspace_name [String] The name of the workspace
|
68
|
+
# @param workspace_name [String] The name of the workspace.
|
69
69
|
# @param integration_runtime_name [String] Integration runtime name
|
70
70
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
71
71
|
# to the HTTP request.
|
72
72
|
#
|
73
73
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
74
74
|
#
|
75
|
-
def
|
75
|
+
def list_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
76
76
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
77
77
|
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
78
78
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -28,7 +28,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
28
28
|
#
|
29
29
|
# @param resource_group_name [String] The name of the resource group. The name
|
30
30
|
# is case insensitive.
|
31
|
-
# @param workspace_name [String] The name of the workspace
|
31
|
+
# @param workspace_name [String] The name of the workspace.
|
32
32
|
# @param integration_runtime_name [String] Integration runtime name
|
33
33
|
# @param node_name [String] Integration runtime node name
|
34
34
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -48,7 +48,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
48
48
|
#
|
49
49
|
# @param resource_group_name [String] The name of the resource group. The name
|
50
50
|
# is case insensitive.
|
51
|
-
# @param workspace_name [String] The name of the workspace
|
51
|
+
# @param workspace_name [String] The name of the workspace.
|
52
52
|
# @param integration_runtime_name [String] Integration runtime name
|
53
53
|
# @param node_name [String] Integration runtime node name
|
54
54
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -67,7 +67,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
67
67
|
#
|
68
68
|
# @param resource_group_name [String] The name of the resource group. The name
|
69
69
|
# is case insensitive.
|
70
|
-
# @param workspace_name [String] The name of the workspace
|
70
|
+
# @param workspace_name [String] The name of the workspace.
|
71
71
|
# @param integration_runtime_name [String] Integration runtime name
|
72
72
|
# @param node_name [String] Integration runtime node name
|
73
73
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -28,7 +28,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
28
28
|
#
|
29
29
|
# @param resource_group_name [String] The name of the resource group. The name
|
30
30
|
# is case insensitive.
|
31
|
-
# @param workspace_name [String] The name of the workspace
|
31
|
+
# @param workspace_name [String] The name of the workspace.
|
32
32
|
# @param integration_runtime_name [String] Integration runtime name
|
33
33
|
# @param node_name [String] Integration runtime node name
|
34
34
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -48,7 +48,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
48
48
|
#
|
49
49
|
# @param resource_group_name [String] The name of the resource group. The name
|
50
50
|
# is case insensitive.
|
51
|
-
# @param workspace_name [String] The name of the workspace
|
51
|
+
# @param workspace_name [String] The name of the workspace.
|
52
52
|
# @param integration_runtime_name [String] Integration runtime name
|
53
53
|
# @param node_name [String] Integration runtime node name
|
54
54
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -67,7 +67,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
67
67
|
#
|
68
68
|
# @param resource_group_name [String] The name of the resource group. The name
|
69
69
|
# is case insensitive.
|
70
|
-
# @param workspace_name [String] The name of the workspace
|
70
|
+
# @param workspace_name [String] The name of the workspace.
|
71
71
|
# @param integration_runtime_name [String] Integration runtime name
|
72
72
|
# @param node_name [String] Integration runtime node name
|
73
73
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -144,7 +144,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
144
144
|
#
|
145
145
|
# @param resource_group_name [String] The name of the resource group. The name
|
146
146
|
# is case insensitive.
|
147
|
-
# @param workspace_name [String] The name of the workspace
|
147
|
+
# @param workspace_name [String] The name of the workspace.
|
148
148
|
# @param integration_runtime_name [String] Integration runtime name
|
149
149
|
# @param node_name [String] Integration runtime node name
|
150
150
|
# @param update_integration_runtime_node_request
|
@@ -167,7 +167,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
167
167
|
#
|
168
168
|
# @param resource_group_name [String] The name of the resource group. The name
|
169
169
|
# is case insensitive.
|
170
|
-
# @param workspace_name [String] The name of the workspace
|
170
|
+
# @param workspace_name [String] The name of the workspace.
|
171
171
|
# @param integration_runtime_name [String] Integration runtime name
|
172
172
|
# @param node_name [String] Integration runtime node name
|
173
173
|
# @param update_integration_runtime_node_request
|
@@ -189,7 +189,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
189
189
|
#
|
190
190
|
# @param resource_group_name [String] The name of the resource group. The name
|
191
191
|
# is case insensitive.
|
192
|
-
# @param workspace_name [String] The name of the workspace
|
192
|
+
# @param workspace_name [String] The name of the workspace.
|
193
193
|
# @param integration_runtime_name [String] Integration runtime name
|
194
194
|
# @param node_name [String] Integration runtime node name
|
195
195
|
# @param update_integration_runtime_node_request
|
@@ -277,7 +277,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
277
277
|
#
|
278
278
|
# @param resource_group_name [String] The name of the resource group. The name
|
279
279
|
# is case insensitive.
|
280
|
-
# @param workspace_name [String] The name of the workspace
|
280
|
+
# @param workspace_name [String] The name of the workspace.
|
281
281
|
# @param integration_runtime_name [String] Integration runtime name
|
282
282
|
# @param node_name [String] Integration runtime node name
|
283
283
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -296,7 +296,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
296
296
|
#
|
297
297
|
# @param resource_group_name [String] The name of the resource group. The name
|
298
298
|
# is case insensitive.
|
299
|
-
# @param workspace_name [String] The name of the workspace
|
299
|
+
# @param workspace_name [String] The name of the workspace.
|
300
300
|
# @param integration_runtime_name [String] Integration runtime name
|
301
301
|
# @param node_name [String] Integration runtime node name
|
302
302
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -315,7 +315,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
315
315
|
#
|
316
316
|
# @param resource_group_name [String] The name of the resource group. The name
|
317
317
|
# is case insensitive.
|
318
|
-
# @param workspace_name [String] The name of the workspace
|
318
|
+
# @param workspace_name [String] The name of the workspace.
|
319
319
|
# @param integration_runtime_name [String] Integration runtime name
|
320
320
|
# @param node_name [String] Integration runtime node name
|
321
321
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/integration_runtime_object_metadata.rb
CHANGED
@@ -28,7 +28,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
28
28
|
#
|
29
29
|
# @param resource_group_name [String] The name of the resource group. The name
|
30
30
|
# is case insensitive.
|
31
|
-
# @param workspace_name [String] The name of the workspace
|
31
|
+
# @param workspace_name [String] The name of the workspace.
|
32
32
|
# @param integration_runtime_name [String] Integration runtime name
|
33
33
|
# @param get_metadata_request [GetSsisObjectMetadataRequest] The parameters for
|
34
34
|
# getting a SSIS object metadata.
|
@@ -37,8 +37,8 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
37
37
|
#
|
38
38
|
# @return [SsisObjectMetadataListResponse] operation results.
|
39
39
|
#
|
40
|
-
def
|
41
|
-
response =
|
40
|
+
def list(resource_group_name, workspace_name, integration_runtime_name, get_metadata_request:nil, custom_headers:nil)
|
41
|
+
response = list_async(resource_group_name, workspace_name, integration_runtime_name, get_metadata_request:get_metadata_request, custom_headers:custom_headers).value!
|
42
42
|
response.body unless response.nil?
|
43
43
|
end
|
44
44
|
|
@@ -49,7 +49,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
49
49
|
#
|
50
50
|
# @param resource_group_name [String] The name of the resource group. The name
|
51
51
|
# is case insensitive.
|
52
|
-
# @param workspace_name [String] The name of the workspace
|
52
|
+
# @param workspace_name [String] The name of the workspace.
|
53
53
|
# @param integration_runtime_name [String] Integration runtime name
|
54
54
|
# @param get_metadata_request [GetSsisObjectMetadataRequest] The parameters for
|
55
55
|
# getting a SSIS object metadata.
|
@@ -58,8 +58,8 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
58
58
|
#
|
59
59
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
60
60
|
#
|
61
|
-
def
|
62
|
-
|
61
|
+
def list_with_http_info(resource_group_name, workspace_name, integration_runtime_name, get_metadata_request:nil, custom_headers:nil)
|
62
|
+
list_async(resource_group_name, workspace_name, integration_runtime_name, get_metadata_request:get_metadata_request, custom_headers:custom_headers).value!
|
63
63
|
end
|
64
64
|
|
65
65
|
#
|
@@ -69,7 +69,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
69
69
|
#
|
70
70
|
# @param resource_group_name [String] The name of the resource group. The name
|
71
71
|
# is case insensitive.
|
72
|
-
# @param workspace_name [String] The name of the workspace
|
72
|
+
# @param workspace_name [String] The name of the workspace.
|
73
73
|
# @param integration_runtime_name [String] Integration runtime name
|
74
74
|
# @param get_metadata_request [GetSsisObjectMetadataRequest] The parameters for
|
75
75
|
# getting a SSIS object metadata.
|
@@ -78,7 +78,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
78
78
|
#
|
79
79
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
80
80
|
#
|
81
|
-
def
|
81
|
+
def list_async(resource_group_name, workspace_name, integration_runtime_name, get_metadata_request:nil, custom_headers:nil)
|
82
82
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
83
83
|
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
84
84
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -153,7 +153,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
153
153
|
#
|
154
154
|
# @param resource_group_name [String] The name of the resource group. The name
|
155
155
|
# is case insensitive.
|
156
|
-
# @param workspace_name [String] The name of the workspace
|
156
|
+
# @param workspace_name [String] The name of the workspace.
|
157
157
|
# @param integration_runtime_name [String] Integration runtime name
|
158
158
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
159
159
|
# will be added to the HTTP request.
|
@@ -165,6 +165,35 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
165
165
|
response.body unless response.nil?
|
166
166
|
end
|
167
167
|
|
168
|
+
#
|
169
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
170
|
+
# is case insensitive.
|
171
|
+
# @param workspace_name [String] The name of the workspace.
|
172
|
+
# @param integration_runtime_name [String] Integration runtime name
|
173
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
174
|
+
# will be added to the HTTP request.
|
175
|
+
#
|
176
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
177
|
+
# response.
|
178
|
+
#
|
179
|
+
def refresh_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
180
|
+
# Send request
|
181
|
+
promise = begin_refresh_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers)
|
182
|
+
|
183
|
+
promise = promise.then do |response|
|
184
|
+
# Defining deserialization method.
|
185
|
+
deserialize_method = lambda do |parsed_response|
|
186
|
+
result_mapper = Azure::Synapse::Mgmt::V2019_06_01_preview::Models::SsisObjectMetadataStatusResponse.mapper()
|
187
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
188
|
+
end
|
189
|
+
|
190
|
+
# Waiting for response.
|
191
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
192
|
+
end
|
193
|
+
|
194
|
+
promise
|
195
|
+
end
|
196
|
+
|
168
197
|
#
|
169
198
|
# Refresh integration runtime object metadata
|
170
199
|
#
|
@@ -172,15 +201,34 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
172
201
|
#
|
173
202
|
# @param resource_group_name [String] The name of the resource group. The name
|
174
203
|
# is case insensitive.
|
175
|
-
# @param workspace_name [String] The name of the workspace
|
204
|
+
# @param workspace_name [String] The name of the workspace.
|
205
|
+
# @param integration_runtime_name [String] Integration runtime name
|
206
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
207
|
+
# will be added to the HTTP request.
|
208
|
+
#
|
209
|
+
# @return [SsisObjectMetadataStatusResponse] operation results.
|
210
|
+
#
|
211
|
+
def begin_refresh(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
212
|
+
response = begin_refresh_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
213
|
+
response.body unless response.nil?
|
214
|
+
end
|
215
|
+
|
216
|
+
#
|
217
|
+
# Refresh integration runtime object metadata
|
218
|
+
#
|
219
|
+
# Refresh the object metadata in an integration runtime
|
220
|
+
#
|
221
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
222
|
+
# is case insensitive.
|
223
|
+
# @param workspace_name [String] The name of the workspace.
|
176
224
|
# @param integration_runtime_name [String] Integration runtime name
|
177
225
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
178
226
|
# will be added to the HTTP request.
|
179
227
|
#
|
180
228
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
181
229
|
#
|
182
|
-
def
|
183
|
-
|
230
|
+
def begin_refresh_with_http_info(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
231
|
+
begin_refresh_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
184
232
|
end
|
185
233
|
|
186
234
|
#
|
@@ -190,14 +238,14 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
190
238
|
#
|
191
239
|
# @param resource_group_name [String] The name of the resource group. The name
|
192
240
|
# is case insensitive.
|
193
|
-
# @param workspace_name [String] The name of the workspace
|
241
|
+
# @param workspace_name [String] The name of the workspace.
|
194
242
|
# @param integration_runtime_name [String] Integration runtime name
|
195
243
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
196
244
|
# to the HTTP request.
|
197
245
|
#
|
198
246
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
199
247
|
#
|
200
|
-
def
|
248
|
+
def begin_refresh_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
201
249
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
202
250
|
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
203
251
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
data/lib/2019-06-01-preview/generated/azure_mgmt_synapse/integration_runtime_status_operations.rb
CHANGED
@@ -28,7 +28,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
28
28
|
#
|
29
29
|
# @param resource_group_name [String] The name of the resource group. The name
|
30
30
|
# is case insensitive.
|
31
|
-
# @param workspace_name [String] The name of the workspace
|
31
|
+
# @param workspace_name [String] The name of the workspace.
|
32
32
|
# @param integration_runtime_name [String] Integration runtime name
|
33
33
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
34
34
|
# will be added to the HTTP request.
|
@@ -47,7 +47,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
47
47
|
#
|
48
48
|
# @param resource_group_name [String] The name of the resource group. The name
|
49
49
|
# is case insensitive.
|
50
|
-
# @param workspace_name [String] The name of the workspace
|
50
|
+
# @param workspace_name [String] The name of the workspace.
|
51
51
|
# @param integration_runtime_name [String] Integration runtime name
|
52
52
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
53
53
|
# will be added to the HTTP request.
|
@@ -65,7 +65,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
65
65
|
#
|
66
66
|
# @param resource_group_name [String] The name of the resource group. The name
|
67
67
|
# is case insensitive.
|
68
|
-
# @param workspace_name [String] The name of the workspace
|
68
|
+
# @param workspace_name [String] The name of the workspace.
|
69
69
|
# @param integration_runtime_name [String] Integration runtime name
|
70
70
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
71
71
|
# to the HTTP request.
|
@@ -28,7 +28,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
28
28
|
#
|
29
29
|
# @param resource_group_name [String] The name of the resource group. The name
|
30
30
|
# is case insensitive.
|
31
|
-
# @param workspace_name [String] The name of the workspace
|
31
|
+
# @param workspace_name [String] The name of the workspace.
|
32
32
|
# @param integration_runtime_name [String] Integration runtime name
|
33
33
|
# @param update_integration_runtime_request [UpdateIntegrationRuntimeRequest]
|
34
34
|
# The parameters for updating an integration runtime.
|
@@ -49,7 +49,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
49
49
|
#
|
50
50
|
# @param resource_group_name [String] The name of the resource group. The name
|
51
51
|
# is case insensitive.
|
52
|
-
# @param workspace_name [String] The name of the workspace
|
52
|
+
# @param workspace_name [String] The name of the workspace.
|
53
53
|
# @param integration_runtime_name [String] Integration runtime name
|
54
54
|
# @param update_integration_runtime_request [UpdateIntegrationRuntimeRequest]
|
55
55
|
# The parameters for updating an integration runtime.
|
@@ -69,7 +69,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
69
69
|
#
|
70
70
|
# @param resource_group_name [String] The name of the resource group. The name
|
71
71
|
# is case insensitive.
|
72
|
-
# @param workspace_name [String] The name of the workspace
|
72
|
+
# @param workspace_name [String] The name of the workspace.
|
73
73
|
# @param integration_runtime_name [String] Integration runtime name
|
74
74
|
# @param update_integration_runtime_request [UpdateIntegrationRuntimeRequest]
|
75
75
|
# The parameters for updating an integration runtime.
|
@@ -154,7 +154,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
154
154
|
#
|
155
155
|
# @param resource_group_name [String] The name of the resource group. The name
|
156
156
|
# is case insensitive.
|
157
|
-
# @param workspace_name [String] The name of the workspace
|
157
|
+
# @param workspace_name [String] The name of the workspace.
|
158
158
|
# @param integration_runtime_name [String] Integration runtime name
|
159
159
|
# @param if_none_match [String] ETag of the integration runtime entity. Should
|
160
160
|
# only be specified for get. If the ETag matches the existing entity tag, or if
|
@@ -176,7 +176,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
176
176
|
#
|
177
177
|
# @param resource_group_name [String] The name of the resource group. The name
|
178
178
|
# is case insensitive.
|
179
|
-
# @param workspace_name [String] The name of the workspace
|
179
|
+
# @param workspace_name [String] The name of the workspace.
|
180
180
|
# @param integration_runtime_name [String] Integration runtime name
|
181
181
|
# @param if_none_match [String] ETag of the integration runtime entity. Should
|
182
182
|
# only be specified for get. If the ETag matches the existing entity tag, or if
|
@@ -197,7 +197,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
197
197
|
#
|
198
198
|
# @param resource_group_name [String] The name of the resource group. The name
|
199
199
|
# is case insensitive.
|
200
|
-
# @param workspace_name [String] The name of the workspace
|
200
|
+
# @param workspace_name [String] The name of the workspace.
|
201
201
|
# @param integration_runtime_name [String] Integration runtime name
|
202
202
|
# @param if_none_match [String] ETag of the integration runtime entity. Should
|
203
203
|
# only be specified for get. If the ETag matches the existing entity tag, or if
|
@@ -276,7 +276,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
276
276
|
#
|
277
277
|
# @param resource_group_name [String] The name of the resource group. The name
|
278
278
|
# is case insensitive.
|
279
|
-
# @param workspace_name [String] The name of the workspace
|
279
|
+
# @param workspace_name [String] The name of the workspace.
|
280
280
|
# @param integration_runtime_name [String] Integration runtime name
|
281
281
|
# @param integration_runtime [IntegrationRuntimeResource] Integration runtime
|
282
282
|
# resource definition.
|
@@ -293,6 +293,493 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
293
293
|
response.body unless response.nil?
|
294
294
|
end
|
295
295
|
|
296
|
+
#
|
297
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
298
|
+
# is case insensitive.
|
299
|
+
# @param workspace_name [String] The name of the workspace.
|
300
|
+
# @param integration_runtime_name [String] Integration runtime name
|
301
|
+
# @param integration_runtime [IntegrationRuntimeResource] Integration runtime
|
302
|
+
# resource definition.
|
303
|
+
# @param if_match [String] ETag of the integration runtime entity. Should only
|
304
|
+
# be specified for update, for which it should match existing entity or can be
|
305
|
+
# * for unconditional update.
|
306
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
307
|
+
# will be added to the HTTP request.
|
308
|
+
#
|
309
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
310
|
+
# response.
|
311
|
+
#
|
312
|
+
def create_async(resource_group_name, workspace_name, integration_runtime_name, integration_runtime, if_match:nil, custom_headers:nil)
|
313
|
+
# Send request
|
314
|
+
promise = begin_create_async(resource_group_name, workspace_name, integration_runtime_name, integration_runtime, if_match:if_match, custom_headers:custom_headers)
|
315
|
+
|
316
|
+
promise = promise.then do |response|
|
317
|
+
# Defining deserialization method.
|
318
|
+
deserialize_method = lambda do |parsed_response|
|
319
|
+
result_mapper = Azure::Synapse::Mgmt::V2019_06_01_preview::Models::IntegrationRuntimeResource.mapper()
|
320
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
321
|
+
end
|
322
|
+
|
323
|
+
# Waiting for response.
|
324
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
325
|
+
end
|
326
|
+
|
327
|
+
promise
|
328
|
+
end
|
329
|
+
|
330
|
+
#
|
331
|
+
# Delete integration runtime
|
332
|
+
#
|
333
|
+
# Delete an integration runtime
|
334
|
+
#
|
335
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
336
|
+
# is case insensitive.
|
337
|
+
# @param workspace_name [String] The name of the workspace.
|
338
|
+
# @param integration_runtime_name [String] Integration runtime name
|
339
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
340
|
+
# will be added to the HTTP request.
|
341
|
+
#
|
342
|
+
def delete(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
343
|
+
response = delete_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
344
|
+
nil
|
345
|
+
end
|
346
|
+
|
347
|
+
#
|
348
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
349
|
+
# is case insensitive.
|
350
|
+
# @param workspace_name [String] The name of the workspace.
|
351
|
+
# @param integration_runtime_name [String] Integration runtime name
|
352
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
353
|
+
# will be added to the HTTP request.
|
354
|
+
#
|
355
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
356
|
+
# response.
|
357
|
+
#
|
358
|
+
def delete_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
359
|
+
# Send request
|
360
|
+
promise = begin_delete_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers)
|
361
|
+
|
362
|
+
promise = promise.then do |response|
|
363
|
+
# Defining deserialization method.
|
364
|
+
deserialize_method = lambda do |parsed_response|
|
365
|
+
end
|
366
|
+
|
367
|
+
# Waiting for response.
|
368
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
369
|
+
end
|
370
|
+
|
371
|
+
promise
|
372
|
+
end
|
373
|
+
|
374
|
+
#
|
375
|
+
# Upgrade integration runtime
|
376
|
+
#
|
377
|
+
# Upgrade an integration runtime
|
378
|
+
#
|
379
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
380
|
+
# is case insensitive.
|
381
|
+
# @param workspace_name [String] The name of the workspace.
|
382
|
+
# @param integration_runtime_name [String] Integration runtime name
|
383
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
384
|
+
# will be added to the HTTP request.
|
385
|
+
#
|
386
|
+
#
|
387
|
+
def upgrade(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
388
|
+
response = upgrade_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
389
|
+
nil
|
390
|
+
end
|
391
|
+
|
392
|
+
#
|
393
|
+
# Upgrade integration runtime
|
394
|
+
#
|
395
|
+
# Upgrade an integration runtime
|
396
|
+
#
|
397
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
398
|
+
# is case insensitive.
|
399
|
+
# @param workspace_name [String] The name of the workspace.
|
400
|
+
# @param integration_runtime_name [String] Integration runtime name
|
401
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
402
|
+
# will be added to the HTTP request.
|
403
|
+
#
|
404
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
405
|
+
#
|
406
|
+
def upgrade_with_http_info(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
407
|
+
upgrade_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
408
|
+
end
|
409
|
+
|
410
|
+
#
|
411
|
+
# Upgrade integration runtime
|
412
|
+
#
|
413
|
+
# Upgrade an integration runtime
|
414
|
+
#
|
415
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
416
|
+
# is case insensitive.
|
417
|
+
# @param workspace_name [String] The name of the workspace.
|
418
|
+
# @param integration_runtime_name [String] Integration runtime name
|
419
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
420
|
+
# to the HTTP request.
|
421
|
+
#
|
422
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
423
|
+
#
|
424
|
+
def upgrade_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
425
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
426
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
427
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
428
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
429
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
430
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
431
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
432
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
433
|
+
fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
|
434
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
435
|
+
|
436
|
+
|
437
|
+
request_headers = {}
|
438
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
439
|
+
|
440
|
+
# Set Headers
|
441
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
442
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
443
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/upgrade'
|
444
|
+
|
445
|
+
request_url = @base_url || @client.base_url
|
446
|
+
|
447
|
+
options = {
|
448
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
449
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workspaceName' => workspace_name,'integrationRuntimeName' => integration_runtime_name},
|
450
|
+
query_params: {'api-version' => @client.api_version},
|
451
|
+
headers: request_headers.merge(custom_headers || {}),
|
452
|
+
base_url: request_url
|
453
|
+
}
|
454
|
+
promise = @client.make_request_async(:post, path_template, options)
|
455
|
+
|
456
|
+
promise = promise.then do |result|
|
457
|
+
http_response = result.response
|
458
|
+
status_code = http_response.status
|
459
|
+
response_content = http_response.body
|
460
|
+
unless status_code == 200
|
461
|
+
error_model = JSON.load(response_content)
|
462
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
463
|
+
end
|
464
|
+
|
465
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
466
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
467
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
468
|
+
|
469
|
+
result
|
470
|
+
end
|
471
|
+
|
472
|
+
promise.execute
|
473
|
+
end
|
474
|
+
|
475
|
+
#
|
476
|
+
# List integration runtimes
|
477
|
+
#
|
478
|
+
# List all integration runtimes
|
479
|
+
#
|
480
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
481
|
+
# is case insensitive.
|
482
|
+
# @param workspace_name [String] The name of the workspace.
|
483
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
484
|
+
# will be added to the HTTP request.
|
485
|
+
#
|
486
|
+
# @return [Array<IntegrationRuntimeResource>] operation results.
|
487
|
+
#
|
488
|
+
def list_by_workspace(resource_group_name, workspace_name, custom_headers:nil)
|
489
|
+
first_page = list_by_workspace_as_lazy(resource_group_name, workspace_name, custom_headers:custom_headers)
|
490
|
+
first_page.get_all_items
|
491
|
+
end
|
492
|
+
|
493
|
+
#
|
494
|
+
# List integration runtimes
|
495
|
+
#
|
496
|
+
# List all integration runtimes
|
497
|
+
#
|
498
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
499
|
+
# is case insensitive.
|
500
|
+
# @param workspace_name [String] The name of the workspace.
|
501
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
502
|
+
# will be added to the HTTP request.
|
503
|
+
#
|
504
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
505
|
+
#
|
506
|
+
def list_by_workspace_with_http_info(resource_group_name, workspace_name, custom_headers:nil)
|
507
|
+
list_by_workspace_async(resource_group_name, workspace_name, custom_headers:custom_headers).value!
|
508
|
+
end
|
509
|
+
|
510
|
+
#
|
511
|
+
# List integration runtimes
|
512
|
+
#
|
513
|
+
# List all integration runtimes
|
514
|
+
#
|
515
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
516
|
+
# is case insensitive.
|
517
|
+
# @param workspace_name [String] The name of the workspace.
|
518
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
519
|
+
# to the HTTP request.
|
520
|
+
#
|
521
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
522
|
+
#
|
523
|
+
def list_by_workspace_async(resource_group_name, workspace_name, custom_headers:nil)
|
524
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
525
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
526
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
527
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
528
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
529
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
530
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
531
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
532
|
+
fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
|
533
|
+
|
534
|
+
|
535
|
+
request_headers = {}
|
536
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
537
|
+
|
538
|
+
# Set Headers
|
539
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
540
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
541
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes'
|
542
|
+
|
543
|
+
request_url = @base_url || @client.base_url
|
544
|
+
|
545
|
+
options = {
|
546
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
547
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workspaceName' => workspace_name},
|
548
|
+
query_params: {'api-version' => @client.api_version},
|
549
|
+
headers: request_headers.merge(custom_headers || {}),
|
550
|
+
base_url: request_url
|
551
|
+
}
|
552
|
+
promise = @client.make_request_async(:get, path_template, options)
|
553
|
+
|
554
|
+
promise = promise.then do |result|
|
555
|
+
http_response = result.response
|
556
|
+
status_code = http_response.status
|
557
|
+
response_content = http_response.body
|
558
|
+
unless status_code == 200
|
559
|
+
error_model = JSON.load(response_content)
|
560
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
561
|
+
end
|
562
|
+
|
563
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
564
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
565
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
566
|
+
# Deserialize Response
|
567
|
+
if status_code == 200
|
568
|
+
begin
|
569
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
570
|
+
result_mapper = Azure::Synapse::Mgmt::V2019_06_01_preview::Models::IntegrationRuntimeListResponse.mapper()
|
571
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
572
|
+
rescue Exception => e
|
573
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
574
|
+
end
|
575
|
+
end
|
576
|
+
|
577
|
+
result
|
578
|
+
end
|
579
|
+
|
580
|
+
promise.execute
|
581
|
+
end
|
582
|
+
|
583
|
+
#
|
584
|
+
# Start integration runtime
|
585
|
+
#
|
586
|
+
# Start an integration runtime
|
587
|
+
#
|
588
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
589
|
+
# is case insensitive.
|
590
|
+
# @param workspace_name [String] The name of the workspace.
|
591
|
+
# @param integration_runtime_name [String] Integration runtime name
|
592
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
593
|
+
# will be added to the HTTP request.
|
594
|
+
#
|
595
|
+
# @return [IntegrationRuntimeStatusResponse] operation results.
|
596
|
+
#
|
597
|
+
def start(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
598
|
+
response = start_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
599
|
+
response.body unless response.nil?
|
600
|
+
end
|
601
|
+
|
602
|
+
#
|
603
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
604
|
+
# is case insensitive.
|
605
|
+
# @param workspace_name [String] The name of the workspace.
|
606
|
+
# @param integration_runtime_name [String] Integration runtime name
|
607
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
608
|
+
# will be added to the HTTP request.
|
609
|
+
#
|
610
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
611
|
+
# response.
|
612
|
+
#
|
613
|
+
def start_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
614
|
+
# Send request
|
615
|
+
promise = begin_start_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers)
|
616
|
+
|
617
|
+
promise = promise.then do |response|
|
618
|
+
# Defining deserialization method.
|
619
|
+
deserialize_method = lambda do |parsed_response|
|
620
|
+
result_mapper = Azure::Synapse::Mgmt::V2019_06_01_preview::Models::IntegrationRuntimeStatusResponse.mapper()
|
621
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
622
|
+
end
|
623
|
+
|
624
|
+
# Waiting for response.
|
625
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
626
|
+
end
|
627
|
+
|
628
|
+
promise
|
629
|
+
end
|
630
|
+
|
631
|
+
#
|
632
|
+
# Stop integration runtime
|
633
|
+
#
|
634
|
+
# Stop an integration runtime
|
635
|
+
#
|
636
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
637
|
+
# is case insensitive.
|
638
|
+
# @param workspace_name [String] The name of the workspace.
|
639
|
+
# @param integration_runtime_name [String] Integration runtime name
|
640
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
641
|
+
# will be added to the HTTP request.
|
642
|
+
#
|
643
|
+
def stop(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
644
|
+
response = stop_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
645
|
+
nil
|
646
|
+
end
|
647
|
+
|
648
|
+
#
|
649
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
650
|
+
# is case insensitive.
|
651
|
+
# @param workspace_name [String] The name of the workspace.
|
652
|
+
# @param integration_runtime_name [String] Integration runtime name
|
653
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
654
|
+
# will be added to the HTTP request.
|
655
|
+
#
|
656
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
657
|
+
# response.
|
658
|
+
#
|
659
|
+
def stop_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
660
|
+
# Send request
|
661
|
+
promise = begin_stop_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers)
|
662
|
+
|
663
|
+
promise = promise.then do |response|
|
664
|
+
# Defining deserialization method.
|
665
|
+
deserialize_method = lambda do |parsed_response|
|
666
|
+
end
|
667
|
+
|
668
|
+
# Waiting for response.
|
669
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
670
|
+
end
|
671
|
+
|
672
|
+
promise
|
673
|
+
end
|
674
|
+
|
675
|
+
#
|
676
|
+
# Enable interactive query in integration runtime
|
677
|
+
#
|
678
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
679
|
+
# is case insensitive.
|
680
|
+
# @param workspace_name [String] The name of the workspace.
|
681
|
+
# @param integration_runtime_name [String] Integration runtime name
|
682
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
683
|
+
# will be added to the HTTP request.
|
684
|
+
#
|
685
|
+
def enable_interactive_query(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
686
|
+
response = enable_interactive_query_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
687
|
+
nil
|
688
|
+
end
|
689
|
+
|
690
|
+
#
|
691
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
692
|
+
# is case insensitive.
|
693
|
+
# @param workspace_name [String] The name of the workspace.
|
694
|
+
# @param integration_runtime_name [String] Integration runtime name
|
695
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
696
|
+
# will be added to the HTTP request.
|
697
|
+
#
|
698
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
699
|
+
# response.
|
700
|
+
#
|
701
|
+
def enable_interactive_query_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
702
|
+
# Send request
|
703
|
+
promise = begin_enable_interactive_query_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers)
|
704
|
+
|
705
|
+
promise = promise.then do |response|
|
706
|
+
# Defining deserialization method.
|
707
|
+
deserialize_method = lambda do |parsed_response|
|
708
|
+
end
|
709
|
+
|
710
|
+
# Waiting for response.
|
711
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
712
|
+
end
|
713
|
+
|
714
|
+
promise
|
715
|
+
end
|
716
|
+
|
717
|
+
#
|
718
|
+
# Disable interactive query in integration runtime
|
719
|
+
#
|
720
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
721
|
+
# is case insensitive.
|
722
|
+
# @param workspace_name [String] The name of the workspace.
|
723
|
+
# @param integration_runtime_name [String] Integration runtime name
|
724
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
725
|
+
# will be added to the HTTP request.
|
726
|
+
#
|
727
|
+
def disable_interactive_query(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
728
|
+
response = disable_interactive_query_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
729
|
+
nil
|
730
|
+
end
|
731
|
+
|
732
|
+
#
|
733
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
734
|
+
# is case insensitive.
|
735
|
+
# @param workspace_name [String] The name of the workspace.
|
736
|
+
# @param integration_runtime_name [String] Integration runtime name
|
737
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
738
|
+
# will be added to the HTTP request.
|
739
|
+
#
|
740
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
741
|
+
# response.
|
742
|
+
#
|
743
|
+
def disable_interactive_query_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
744
|
+
# Send request
|
745
|
+
promise = begin_disable_interactive_query_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers)
|
746
|
+
|
747
|
+
promise = promise.then do |response|
|
748
|
+
# Defining deserialization method.
|
749
|
+
deserialize_method = lambda do |parsed_response|
|
750
|
+
end
|
751
|
+
|
752
|
+
# Waiting for response.
|
753
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
754
|
+
end
|
755
|
+
|
756
|
+
promise
|
757
|
+
end
|
758
|
+
|
759
|
+
#
|
760
|
+
# Create integration runtime
|
761
|
+
#
|
762
|
+
# Create an integration runtime
|
763
|
+
#
|
764
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
765
|
+
# is case insensitive.
|
766
|
+
# @param workspace_name [String] The name of the workspace.
|
767
|
+
# @param integration_runtime_name [String] Integration runtime name
|
768
|
+
# @param integration_runtime [IntegrationRuntimeResource] Integration runtime
|
769
|
+
# resource definition.
|
770
|
+
# @param if_match [String] ETag of the integration runtime entity. Should only
|
771
|
+
# be specified for update, for which it should match existing entity or can be
|
772
|
+
# * for unconditional update.
|
773
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
774
|
+
# will be added to the HTTP request.
|
775
|
+
#
|
776
|
+
# @return [IntegrationRuntimeResource] operation results.
|
777
|
+
#
|
778
|
+
def begin_create(resource_group_name, workspace_name, integration_runtime_name, integration_runtime, if_match:nil, custom_headers:nil)
|
779
|
+
response = begin_create_async(resource_group_name, workspace_name, integration_runtime_name, integration_runtime, if_match:if_match, custom_headers:custom_headers).value!
|
780
|
+
response.body unless response.nil?
|
781
|
+
end
|
782
|
+
|
296
783
|
#
|
297
784
|
# Create integration runtime
|
298
785
|
#
|
@@ -300,7 +787,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
300
787
|
#
|
301
788
|
# @param resource_group_name [String] The name of the resource group. The name
|
302
789
|
# is case insensitive.
|
303
|
-
# @param workspace_name [String] The name of the workspace
|
790
|
+
# @param workspace_name [String] The name of the workspace.
|
304
791
|
# @param integration_runtime_name [String] Integration runtime name
|
305
792
|
# @param integration_runtime [IntegrationRuntimeResource] Integration runtime
|
306
793
|
# resource definition.
|
@@ -312,8 +799,8 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
312
799
|
#
|
313
800
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
314
801
|
#
|
315
|
-
def
|
316
|
-
|
802
|
+
def begin_create_with_http_info(resource_group_name, workspace_name, integration_runtime_name, integration_runtime, if_match:nil, custom_headers:nil)
|
803
|
+
begin_create_async(resource_group_name, workspace_name, integration_runtime_name, integration_runtime, if_match:if_match, custom_headers:custom_headers).value!
|
317
804
|
end
|
318
805
|
|
319
806
|
#
|
@@ -323,7 +810,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
323
810
|
#
|
324
811
|
# @param resource_group_name [String] The name of the resource group. The name
|
325
812
|
# is case insensitive.
|
326
|
-
# @param workspace_name [String] The name of the workspace
|
813
|
+
# @param workspace_name [String] The name of the workspace.
|
327
814
|
# @param integration_runtime_name [String] Integration runtime name
|
328
815
|
# @param integration_runtime [IntegrationRuntimeResource] Integration runtime
|
329
816
|
# resource definition.
|
@@ -335,7 +822,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
335
822
|
#
|
336
823
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
337
824
|
#
|
338
|
-
def
|
825
|
+
def begin_create_async(resource_group_name, workspace_name, integration_runtime_name, integration_runtime, if_match:nil, custom_headers:nil)
|
339
826
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
340
827
|
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
341
828
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -380,7 +867,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
380
867
|
http_response = result.response
|
381
868
|
status_code = http_response.status
|
382
869
|
response_content = http_response.body
|
383
|
-
unless status_code == 200
|
870
|
+
unless status_code == 200 || status_code == 202
|
384
871
|
error_model = JSON.load(response_content)
|
385
872
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
386
873
|
end
|
@@ -412,14 +899,14 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
412
899
|
#
|
413
900
|
# @param resource_group_name [String] The name of the resource group. The name
|
414
901
|
# is case insensitive.
|
415
|
-
# @param workspace_name [String] The name of the workspace
|
902
|
+
# @param workspace_name [String] The name of the workspace.
|
416
903
|
# @param integration_runtime_name [String] Integration runtime name
|
417
904
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
418
905
|
# will be added to the HTTP request.
|
419
906
|
#
|
420
907
|
#
|
421
|
-
def
|
422
|
-
response =
|
908
|
+
def begin_delete(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
909
|
+
response = begin_delete_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
423
910
|
nil
|
424
911
|
end
|
425
912
|
|
@@ -430,15 +917,15 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
430
917
|
#
|
431
918
|
# @param resource_group_name [String] The name of the resource group. The name
|
432
919
|
# is case insensitive.
|
433
|
-
# @param workspace_name [String] The name of the workspace
|
920
|
+
# @param workspace_name [String] The name of the workspace.
|
434
921
|
# @param integration_runtime_name [String] Integration runtime name
|
435
922
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
436
923
|
# will be added to the HTTP request.
|
437
924
|
#
|
438
925
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
439
926
|
#
|
440
|
-
def
|
441
|
-
|
927
|
+
def begin_delete_with_http_info(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
928
|
+
begin_delete_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
442
929
|
end
|
443
930
|
|
444
931
|
#
|
@@ -448,14 +935,14 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
448
935
|
#
|
449
936
|
# @param resource_group_name [String] The name of the resource group. The name
|
450
937
|
# is case insensitive.
|
451
|
-
# @param workspace_name [String] The name of the workspace
|
938
|
+
# @param workspace_name [String] The name of the workspace.
|
452
939
|
# @param integration_runtime_name [String] Integration runtime name
|
453
940
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
454
941
|
# to the HTTP request.
|
455
942
|
#
|
456
943
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
457
944
|
#
|
458
|
-
def
|
945
|
+
def begin_delete_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
459
946
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
460
947
|
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
461
948
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -491,7 +978,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
491
978
|
http_response = result.response
|
492
979
|
status_code = http_response.status
|
493
980
|
response_content = http_response.body
|
494
|
-
unless status_code == 200 || status_code == 204
|
981
|
+
unless status_code == 200 || status_code == 202 || status_code == 204
|
495
982
|
error_model = JSON.load(response_content)
|
496
983
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
497
984
|
end
|
@@ -507,56 +994,57 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
507
994
|
end
|
508
995
|
|
509
996
|
#
|
510
|
-
#
|
997
|
+
# Start integration runtime
|
511
998
|
#
|
512
|
-
#
|
999
|
+
# Start an integration runtime
|
513
1000
|
#
|
514
1001
|
# @param resource_group_name [String] The name of the resource group. The name
|
515
1002
|
# is case insensitive.
|
516
|
-
# @param workspace_name [String] The name of the workspace
|
1003
|
+
# @param workspace_name [String] The name of the workspace.
|
517
1004
|
# @param integration_runtime_name [String] Integration runtime name
|
518
1005
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
519
1006
|
# will be added to the HTTP request.
|
520
1007
|
#
|
1008
|
+
# @return [IntegrationRuntimeStatusResponse] operation results.
|
521
1009
|
#
|
522
|
-
def
|
523
|
-
response =
|
524
|
-
nil
|
1010
|
+
def begin_start(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
1011
|
+
response = begin_start_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
1012
|
+
response.body unless response.nil?
|
525
1013
|
end
|
526
1014
|
|
527
1015
|
#
|
528
|
-
#
|
1016
|
+
# Start integration runtime
|
529
1017
|
#
|
530
|
-
#
|
1018
|
+
# Start an integration runtime
|
531
1019
|
#
|
532
1020
|
# @param resource_group_name [String] The name of the resource group. The name
|
533
1021
|
# is case insensitive.
|
534
|
-
# @param workspace_name [String] The name of the workspace
|
1022
|
+
# @param workspace_name [String] The name of the workspace.
|
535
1023
|
# @param integration_runtime_name [String] Integration runtime name
|
536
1024
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
537
1025
|
# will be added to the HTTP request.
|
538
1026
|
#
|
539
1027
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
540
1028
|
#
|
541
|
-
def
|
542
|
-
|
1029
|
+
def begin_start_with_http_info(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
1030
|
+
begin_start_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
543
1031
|
end
|
544
1032
|
|
545
1033
|
#
|
546
|
-
#
|
1034
|
+
# Start integration runtime
|
547
1035
|
#
|
548
|
-
#
|
1036
|
+
# Start an integration runtime
|
549
1037
|
#
|
550
1038
|
# @param resource_group_name [String] The name of the resource group. The name
|
551
1039
|
# is case insensitive.
|
552
|
-
# @param workspace_name [String] The name of the workspace
|
1040
|
+
# @param workspace_name [String] The name of the workspace.
|
553
1041
|
# @param integration_runtime_name [String] Integration runtime name
|
554
1042
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
555
1043
|
# to the HTTP request.
|
556
1044
|
#
|
557
1045
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
558
1046
|
#
|
559
|
-
def
|
1047
|
+
def begin_start_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
560
1048
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
561
1049
|
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
562
1050
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -575,7 +1063,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
575
1063
|
# Set Headers
|
576
1064
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
577
1065
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
578
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/
|
1066
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/start'
|
579
1067
|
|
580
1068
|
request_url = @base_url || @client.base_url
|
581
1069
|
|
@@ -592,7 +1080,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
592
1080
|
http_response = result.response
|
593
1081
|
status_code = http_response.status
|
594
1082
|
response_content = http_response.body
|
595
|
-
unless status_code == 200
|
1083
|
+
unless status_code == 200 || status_code == 202
|
596
1084
|
error_model = JSON.load(response_content)
|
597
1085
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
598
1086
|
end
|
@@ -600,6 +1088,16 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
600
1088
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
601
1089
|
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
602
1090
|
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1091
|
+
# Deserialize Response
|
1092
|
+
if status_code == 200
|
1093
|
+
begin
|
1094
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1095
|
+
result_mapper = Azure::Synapse::Mgmt::V2019_06_01_preview::Models::IntegrationRuntimeStatusResponse.mapper()
|
1096
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1097
|
+
rescue Exception => e
|
1098
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1099
|
+
end
|
1100
|
+
end
|
603
1101
|
|
604
1102
|
result
|
605
1103
|
end
|
@@ -608,54 +1106,56 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
608
1106
|
end
|
609
1107
|
|
610
1108
|
#
|
611
|
-
#
|
1109
|
+
# Stop integration runtime
|
612
1110
|
#
|
613
|
-
#
|
1111
|
+
# Stop an integration runtime
|
614
1112
|
#
|
615
1113
|
# @param resource_group_name [String] The name of the resource group. The name
|
616
1114
|
# is case insensitive.
|
617
|
-
# @param workspace_name [String] The name of the workspace
|
1115
|
+
# @param workspace_name [String] The name of the workspace.
|
1116
|
+
# @param integration_runtime_name [String] Integration runtime name
|
618
1117
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
619
1118
|
# will be added to the HTTP request.
|
620
1119
|
#
|
621
|
-
# @return [Array<IntegrationRuntimeResource>] operation results.
|
622
1120
|
#
|
623
|
-
def
|
624
|
-
|
625
|
-
|
1121
|
+
def begin_stop(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
1122
|
+
response = begin_stop_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
1123
|
+
nil
|
626
1124
|
end
|
627
1125
|
|
628
1126
|
#
|
629
|
-
#
|
1127
|
+
# Stop integration runtime
|
630
1128
|
#
|
631
|
-
#
|
1129
|
+
# Stop an integration runtime
|
632
1130
|
#
|
633
1131
|
# @param resource_group_name [String] The name of the resource group. The name
|
634
1132
|
# is case insensitive.
|
635
|
-
# @param workspace_name [String] The name of the workspace
|
1133
|
+
# @param workspace_name [String] The name of the workspace.
|
1134
|
+
# @param integration_runtime_name [String] Integration runtime name
|
636
1135
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
637
1136
|
# will be added to the HTTP request.
|
638
1137
|
#
|
639
1138
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
640
1139
|
#
|
641
|
-
def
|
642
|
-
|
1140
|
+
def begin_stop_with_http_info(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
1141
|
+
begin_stop_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
643
1142
|
end
|
644
1143
|
|
645
1144
|
#
|
646
|
-
#
|
1145
|
+
# Stop integration runtime
|
647
1146
|
#
|
648
|
-
#
|
1147
|
+
# Stop an integration runtime
|
649
1148
|
#
|
650
1149
|
# @param resource_group_name [String] The name of the resource group. The name
|
651
1150
|
# is case insensitive.
|
652
|
-
# @param workspace_name [String] The name of the workspace
|
1151
|
+
# @param workspace_name [String] The name of the workspace.
|
1152
|
+
# @param integration_runtime_name [String] Integration runtime name
|
653
1153
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
654
1154
|
# to the HTTP request.
|
655
1155
|
#
|
656
1156
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
657
1157
|
#
|
658
|
-
def
|
1158
|
+
def begin_stop_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
659
1159
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
660
1160
|
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
661
1161
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -665,6 +1165,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
665
1165
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
666
1166
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
667
1167
|
fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
|
1168
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
668
1169
|
|
669
1170
|
|
670
1171
|
request_headers = {}
|
@@ -673,24 +1174,24 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
673
1174
|
# Set Headers
|
674
1175
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
675
1176
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
676
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes'
|
1177
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/stop'
|
677
1178
|
|
678
1179
|
request_url = @base_url || @client.base_url
|
679
1180
|
|
680
1181
|
options = {
|
681
1182
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
682
|
-
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workspaceName' => workspace_name},
|
1183
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'workspaceName' => workspace_name,'integrationRuntimeName' => integration_runtime_name},
|
683
1184
|
query_params: {'api-version' => @client.api_version},
|
684
1185
|
headers: request_headers.merge(custom_headers || {}),
|
685
1186
|
base_url: request_url
|
686
1187
|
}
|
687
|
-
promise = @client.make_request_async(:
|
1188
|
+
promise = @client.make_request_async(:post, path_template, options)
|
688
1189
|
|
689
1190
|
promise = promise.then do |result|
|
690
1191
|
http_response = result.response
|
691
1192
|
status_code = http_response.status
|
692
1193
|
response_content = http_response.body
|
693
|
-
unless status_code == 200
|
1194
|
+
unless status_code == 200 || status_code == 202
|
694
1195
|
error_model = JSON.load(response_content)
|
695
1196
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
696
1197
|
end
|
@@ -698,16 +1199,6 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
698
1199
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
699
1200
|
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
700
1201
|
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
701
|
-
# Deserialize Response
|
702
|
-
if status_code == 200
|
703
|
-
begin
|
704
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
705
|
-
result_mapper = Azure::Synapse::Mgmt::V2019_06_01_preview::Models::IntegrationRuntimeListResponse.mapper()
|
706
|
-
result.body = @client.deserialize(result_mapper, parsed_response)
|
707
|
-
rescue Exception => e
|
708
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
709
|
-
end
|
710
|
-
end
|
711
1202
|
|
712
1203
|
result
|
713
1204
|
end
|
@@ -716,57 +1207,50 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
716
1207
|
end
|
717
1208
|
|
718
1209
|
#
|
719
|
-
#
|
720
|
-
#
|
721
|
-
# Start an integration runtime
|
1210
|
+
# Enable interactive query in integration runtime
|
722
1211
|
#
|
723
1212
|
# @param resource_group_name [String] The name of the resource group. The name
|
724
1213
|
# is case insensitive.
|
725
|
-
# @param workspace_name [String] The name of the workspace
|
1214
|
+
# @param workspace_name [String] The name of the workspace.
|
726
1215
|
# @param integration_runtime_name [String] Integration runtime name
|
727
1216
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
728
1217
|
# will be added to the HTTP request.
|
729
1218
|
#
|
730
|
-
# @return [IntegrationRuntimeStatusResponse] operation results.
|
731
1219
|
#
|
732
|
-
def
|
733
|
-
response =
|
734
|
-
|
1220
|
+
def begin_enable_interactive_query(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
1221
|
+
response = begin_enable_interactive_query_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
1222
|
+
nil
|
735
1223
|
end
|
736
1224
|
|
737
1225
|
#
|
738
|
-
#
|
739
|
-
#
|
740
|
-
# Start an integration runtime
|
1226
|
+
# Enable interactive query in integration runtime
|
741
1227
|
#
|
742
1228
|
# @param resource_group_name [String] The name of the resource group. The name
|
743
1229
|
# is case insensitive.
|
744
|
-
# @param workspace_name [String] The name of the workspace
|
1230
|
+
# @param workspace_name [String] The name of the workspace.
|
745
1231
|
# @param integration_runtime_name [String] Integration runtime name
|
746
1232
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
747
1233
|
# will be added to the HTTP request.
|
748
1234
|
#
|
749
1235
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
750
1236
|
#
|
751
|
-
def
|
752
|
-
|
1237
|
+
def begin_enable_interactive_query_with_http_info(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
1238
|
+
begin_enable_interactive_query_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
753
1239
|
end
|
754
1240
|
|
755
1241
|
#
|
756
|
-
#
|
757
|
-
#
|
758
|
-
# Start an integration runtime
|
1242
|
+
# Enable interactive query in integration runtime
|
759
1243
|
#
|
760
1244
|
# @param resource_group_name [String] The name of the resource group. The name
|
761
1245
|
# is case insensitive.
|
762
|
-
# @param workspace_name [String] The name of the workspace
|
1246
|
+
# @param workspace_name [String] The name of the workspace.
|
763
1247
|
# @param integration_runtime_name [String] Integration runtime name
|
764
1248
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
765
1249
|
# to the HTTP request.
|
766
1250
|
#
|
767
1251
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
768
1252
|
#
|
769
|
-
def
|
1253
|
+
def begin_enable_interactive_query_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
770
1254
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
771
1255
|
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
772
1256
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -785,7 +1269,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
785
1269
|
# Set Headers
|
786
1270
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
787
1271
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
788
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/
|
1272
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/enableInteractiveQuery'
|
789
1273
|
|
790
1274
|
request_url = @base_url || @client.base_url
|
791
1275
|
|
@@ -810,16 +1294,6 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
810
1294
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
811
1295
|
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
812
1296
|
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
813
|
-
# Deserialize Response
|
814
|
-
if status_code == 200
|
815
|
-
begin
|
816
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
817
|
-
result_mapper = Azure::Synapse::Mgmt::V2019_06_01_preview::Models::IntegrationRuntimeStatusResponse.mapper()
|
818
|
-
result.body = @client.deserialize(result_mapper, parsed_response)
|
819
|
-
rescue Exception => e
|
820
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
821
|
-
end
|
822
|
-
end
|
823
1297
|
|
824
1298
|
result
|
825
1299
|
end
|
@@ -828,56 +1302,50 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
828
1302
|
end
|
829
1303
|
|
830
1304
|
#
|
831
|
-
#
|
832
|
-
#
|
833
|
-
# Stop an integration runtime
|
1305
|
+
# Disable interactive query in integration runtime
|
834
1306
|
#
|
835
1307
|
# @param resource_group_name [String] The name of the resource group. The name
|
836
1308
|
# is case insensitive.
|
837
|
-
# @param workspace_name [String] The name of the workspace
|
1309
|
+
# @param workspace_name [String] The name of the workspace.
|
838
1310
|
# @param integration_runtime_name [String] Integration runtime name
|
839
1311
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
840
1312
|
# will be added to the HTTP request.
|
841
1313
|
#
|
842
1314
|
#
|
843
|
-
def
|
844
|
-
response =
|
1315
|
+
def begin_disable_interactive_query(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
1316
|
+
response = begin_disable_interactive_query_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
845
1317
|
nil
|
846
1318
|
end
|
847
1319
|
|
848
1320
|
#
|
849
|
-
#
|
850
|
-
#
|
851
|
-
# Stop an integration runtime
|
1321
|
+
# Disable interactive query in integration runtime
|
852
1322
|
#
|
853
1323
|
# @param resource_group_name [String] The name of the resource group. The name
|
854
1324
|
# is case insensitive.
|
855
|
-
# @param workspace_name [String] The name of the workspace
|
1325
|
+
# @param workspace_name [String] The name of the workspace.
|
856
1326
|
# @param integration_runtime_name [String] Integration runtime name
|
857
1327
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
858
1328
|
# will be added to the HTTP request.
|
859
1329
|
#
|
860
1330
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
861
1331
|
#
|
862
|
-
def
|
863
|
-
|
1332
|
+
def begin_disable_interactive_query_with_http_info(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
1333
|
+
begin_disable_interactive_query_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:custom_headers).value!
|
864
1334
|
end
|
865
1335
|
|
866
1336
|
#
|
867
|
-
#
|
868
|
-
#
|
869
|
-
# Stop an integration runtime
|
1337
|
+
# Disable interactive query in integration runtime
|
870
1338
|
#
|
871
1339
|
# @param resource_group_name [String] The name of the resource group. The name
|
872
1340
|
# is case insensitive.
|
873
|
-
# @param workspace_name [String] The name of the workspace
|
1341
|
+
# @param workspace_name [String] The name of the workspace.
|
874
1342
|
# @param integration_runtime_name [String] Integration runtime name
|
875
1343
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
876
1344
|
# to the HTTP request.
|
877
1345
|
#
|
878
1346
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
879
1347
|
#
|
880
|
-
def
|
1348
|
+
def begin_disable_interactive_query_async(resource_group_name, workspace_name, integration_runtime_name, custom_headers:nil)
|
881
1349
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
882
1350
|
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
883
1351
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -896,7 +1364,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
896
1364
|
# Set Headers
|
897
1365
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
898
1366
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
899
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/
|
1367
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/disableInteractiveQuery'
|
900
1368
|
|
901
1369
|
request_url = @base_url || @client.base_url
|
902
1370
|
|
@@ -1031,7 +1499,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
|
|
1031
1499
|
#
|
1032
1500
|
# @param resource_group_name [String] The name of the resource group. The name
|
1033
1501
|
# is case insensitive.
|
1034
|
-
# @param workspace_name [String] The name of the workspace
|
1502
|
+
# @param workspace_name [String] The name of the workspace.
|
1035
1503
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1036
1504
|
# will be added to the HTTP request.
|
1037
1505
|
#
|