azure_mgmt_datashare 0.17.0 → 0.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2018-11-01-preview/generated/azure_mgmt_datashare/data_share_management_client.rb +1 -1
- data/lib/2019-11-01/generated/azure_mgmt_datashare.rb +121 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/accounts.rb +981 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/consumer_invitations.rb +442 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/consumer_source_data_sets.rb +254 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/data_set_mappings.rb +603 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/data_sets.rb +631 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/data_share_management_client.rb +175 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/invitations.rb +587 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/account.rb +147 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/account_list.rb +99 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/account_update_parameters.rb +54 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/adlsgen1file_data_set.rb +144 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/adlsgen1folder_data_set.rb +133 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/adlsgen2file_data_set.rb +144 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/adlsgen2file_data_set_mapping.rb +182 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/adlsgen2file_system_data_set.rb +133 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/adlsgen2file_system_data_set_mapping.rb +159 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/adlsgen2folder_data_set.rb +144 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/adlsgen2folder_data_set_mapping.rb +170 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/blob_container_data_set.rb +133 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/blob_container_data_set_mapping.rb +159 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/blob_data_set.rb +144 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/blob_data_set_mapping.rb +182 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/blob_folder_data_set.rb +144 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/blob_folder_data_set_mapping.rb +170 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/consumer_invitation.rb +230 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/consumer_invitation_list.rb +99 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/consumer_source_data_set.rb +125 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/consumer_source_data_set_list.rb +99 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/data_set.rb +71 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/data_set_list.rb +101 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/data_set_mapping.rb +71 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/data_set_mapping_list.rb +101 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/data_set_mapping_status.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/data_set_type.rb +26 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/data_share_error.rb +47 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/data_share_error_info.rb +88 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/default_dto.rb +101 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/dimension_properties.rb +57 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/identity.rb +70 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/invitation.rb +171 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/invitation_list.rb +99 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/invitation_status.rb +18 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/kusto_cluster_data_set.rb +126 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/kusto_cluster_data_set_mapping.rb +138 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/kusto_database_data_set.rb +126 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/kusto_database_data_set_mapping.rb +138 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_list.rb +99 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_meta_log_specification.rb +68 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_meta_metric_specification.rb +181 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_meta_service_specification.rb +77 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_model.rb +81 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_model_properties.rb +79 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_response.rb +82 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/output_type.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/provider_share_subscription.rb +175 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/provider_share_subscription_list.rb +99 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/provisioning_state.rb +19 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/proxy_dto.rb +71 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/recurrence_interval.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/scheduled_source_synchronization_setting.rb +73 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/scheduled_synchronization_setting.rb +140 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/scheduled_trigger.rb +162 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/share.rb +146 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/share_kind.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/share_list.rb +98 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/share_subscription.rb +233 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/share_subscription_list.rb +99 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/share_subscription_status.rb +18 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/share_subscription_synchronization.rb +119 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/share_subscription_synchronization_list.rb +99 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/share_synchronization.rb +148 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/share_synchronization_list.rb +99 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/source_share_synchronization_setting.rb +46 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/source_share_synchronization_setting_list.rb +101 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/sql_dbtable_data_set.rb +133 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/sql_dbtable_data_set_mapping.rb +159 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/sql_dwtable_data_set.rb +133 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/sql_dwtable_data_set_mapping.rb +159 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/status.rb +20 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/synchronization_details.rb +221 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/synchronization_details_list.rb +99 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/synchronization_mode.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/synchronization_setting.rb +71 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/synchronization_setting_list.rb +101 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/synchronize.rb +48 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/trigger.rb +71 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/trigger_list.rb +101 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/trigger_status.rb +17 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/models/type.rb +15 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/module_definition.rb +9 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/operations.rb +232 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/provider_share_subscriptions.rb +636 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/share_subscriptions.rb +1685 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/shares.rb +1101 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/synchronization_settings.rb +664 -0
- data/lib/2019-11-01/generated/azure_mgmt_datashare/triggers.rb +701 -0
- data/lib/azure_mgmt_datashare.rb +1 -0
- data/lib/profiles/latest/modules/datashare_profile_module.rb +212 -196
- data/lib/version.rb +1 -1
- metadata +99 -2
@@ -0,0 +1,138 @@
|
|
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::DataShare::Mgmt::V2019_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A Kusto cluster data set mapping
|
10
|
+
#
|
11
|
+
class KustoClusterDataSetMapping < DataSetMapping
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@kind = "KustoCluster"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :kind
|
21
|
+
|
22
|
+
# @return [String] The id of the source data set.
|
23
|
+
attr_accessor :data_set_id
|
24
|
+
|
25
|
+
# @return [DataSetMappingStatus] Gets the status of the data set mapping.
|
26
|
+
# Possible values include: 'Ok', 'Broken'
|
27
|
+
attr_accessor :data_set_mapping_status
|
28
|
+
|
29
|
+
# @return [String] Resource id of the sink kusto cluster.
|
30
|
+
attr_accessor :kusto_cluster_resource_id
|
31
|
+
|
32
|
+
# @return [String] Location of the sink kusto cluster.
|
33
|
+
attr_accessor :location
|
34
|
+
|
35
|
+
# @return [ProvisioningState] Provisioning state of the data set mapping.
|
36
|
+
# Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving',
|
37
|
+
# 'Failed'
|
38
|
+
attr_accessor :provisioning_state
|
39
|
+
|
40
|
+
|
41
|
+
#
|
42
|
+
# Mapper for KustoClusterDataSetMapping class as Ruby Hash.
|
43
|
+
# This will be used for serialization/deserialization.
|
44
|
+
#
|
45
|
+
def self.mapper()
|
46
|
+
{
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'KustoCluster',
|
50
|
+
type: {
|
51
|
+
name: 'Composite',
|
52
|
+
class_name: 'KustoClusterDataSetMapping',
|
53
|
+
model_properties: {
|
54
|
+
id: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
read_only: true,
|
58
|
+
serialized_name: 'id',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
name: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
read_only: true,
|
67
|
+
serialized_name: 'name',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
type: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
read_only: true,
|
76
|
+
serialized_name: 'type',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
kind: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: true,
|
84
|
+
serialized_name: 'kind',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
data_set_id: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: true,
|
92
|
+
serialized_name: 'properties.dataSetId',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
},
|
97
|
+
data_set_mapping_status: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
read_only: true,
|
101
|
+
serialized_name: 'properties.dataSetMappingStatus',
|
102
|
+
type: {
|
103
|
+
name: 'String'
|
104
|
+
}
|
105
|
+
},
|
106
|
+
kusto_cluster_resource_id: {
|
107
|
+
client_side_validation: true,
|
108
|
+
required: true,
|
109
|
+
serialized_name: 'properties.kustoClusterResourceId',
|
110
|
+
type: {
|
111
|
+
name: 'String'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
location: {
|
115
|
+
client_side_validation: true,
|
116
|
+
required: false,
|
117
|
+
read_only: true,
|
118
|
+
serialized_name: 'properties.location',
|
119
|
+
type: {
|
120
|
+
name: 'String'
|
121
|
+
}
|
122
|
+
},
|
123
|
+
provisioning_state: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
read_only: true,
|
127
|
+
serialized_name: 'properties.provisioningState',
|
128
|
+
type: {
|
129
|
+
name: 'String'
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
@@ -0,0 +1,126 @@
|
|
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::DataShare::Mgmt::V2019_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A kusto database data set.
|
10
|
+
#
|
11
|
+
class KustoDatabaseDataSet < DataSet
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@kind = "KustoDatabase"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :kind
|
21
|
+
|
22
|
+
# @return [String] Unique id for identifying a data set resource
|
23
|
+
attr_accessor :data_set_id
|
24
|
+
|
25
|
+
# @return [String] Resource id of the kusto database.
|
26
|
+
attr_accessor :kusto_database_resource_id
|
27
|
+
|
28
|
+
# @return [String] Location of the kusto cluster.
|
29
|
+
attr_accessor :location
|
30
|
+
|
31
|
+
# @return [ProvisioningState] Provisioning state of the kusto database
|
32
|
+
# data set. Possible values include: 'Succeeded', 'Creating', 'Deleting',
|
33
|
+
# 'Moving', 'Failed'
|
34
|
+
attr_accessor :provisioning_state
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for KustoDatabaseDataSet class as Ruby Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'KustoDatabase',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'KustoDatabaseDataSet',
|
49
|
+
model_properties: {
|
50
|
+
id: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'id',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
name: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'name',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
type: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'type',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
kind: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: true,
|
80
|
+
serialized_name: 'kind',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
data_set_id: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
read_only: true,
|
89
|
+
serialized_name: 'properties.dataSetId',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
kusto_database_resource_id: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: true,
|
97
|
+
serialized_name: 'properties.kustoDatabaseResourceId',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
location: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
read_only: true,
|
106
|
+
serialized_name: 'properties.location',
|
107
|
+
type: {
|
108
|
+
name: 'String'
|
109
|
+
}
|
110
|
+
},
|
111
|
+
provisioning_state: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: false,
|
114
|
+
read_only: true,
|
115
|
+
serialized_name: 'properties.provisioningState',
|
116
|
+
type: {
|
117
|
+
name: 'String'
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
@@ -0,0 +1,138 @@
|
|
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::DataShare::Mgmt::V2019_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A Kusto database data set mapping
|
10
|
+
#
|
11
|
+
class KustoDatabaseDataSetMapping < DataSetMapping
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@kind = "KustoDatabase"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :kind
|
21
|
+
|
22
|
+
# @return [String] The id of the source data set.
|
23
|
+
attr_accessor :data_set_id
|
24
|
+
|
25
|
+
# @return [DataSetMappingStatus] Gets the status of the data set mapping.
|
26
|
+
# Possible values include: 'Ok', 'Broken'
|
27
|
+
attr_accessor :data_set_mapping_status
|
28
|
+
|
29
|
+
# @return [String] Resource id of the sink kusto cluster.
|
30
|
+
attr_accessor :kusto_cluster_resource_id
|
31
|
+
|
32
|
+
# @return [String] Location of the sink kusto cluster.
|
33
|
+
attr_accessor :location
|
34
|
+
|
35
|
+
# @return [ProvisioningState] Provisioning state of the data set mapping.
|
36
|
+
# Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving',
|
37
|
+
# 'Failed'
|
38
|
+
attr_accessor :provisioning_state
|
39
|
+
|
40
|
+
|
41
|
+
#
|
42
|
+
# Mapper for KustoDatabaseDataSetMapping class as Ruby Hash.
|
43
|
+
# This will be used for serialization/deserialization.
|
44
|
+
#
|
45
|
+
def self.mapper()
|
46
|
+
{
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'KustoDatabase',
|
50
|
+
type: {
|
51
|
+
name: 'Composite',
|
52
|
+
class_name: 'KustoDatabaseDataSetMapping',
|
53
|
+
model_properties: {
|
54
|
+
id: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
read_only: true,
|
58
|
+
serialized_name: 'id',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
name: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
read_only: true,
|
67
|
+
serialized_name: 'name',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
type: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
read_only: true,
|
76
|
+
serialized_name: 'type',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
kind: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: true,
|
84
|
+
serialized_name: 'kind',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
data_set_id: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: true,
|
92
|
+
serialized_name: 'properties.dataSetId',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
},
|
97
|
+
data_set_mapping_status: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
read_only: true,
|
101
|
+
serialized_name: 'properties.dataSetMappingStatus',
|
102
|
+
type: {
|
103
|
+
name: 'String'
|
104
|
+
}
|
105
|
+
},
|
106
|
+
kusto_cluster_resource_id: {
|
107
|
+
client_side_validation: true,
|
108
|
+
required: true,
|
109
|
+
serialized_name: 'properties.kustoClusterResourceId',
|
110
|
+
type: {
|
111
|
+
name: 'String'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
location: {
|
115
|
+
client_side_validation: true,
|
116
|
+
required: false,
|
117
|
+
read_only: true,
|
118
|
+
serialized_name: 'properties.location',
|
119
|
+
type: {
|
120
|
+
name: 'String'
|
121
|
+
}
|
122
|
+
},
|
123
|
+
provisioning_state: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
read_only: true,
|
127
|
+
serialized_name: 'properties.provisioningState',
|
128
|
+
type: {
|
129
|
+
name: 'String'
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
@@ -0,0 +1,99 @@
|
|
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::DataShare::Mgmt::V2019_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# List response for get operations.
|
10
|
+
#
|
11
|
+
class OperationList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] The Url of next result page.
|
17
|
+
attr_accessor :next_link
|
18
|
+
|
19
|
+
# @return [Array<OperationModel>] Collection of items of type
|
20
|
+
# DataTransferObjects.
|
21
|
+
attr_accessor :value
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<OperationModel>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [OperationList] with next page content.
|
45
|
+
#
|
46
|
+
def get_next_page
|
47
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
48
|
+
unless response.nil?
|
49
|
+
@next_link = response.body.next_link
|
50
|
+
@value = response.body.value
|
51
|
+
self
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for OperationList class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'OperationList',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'OperationList',
|
67
|
+
model_properties: {
|
68
|
+
next_link: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'nextLink',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
value: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: true,
|
79
|
+
serialized_name: 'value',
|
80
|
+
type: {
|
81
|
+
name: 'Sequence',
|
82
|
+
element: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'OperationModelElementType',
|
86
|
+
type: {
|
87
|
+
name: 'Composite',
|
88
|
+
class_name: 'OperationModel'
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|