azure_mgmt_datalake_analytics 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/LICENSE.txt +21 -0
  4. data/Rakefile +5 -0
  5. data/azure_mgmt_datalake_analytics.gemspec +34 -0
  6. data/lib/azure_mgmt_datalake_analytics.rb +4 -0
  7. data/lib/generated/azure_mgmt_datalake_analytics_account.rb +51 -0
  8. data/lib/generated/azure_mgmt_datalake_analytics_account/account.rb +3209 -0
  9. data/lib/generated/azure_mgmt_datalake_analytics_account/data_lake_analytics_account_management_client.rb +68 -0
  10. data/lib/generated/azure_mgmt_datalake_analytics_account/models/add_data_lake_store_parameters.rb +46 -0
  11. data/lib/generated/azure_mgmt_datalake_analytics_account/models/add_storage_account_parameters.rb +46 -0
  12. data/lib/generated/azure_mgmt_datalake_analytics_account/models/azure_async_operation_result.rb +66 -0
  13. data/lib/generated/azure_mgmt_datalake_analytics_account/models/blob_container.rb +79 -0
  14. data/lib/generated/azure_mgmt_datalake_analytics_account/models/blob_container_properties.rb +45 -0
  15. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account.rb +107 -0
  16. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_list_data_lake_store_result.rb +109 -0
  17. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_list_result.rb +96 -0
  18. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_list_storage_accounts_result.rb +108 -0
  19. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_properties.rb +167 -0
  20. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_state.rb +16 -0
  21. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_status.rb +23 -0
  22. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_store_account_info.rb +56 -0
  23. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_store_account_info_properties.rb +44 -0
  24. data/lib/generated/azure_mgmt_datalake_analytics_account/models/error.rb +99 -0
  25. data/lib/generated/azure_mgmt_datalake_analytics_account/models/error_details.rb +69 -0
  26. data/lib/generated/azure_mgmt_datalake_analytics_account/models/inner_error.rb +56 -0
  27. data/lib/generated/azure_mgmt_datalake_analytics_account/models/list_blob_containers_result.rb +96 -0
  28. data/lib/generated/azure_mgmt_datalake_analytics_account/models/list_sas_tokens_result.rb +96 -0
  29. data/lib/generated/azure_mgmt_datalake_analytics_account/models/operation_status.rb +17 -0
  30. data/lib/generated/azure_mgmt_datalake_analytics_account/models/sas_token_info.rb +46 -0
  31. data/lib/generated/azure_mgmt_datalake_analytics_account/models/storage_account_info.rb +57 -0
  32. data/lib/generated/azure_mgmt_datalake_analytics_account/models/storage_account_properties.rb +55 -0
  33. data/lib/generated/azure_mgmt_datalake_analytics_account/module_definition.rb +9 -0
  34. data/lib/generated/azure_mgmt_datalake_analytics_account/version.rb +8 -0
  35. data/lib/generated/azure_mgmt_datalake_analytics_catalog.rb +70 -0
  36. data/lib/generated/azure_mgmt_datalake_analytics_catalog/catalog.rb +5600 -0
  37. data/lib/generated/azure_mgmt_datalake_analytics_catalog/data_lake_analytics_catalog_management_client.rb +67 -0
  38. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/catalog_item.rb +54 -0
  39. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/catalog_item_list.rb +54 -0
  40. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/data_lake_analytics_catalog_secret_create_or_update_parameters.rb +56 -0
  41. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/ddl_name.rb +78 -0
  42. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/entity_id.rb +56 -0
  43. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/external_table.rb +56 -0
  44. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/file_type.rb +16 -0
  45. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/type_field_info.rb +54 -0
  46. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly.rb +138 -0
  47. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_clr.rb +78 -0
  48. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_dependency_info.rb +45 -0
  49. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_file_info.rb +66 -0
  50. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_list.rb +98 -0
  51. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_credential.rb +88 -0
  52. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_credential_list.rb +98 -0
  53. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_database.rb +58 -0
  54. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_database_list.rb +98 -0
  55. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_directed_column.rb +55 -0
  56. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_distribution_info.rb +83 -0
  57. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_external_data_source.rb +107 -0
  58. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_external_data_source_list.rb +99 -0
  59. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_index.rb +168 -0
  60. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_procedure.rb +89 -0
  61. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_procedure_list.rb +99 -0
  62. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_schema.rb +68 -0
  63. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_schema_list.rb +98 -0
  64. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_secret.rb +100 -0
  65. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table.rb +154 -0
  66. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_column.rb +55 -0
  67. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_list.rb +99 -0
  68. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_partition.rb +128 -0
  69. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_partition_list.rb +99 -0
  70. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_statistics.rb +190 -0
  71. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_statistics_list.rb +99 -0
  72. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_type.rb +173 -0
  73. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_type_list.rb +99 -0
  74. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_valued_function.rb +88 -0
  75. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_valued_function_list.rb +99 -0
  76. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_type.rb +203 -0
  77. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_type_list.rb +99 -0
  78. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_view.rb +89 -0
  79. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_view_list.rb +99 -0
  80. data/lib/generated/azure_mgmt_datalake_analytics_catalog/module_definition.rb +9 -0
  81. data/lib/generated/azure_mgmt_datalake_analytics_job.rb +48 -0
  82. data/lib/generated/azure_mgmt_datalake_analytics_job/data_lake_analytics_job_management_client.rb +67 -0
  83. data/lib/generated/azure_mgmt_datalake_analytics_job/job.rb +938 -0
  84. data/lib/generated/azure_mgmt_datalake_analytics_job/models/compile_mode.rb +17 -0
  85. data/lib/generated/azure_mgmt_datalake_analytics_job/models/diagnostics.rb +102 -0
  86. data/lib/generated/azure_mgmt_datalake_analytics_job/models/hive_job_properties.rb +123 -0
  87. data/lib/generated/azure_mgmt_datalake_analytics_job/models/hive_job_statement_info.rb +74 -0
  88. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_data_path.rb +74 -0
  89. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_error_details.rb +198 -0
  90. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_info_list_result.rb +107 -0
  91. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_information.rb +245 -0
  92. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_inner_error.rb +162 -0
  93. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_properties.rb +77 -0
  94. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_resource.rb +68 -0
  95. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_resource_type.rb +20 -0
  96. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_result.rb +18 -0
  97. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_state.rb +24 -0
  98. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_state_audit_record.rb +79 -0
  99. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_statistics.rb +65 -0
  100. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_statistics_vertex_stage.rb +262 -0
  101. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_type.rb +16 -0
  102. data/lib/generated/azure_mgmt_datalake_analytics_job/models/severity_types.rb +17 -0
  103. data/lib/generated/azure_mgmt_datalake_analytics_job/models/usql_job_properties.rb +231 -0
  104. data/lib/generated/azure_mgmt_datalake_analytics_job/module_definition.rb +9 -0
  105. metadata +218 -0
