azure_mgmt_logic 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-02-01-preview/generated/azure_mgmt_logic/logic_management_client.rb +7 -6
- data/lib/2016-06-01/generated/azure_mgmt_logic.rb +102 -61
- data/lib/2016-06-01/generated/azure_mgmt_logic/agreements.rb +115 -4
- data/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_assemblies.rb +511 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_batch_configurations.rb +415 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/integration_accounts.rb +304 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/logic_management_client.rb +29 -6
- data/lib/2016-06-01/generated/azure_mgmt_logic/maps.rb +115 -4
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/access_key_regenerate_action_definition.rb +49 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/access_key_type.rb +17 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/artifact_content_properties_definition.rb +93 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/artifact_properties.rb +68 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/as2acknowledgement_connection_settings.rb +1 -1
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/as2one_way_agreement.rb +1 -1
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/assembly_collection.rb +55 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/assembly_definition.rb +98 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/assembly_properties.rb +128 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/azure_resource_error_info.rb +74 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/batch_configuration.rb +99 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/batch_configuration_collection.rb +55 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/batch_configuration_properties.rb +82 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/batch_release_criteria.rb +69 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/edifact_delimiter_override.rb +1 -1
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/edifact_envelope_override.rb +1 -1
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/error_info.rb +46 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/error_response.rb +2 -2
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/event_level.rb +20 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/expression.rb +90 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/expression_root.rb +89 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/expression_traces.rb +56 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/json_schema.rb +57 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/key_vault_key.rb +58 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/key_vault_key_attributes.rb +68 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/key_vault_key_collection.rb +66 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/key_vault_reference.rb +62 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/list_key_vault_keys_definition.rb +58 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/operation_result.rb +190 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/operation_result_properties.rb +106 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/recurrence_schedule_occurrence.rb +1 -1
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/repetition_index.rb +57 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/run_action_correlation.rb +70 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/run_correlation.rb +65 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/set_trigger_state_action_definition.rb +48 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/track_events_operation_options.rb +16 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/tracking_event.rb +92 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/tracking_event_error_info.rb +58 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/tracking_events_definition.rb +80 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/tracking_record_type.rb +30 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb +12 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run_action_repetition_definition.rb +282 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run_action_repetition_definition_collection.rb +56 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run_trigger.rb +12 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_list_callback_url_queries.rb +11 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_trigger_recurrence.rb +4 -4
- data/lib/2016-06-01/generated/azure_mgmt_logic/models/x12one_way_agreement.rb +1 -1
- data/lib/2016-06-01/generated/azure_mgmt_logic/partners.rb +115 -4
- data/lib/2016-06-01/generated/azure_mgmt_logic/schemas.rb +115 -4
- data/lib/2016-06-01/generated/azure_mgmt_logic/sessions.rb +8 -4
- data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_action_repetitions.rb +333 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_action_scoped_repetitions.rb +229 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_actions.rb +108 -4
- data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_operations.rb +125 -0
- data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_runs.rb +8 -4
- data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_trigger_histories.rb +8 -4
- data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_triggers.rb +283 -3
- data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_versions.rb +3 -3
- data/lib/2016-06-01/generated/azure_mgmt_logic/workflows.rb +306 -8
- data/lib/azure_mgmt_logic.rb +1 -1
- data/lib/profiles/latest/modules/logic_profile_module.rb +359 -205
- data/lib/version.rb +1 -1
- metadata +46 -5
@@ -23,15 +23,16 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
23
23
|
# @return [String] The API version.
|
24
24
|
attr_reader :api_version
|
25
25
|
|
26
|
-
# @return [String]
|
26
|
+
# @return [String] The preferred language for the response.
|
27
27
|
attr_accessor :accept_language
|
28
28
|
|
29
|
-
# @return [Integer]
|
30
|
-
#
|
29
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
30
|
+
# Operations. Default value is 30.
|
31
31
|
attr_accessor :long_running_operation_retry_timeout
|
32
32
|
|
33
|
-
# @return [Boolean]
|
34
|
-
#
|
33
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
34
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
35
|
+
# generated and included in each request. Default is true.
|
35
36
|
attr_accessor :generate_client_request_id
|
36
37
|
|
37
38
|
# @return [Workflows] workflows
|
@@ -52,9 +53,26 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
52
53
|
# @return [WorkflowRunActions] workflow_run_actions
|
53
54
|
attr_reader :workflow_run_actions
|
54
55
|
|
56
|
+
# @return [WorkflowRunActionRepetitions] workflow_run_action_repetitions
|
57
|
+
attr_reader :workflow_run_action_repetitions
|
58
|
+
|
59
|
+
# @return [WorkflowRunActionScopedRepetitions]
|
60
|
+
# workflow_run_action_scoped_repetitions
|
61
|
+
attr_reader :workflow_run_action_scoped_repetitions
|
62
|
+
|
63
|
+
# @return [WorkflowRunOperations] workflow_run_operations
|
64
|
+
attr_reader :workflow_run_operations
|
65
|
+
|
55
66
|
# @return [IntegrationAccounts] integration_accounts
|
56
67
|
attr_reader :integration_accounts
|
57
68
|
|
69
|
+
# @return [IntegrationAccountAssemblies] integration_account_assemblies
|
70
|
+
attr_reader :integration_account_assemblies
|
71
|
+
|
72
|
+
# @return [IntegrationAccountBatchConfigurations]
|
73
|
+
# integration_account_batch_configurations
|
74
|
+
attr_reader :integration_account_batch_configurations
|
75
|
+
|
58
76
|
# @return [Schemas] schemas
|
59
77
|
attr_reader :schemas
|
60
78
|
|
@@ -92,7 +110,12 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
92
110
|
@workflow_trigger_histories = WorkflowTriggerHistories.new(self)
|
93
111
|
@workflow_runs = WorkflowRuns.new(self)
|
94
112
|
@workflow_run_actions = WorkflowRunActions.new(self)
|
113
|
+
@workflow_run_action_repetitions = WorkflowRunActionRepetitions.new(self)
|
114
|
+
@workflow_run_action_scoped_repetitions = WorkflowRunActionScopedRepetitions.new(self)
|
115
|
+
@workflow_run_operations = WorkflowRunOperations.new(self)
|
95
116
|
@integration_accounts = IntegrationAccounts.new(self)
|
117
|
+
@integration_account_assemblies = IntegrationAccountAssemblies.new(self)
|
118
|
+
@integration_account_batch_configurations = IntegrationAccountBatchConfigurations.new(self)
|
96
119
|
@schemas = Schemas.new(self)
|
97
120
|
@maps = Maps.new(self)
|
98
121
|
@partners = Partners.new(self)
|
@@ -417,7 +440,7 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
417
440
|
#
|
418
441
|
def add_telemetry
|
419
442
|
sdk_information = 'azure_mgmt_logic'
|
420
|
-
sdk_information = "#{sdk_information}/0.
|
443
|
+
sdk_information = "#{sdk_information}/0.17.0"
|
421
444
|
add_user_agent_information(sdk_information)
|
422
445
|
end
|
423
446
|
end
|
@@ -27,7 +27,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
27
27
|
# @param resource_group_name [String] The resource group name.
|
28
28
|
# @param integration_account_name [String] The integration account name.
|
29
29
|
# @param top [Integer] The number of items to be included in the result.
|
30
|
-
# @param filter [String] The filter to apply on the operation.
|
30
|
+
# @param filter [String] The filter to apply on the operation. Options for
|
31
|
+
# filters include: MapType.
|
31
32
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
32
33
|
# will be added to the HTTP request.
|
33
34
|
#
|
@@ -44,7 +45,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
44
45
|
# @param resource_group_name [String] The resource group name.
|
45
46
|
# @param integration_account_name [String] The integration account name.
|
46
47
|
# @param top [Integer] The number of items to be included in the result.
|
47
|
-
# @param filter [String] The filter to apply on the operation.
|
48
|
+
# @param filter [String] The filter to apply on the operation. Options for
|
49
|
+
# filters include: MapType.
|
48
50
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
49
51
|
# will be added to the HTTP request.
|
50
52
|
#
|
@@ -60,7 +62,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
60
62
|
# @param resource_group_name [String] The resource group name.
|
61
63
|
# @param integration_account_name [String] The integration account name.
|
62
64
|
# @param top [Integer] The number of items to be included in the result.
|
63
|
-
# @param filter [String] The filter to apply on the operation.
|
65
|
+
# @param filter [String] The filter to apply on the operation. Options for
|
66
|
+
# filters include: MapType.
|
64
67
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
65
68
|
# to the HTTP request.
|
66
69
|
#
|
@@ -417,6 +420,113 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
417
420
|
promise.execute
|
418
421
|
end
|
419
422
|
|
423
|
+
#
|
424
|
+
# Get the content callback url.
|
425
|
+
#
|
426
|
+
# @param resource_group_name [String] The resource group name.
|
427
|
+
# @param integration_account_name [String] The integration account name.
|
428
|
+
# @param map_name [String] The integration account map name.
|
429
|
+
# @param list_content_callback_url [GetCallbackUrlParameters]
|
430
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
431
|
+
# will be added to the HTTP request.
|
432
|
+
#
|
433
|
+
# @return [WorkflowTriggerCallbackUrl] operation results.
|
434
|
+
#
|
435
|
+
def list_content_callback_url(resource_group_name, integration_account_name, map_name, list_content_callback_url, custom_headers:nil)
|
436
|
+
response = list_content_callback_url_async(resource_group_name, integration_account_name, map_name, list_content_callback_url, custom_headers:custom_headers).value!
|
437
|
+
response.body unless response.nil?
|
438
|
+
end
|
439
|
+
|
440
|
+
#
|
441
|
+
# Get the content callback url.
|
442
|
+
#
|
443
|
+
# @param resource_group_name [String] The resource group name.
|
444
|
+
# @param integration_account_name [String] The integration account name.
|
445
|
+
# @param map_name [String] The integration account map name.
|
446
|
+
# @param list_content_callback_url [GetCallbackUrlParameters]
|
447
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
448
|
+
# will be added to the HTTP request.
|
449
|
+
#
|
450
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
451
|
+
#
|
452
|
+
def list_content_callback_url_with_http_info(resource_group_name, integration_account_name, map_name, list_content_callback_url, custom_headers:nil)
|
453
|
+
list_content_callback_url_async(resource_group_name, integration_account_name, map_name, list_content_callback_url, custom_headers:custom_headers).value!
|
454
|
+
end
|
455
|
+
|
456
|
+
#
|
457
|
+
# Get the content callback url.
|
458
|
+
#
|
459
|
+
# @param resource_group_name [String] The resource group name.
|
460
|
+
# @param integration_account_name [String] The integration account name.
|
461
|
+
# @param map_name [String] The integration account map name.
|
462
|
+
# @param list_content_callback_url [GetCallbackUrlParameters]
|
463
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
464
|
+
# to the HTTP request.
|
465
|
+
#
|
466
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
467
|
+
#
|
468
|
+
def list_content_callback_url_async(resource_group_name, integration_account_name, map_name, list_content_callback_url, custom_headers:nil)
|
469
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
470
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
471
|
+
fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
|
472
|
+
fail ArgumentError, 'map_name is nil' if map_name.nil?
|
473
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
474
|
+
fail ArgumentError, 'list_content_callback_url is nil' if list_content_callback_url.nil?
|
475
|
+
|
476
|
+
|
477
|
+
request_headers = {}
|
478
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
479
|
+
|
480
|
+
# Set Headers
|
481
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
482
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
483
|
+
|
484
|
+
# Serialize Request
|
485
|
+
request_mapper = Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters.mapper()
|
486
|
+
request_content = @client.serialize(request_mapper, list_content_callback_url)
|
487
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
488
|
+
|
489
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}/listContentCallbackUrl'
|
490
|
+
|
491
|
+
request_url = @base_url || @client.base_url
|
492
|
+
|
493
|
+
options = {
|
494
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
495
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'integrationAccountName' => integration_account_name,'mapName' => map_name},
|
496
|
+
query_params: {'api-version' => @client.api_version},
|
497
|
+
body: request_content,
|
498
|
+
headers: request_headers.merge(custom_headers || {}),
|
499
|
+
base_url: request_url
|
500
|
+
}
|
501
|
+
promise = @client.make_request_async(:post, path_template, options)
|
502
|
+
|
503
|
+
promise = promise.then do |result|
|
504
|
+
http_response = result.response
|
505
|
+
status_code = http_response.status
|
506
|
+
response_content = http_response.body
|
507
|
+
unless status_code == 200
|
508
|
+
error_model = JSON.load(response_content)
|
509
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
510
|
+
end
|
511
|
+
|
512
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
513
|
+
# Deserialize Response
|
514
|
+
if status_code == 200
|
515
|
+
begin
|
516
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
517
|
+
result_mapper = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerCallbackUrl.mapper()
|
518
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
519
|
+
rescue Exception => e
|
520
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
524
|
+
result
|
525
|
+
end
|
526
|
+
|
527
|
+
promise.execute
|
528
|
+
end
|
529
|
+
|
420
530
|
#
|
421
531
|
# Gets a list of integration account maps.
|
422
532
|
#
|
@@ -511,7 +621,8 @@ module Azure::Logic::Mgmt::V2016_06_01
|
|
511
621
|
# @param resource_group_name [String] The resource group name.
|
512
622
|
# @param integration_account_name [String] The integration account name.
|
513
623
|
# @param top [Integer] The number of items to be included in the result.
|
514
|
-
# @param filter [String] The filter to apply on the operation.
|
624
|
+
# @param filter [String] The filter to apply on the operation. Options for
|
625
|
+
# filters include: MapType.
|
515
626
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
516
627
|
# will be added to the HTTP request.
|
517
628
|
#
|
data/lib/2016-06-01/generated/azure_mgmt_logic/models/access_key_regenerate_action_definition.rb
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Logic::Mgmt::V2016_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class AccessKeyRegenerateActionDefinition
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [AccessKeyType] Possible values include: 'NotSpecified',
|
17
|
+
# 'Primary', 'Secondary'
|
18
|
+
attr_accessor :key_type
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for AccessKeyRegenerateActionDefinition class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
client_side_validation: true,
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'AccessKeyRegenerateActionDefinition',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'AccessKeyRegenerateActionDefinition',
|
33
|
+
model_properties: {
|
34
|
+
key_type: {
|
35
|
+
client_side_validation: true,
|
36
|
+
required: true,
|
37
|
+
serialized_name: 'keyType',
|
38
|
+
type: {
|
39
|
+
name: 'Enum',
|
40
|
+
module: 'AccessKeyType'
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Logic::Mgmt::V2016_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for AccessKeyType
|
10
|
+
#
|
11
|
+
module AccessKeyType
|
12
|
+
NotSpecified = "NotSpecified"
|
13
|
+
Primary = "Primary"
|
14
|
+
Secondary = "Secondary"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/lib/2016-06-01/generated/azure_mgmt_logic/models/artifact_content_properties_definition.rb
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Logic::Mgmt::V2016_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The artifact content properties definition.
|
10
|
+
#
|
11
|
+
class ArtifactContentPropertiesDefinition < ArtifactProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return
|
16
|
+
attr_accessor :content
|
17
|
+
|
18
|
+
# @return [String] The content type.
|
19
|
+
attr_accessor :content_type
|
20
|
+
|
21
|
+
# @return [ContentLink] The content link.
|
22
|
+
attr_accessor :content_link
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for ArtifactContentPropertiesDefinition class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'ArtifactContentPropertiesDefinition',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'ArtifactContentPropertiesDefinition',
|
37
|
+
model_properties: {
|
38
|
+
created_time: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'createdTime',
|
42
|
+
type: {
|
43
|
+
name: 'DateTime'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
changed_time: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'changedTime',
|
50
|
+
type: {
|
51
|
+
name: 'DateTime'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
metadata: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'metadata',
|
58
|
+
type: {
|
59
|
+
name: 'Object'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
content: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'content',
|
66
|
+
type: {
|
67
|
+
name: 'Object'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
content_type: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'contentType',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
content_link: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'contentLink',
|
82
|
+
type: {
|
83
|
+
name: 'Composite',
|
84
|
+
class_name: 'ContentLink'
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Logic::Mgmt::V2016_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The artifact properties definition.
|
10
|
+
#
|
11
|
+
class ArtifactProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [DateTime] The artifact creation time.
|
16
|
+
attr_accessor :created_time
|
17
|
+
|
18
|
+
# @return [DateTime] The artifact changed time.
|
19
|
+
attr_accessor :changed_time
|
20
|
+
|
21
|
+
# @return
|
22
|
+
attr_accessor :metadata
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for ArtifactProperties class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'ArtifactProperties',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'ArtifactProperties',
|
37
|
+
model_properties: {
|
38
|
+
created_time: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'createdTime',
|
42
|
+
type: {
|
43
|
+
name: 'DateTime'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
changed_time: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'changedTime',
|
50
|
+
type: {
|
51
|
+
name: 'DateTime'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
metadata: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'metadata',
|
58
|
+
type: {
|
59
|
+
name: 'Object'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|