@@ -0,0 +1,138 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeAnalytics::Catalog
7
+ module Models
8
+ #
9
+ # A Data Lake Analytics catalog U-SQL Assembly.
10
+ #
11
+ class USqlAssembly < CatalogItem
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the name of the database.
16
+ attr_accessor :database_name
17
+
18
+ # @return [String] the name of the assembly.
19
+ attr_accessor :name
20
+
21
+ # @return [String] the name of the CLR.
22
+ attr_accessor :clr_name
23
+
24
+ # @return [Boolean] the switch indicating if this assembly is visible or
25
+ # not.
26
+ attr_accessor :is_visible
27
+
28
+ # @return [Boolean] the switch indicating if this assembly is user
29
+ # defined or not.
30
+ attr_accessor :is_user_defined
31
+
32
+ # @return [Array<USqlAssemblyFileInfo>] the list of files associated
33
+ # with the assembly
34
+ attr_accessor :files
35
+
36
+ # @return [Array<USqlAssemblyDependencyInfo>] the list of dependencies
37
+ # associated with the assembly
38
+ attr_accessor :dependencies
39
+
40
+
41
+ #
42
+ # Mapper for USqlAssembly class as Ruby Hash.
43
+ # This will be used for serialization/deserialization.
44
+ #
45
+ def self.mapper()
46
+ {
47
+ required: false,
48
+ serialized_name: 'USqlAssembly',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'USqlAssembly',
52
+ model_properties: {
53
+ compute_account_name: {
54
+ required: false,
55
+ serialized_name: 'computeAccountName',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ version: {
61
+ required: false,
62
+ serialized_name: 'version',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ database_name: {
68
+ required: false,
69
+ serialized_name: 'databaseName',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ name: {
75
+ required: false,
76
+ serialized_name: 'assemblyName',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ clr_name: {
82
+ required: false,
83
+ serialized_name: 'clrName',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ },
88
+ is_visible: {
89
+ required: false,
90
+ serialized_name: 'isVisible',
91
+ type: {
92
+ name: 'Boolean'
93
+ }
94
+ },
95
+ is_user_defined: {
96
+ required: false,
97
+ serialized_name: 'isUserDefined',
98
+ type: {
99
+ name: 'Boolean'
100
+ }
101
+ },
102
+ files: {
103
+ required: false,
104
+ serialized_name: 'files',
105
+ type: {
106
+ name: 'Sequence',
107
+ element: {
108
+ required: false,
109
+ serialized_name: 'USqlAssemblyFileInfoElementType',
110
+ type: {
111
+ name: 'Composite',
112
+ class_name: 'USqlAssemblyFileInfo'
113
+ }
114
+ }
115
+ }
116
+ },
117
+ dependencies: {
118
+ required: false,
119
+ serialized_name: 'dependencies',
120
+ type: {
121
+ name: 'Sequence',
122
+ element: {
123
+ required: false,
124
+ serialized_name: 'USqlAssemblyDependencyInfoElementType',
125
+ type: {
126
+ name: 'Composite',
127
+ class_name: 'USqlAssemblyDependencyInfo'
128
+ }
129
+ }
130
+ }
131
+ }
132
+ }
133
+ }
134
+ }
135
+ end
136
+ end
137
+ end
138
+ end
@@ -0,0 +1,78 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeAnalytics::Catalog
7
+ module Models
8
+ #
9
+ # A Data Lake Analytics catalog U-SQL assembly CLR item.
10
+ #
11
+ class USqlAssemblyClr < CatalogItem
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the name of the database.
16
+ attr_accessor :database_name
17
+
18
+ # @return [String] the name of the assembly.
19
+ attr_accessor :name
20
+
21
+ # @return [String] the name of the CLR.
22
+ attr_accessor :clr_name
23
+
24
+
25
+ #
26
+ # Mapper for USqlAssemblyClr class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'USqlAssemblyClr',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'USqlAssemblyClr',
36
+ model_properties: {
37
+ compute_account_name: {
38
+ required: false,
39
+ serialized_name: 'computeAccountName',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ version: {
45
+ required: false,
46
+ serialized_name: 'version',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ database_name: {
52
+ required: false,
53
+ serialized_name: 'databaseName',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ name: {
59
+ required: false,
60
+ serialized_name: 'assemblyClrName',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ clr_name: {
66
+ required: false,
67
+ serialized_name: 'clrName',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ end
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,45 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeAnalytics::Catalog
7
+ module Models
8
+ #
9
+ # A Data Lake Analytics catalog U-SQL dependency information item.
10
+ #
11
+ class USqlAssemblyDependencyInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [EntityId] the EntityId of the dependency.
16
+ attr_accessor :entity_id
17
+
18
+
19
+ #
20
+ # Mapper for USqlAssemblyDependencyInfo class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'USqlAssemblyDependencyInfo',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'USqlAssemblyDependencyInfo',
30
+ model_properties: {
31
+ entity_id: {
32
+ required: false,
33
+ serialized_name: 'entityId',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'EntityId'
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,66 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeAnalytics::Catalog
7
+ module Models
8
+ #
9
+ # A Data Lake Analytics catalog U-SQL assembly file information item.
10
+ #
11
+ class USqlAssemblyFileInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [FileType] the assembly file type. Possible values include:
16
+ # 'Assembly', 'Resource'
17
+ attr_accessor :type
18
+
19
+ # @return [String] the the original path to the assembly file.
20
+ attr_accessor :original_path
21
+
22
+ # @return [String] the the content path to the assembly file.
23
+ attr_accessor :content_path
24
+
25
+
26
+ #
27
+ # Mapper for USqlAssemblyFileInfo class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ required: false,
33
+ serialized_name: 'USqlAssemblyFileInfo',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'USqlAssemblyFileInfo',
37
+ model_properties: {
38
+ type: {
39
+ required: false,
40
+ serialized_name: 'type',
41
+ type: {
42
+ name: 'Enum',
43
+ module: 'FileType'
44
+ }
45
+ },
46
+ original_path: {
47
+ required: false,
48
+ serialized_name: 'originalPath',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ content_path: {
54
+ required: false,
55
+ serialized_name: 'contentPath',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,98 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeAnalytics::Catalog
7
+ module Models
8
+ #
9
+ # A Data Lake Analytics catalog U-SQL assembly CLR item list.
10
+ #
11
+ class USqlAssemblyList < CatalogItemList
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<USqlAssemblyClr>] the list of assemblies in the database
16
+ attr_accessor :value
17
+
18
+ # return [Proc] with next page method call.
19
+ attr_accessor :next_method
20
+
21
+ #
22
+ # Gets the rest of the items for the request, enabling auto-pagination.
23
+ #
24
+ # @return [Array<USqlAssemblyClr>] operation results.
25
+ #
26
+ def get_all_items
27
+ items = @value
28
+ page = self
29
+ while page.next_link != nil do
30
+ page = page.get_next_page
31
+ items.concat(page.value)
32
+ end
33
+ items
34
+ end
35
+
36
+ #
37
+ # Gets the next page of results.
38
+ #
39
+ # @return [USqlAssemblyList] with next page content.
40
+ #
41
+ def get_next_page
42
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
43
+ unless response.nil?
44
+ @next_link = response.body.next_link
45
+ @value = response.body.value
46
+ self
47
+ end
48
+ end
49
+
50
+ #
51
+ # Mapper for USqlAssemblyList class as Ruby Hash.
52
+ # This will be used for serialization/deserialization.
53
+ #
54
+ def self.mapper()
55
+ {
56
+ required: false,
57
+ serialized_name: 'USqlAssemblyList',
58
+ type: {
59
+ name: 'Composite',
60
+ class_name: 'USqlAssemblyList',
61
+ model_properties: {
62
+ count: {
63
+ required: false,
64
+ serialized_name: 'count',
65
+ type: {
66
+ name: 'Number'
67
+ }
68
+ },
69
+ next_link: {
70
+ required: false,
71
+ serialized_name: 'nextLink',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ value: {
77
+ required: false,
78
+ read_only: true,
79
+ serialized_name: 'value',
80
+ type: {
81
+ name: 'Sequence',
82
+ element: {
83
+ required: false,
84
+ serialized_name: 'USqlAssemblyClrElementType',
85
+ type: {
86
+ name: 'Composite',
87
+ class_name: 'USqlAssemblyClr'
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ end
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,88 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeAnalytics::Catalog
7
+ module Models
8
+ #
9
+ # A Data Lake Analytics catalog U-SQL credential item.
10
+ #
11
+ class USqlCredential < CatalogItem
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the name of the database the credential is in.
16
+ attr_accessor :database_name
17
+
18
+ # @return [String] the name of the secret associated with the credential.
19
+ attr_accessor :identity
20
+
21
+ # @return [String] the name of the credential.
22
+ attr_accessor :name
23
+
24
+ # @return [String] the user name associated with the credential.
25
+ attr_accessor :user_name
26
+
27
+
28
+ #
29
+ # Mapper for USqlCredential class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ required: false,
35
+ serialized_name: 'USqlCredential',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'USqlCredential',
39
+ model_properties: {
40
+ compute_account_name: {
41
+ required: false,
42
+ serialized_name: 'computeAccountName',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ version: {
48
+ required: false,
49
+ serialized_name: 'version',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ database_name: {
55
+ required: false,
56
+ serialized_name: 'databaseName',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ identity: {
62
+ required: false,
63
+ serialized_name: 'identity',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ name: {
69
+ required: false,
70
+ serialized_name: 'credentialName',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ user_name: {
76
+ required: false,
77
+ serialized_name: 'userName',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }
85
+ end
86
+ end
87
+ end
88
+ end