@@ -60,8 +60,8 @@ class AzureResourcePropertiesBase(msrest.serialization.Model):
60
60
All required parameters must be populated in order to send to Azure.
61
61
62
62
:ivar type: Required. The azure resource type.Constant filled by server. Possible values
63
- include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry", " KeyVault".
64
- :vartype type: str or ~azure.mgmt.servicelinker.models.Type
63
+ include: "KeyVault".
64
+ :vartype type: str or ~azure.mgmt.servicelinker.models.AzureResourceType
65
65
"""
66
66
67
67
_validation = {
@@ -92,8 +92,8 @@ class AzureKeyVaultProperties(AzureResourcePropertiesBase):
92
92
All required parameters must be populated in order to send to Azure.
93
93
94
94
:ivar type: Required. The azure resource type.Constant filled by server. Possible values
95
- include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry", " KeyVault".
96
- :vartype type: str or ~azure.mgmt.servicelinker.models.Type
95
+ include: "KeyVault".
96
+ :vartype type: str or ~azure.mgmt.servicelinker.models.AzureResourceType
97
97
:ivar connect_as_kubernetes_csi_driver: True if connect via Kubernetes CSI Driver.
98
98
:vartype connect_as_kubernetes_csi_driver: bool
99
99
"""
@@ -131,8 +131,8 @@ class TargetServiceBase(msrest.serialization.Model):
131
131
All required parameters must be populated in order to send to Azure.
132
132
133
133
:ivar type: Required. The target service type.Constant filled by server. Possible values
134
- include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry", "KeyVault" .
135
- :vartype type: str or ~azure.mgmt.servicelinker.models.Type
134
+ include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry".
135
+ :vartype type: str or ~azure.mgmt.servicelinker.models.TargetServiceType
136
136
"""
137
137
138
138
_validation = {
@@ -163,8 +163,8 @@ class AzureResource(TargetServiceBase):
163
163
All required parameters must be populated in order to send to Azure.
164
164
165
165
:ivar type: Required. The target service type.Constant filled by server. Possible values
166
- include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry", "KeyVault" .
167
- :vartype type: str or ~azure.mgmt.servicelinker.models.Type
166
+ include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry".
167
+ :vartype type: str or ~azure.mgmt.servicelinker.models.TargetServiceType
168
168
:ivar id: The Id of azure resource.
169
169
:vartype id: str
170
170
:ivar resource_properties: The azure resource connection related properties.
@@ -206,8 +206,8 @@ class ConfluentBootstrapServer(TargetServiceBase):
206
206
All required parameters must be populated in order to send to Azure.
207
207
208
208
:ivar type: Required. The target service type.Constant filled by server. Possible values
209
- include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry", "KeyVault" .
210
- :vartype type: str or ~azure.mgmt.servicelinker.models.Type
209
+ include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry".
210
+ :vartype type: str or ~azure.mgmt.servicelinker.models.TargetServiceType
211
211
:ivar endpoint: The endpoint of service.
212
212
:vartype endpoint: str
213
213
"""
@@ -242,8 +242,8 @@ class ConfluentSchemaRegistry(TargetServiceBase):
242
242
All required parameters must be populated in order to send to Azure.
243
243
244
244
:ivar type: Required. The target service type.Constant filled by server. Possible values
245
- include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry", "KeyVault" .
246
- :vartype type: str or ~azure.mgmt.servicelinker.models.Type
245
+ include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry".
246
+ :vartype type: str or ~azure.mgmt.servicelinker.models.TargetServiceType
247
247
:ivar endpoint: The endpoint of service.
248
248
:vartype endpoint: str
249
249
"""
@@ -1264,9 +1264,13 @@ def __init__(
1264
1264
self .subscription_id = subscription_id
1265
1265
1266
1266
1267
- class ValidateResult (msrest .serialization .Model ):
1268
- """The validation result for a linker.
1267
+ class ValidateOperationResult (msrest .serialization .Model ):
1268
+ """The validation operation result for a linker.
1269
1269
1270
+ :ivar resource_id: Validated linker id.
1271
+ :vartype resource_id: str
1272
+ :ivar status: Validation operation status.
1273
+ :vartype status: str
1270
1274
:ivar linker_name: The linker name.
1271
1275
:vartype linker_name: str
1272
1276
:ivar is_connection_available: A boolean value indicating whether the connection is available
@@ -1288,19 +1292,23 @@ class ValidateResult(msrest.serialization.Model):
1288
1292
"""
1289
1293
1290
1294
_attribute_map = {
1291
- 'linker_name' : {'key' : 'linkerName' , 'type' : 'str' },
1292
- 'is_connection_available' : {'key' : 'isConnectionAvailable' , 'type' : 'bool' },
1293
- 'report_start_time_utc' : {'key' : 'reportStartTimeUtc' , 'type' : 'iso-8601' },
1294
- 'report_end_time_utc' : {'key' : 'reportEndTimeUtc' , 'type' : 'iso-8601' },
1295
- 'source_id' : {'key' : 'sourceId' , 'type' : 'str' },
1296
- 'target_id' : {'key' : 'targetId' , 'type' : 'str' },
1297
- 'auth_type' : {'key' : 'authType' , 'type' : 'str' },
1298
- 'validation_detail' : {'key' : 'validationDetail' , 'type' : '[ValidationResultItem]' },
1295
+ 'resource_id' : {'key' : 'resourceId' , 'type' : 'str' },
1296
+ 'status' : {'key' : 'status' , 'type' : 'str' },
1297
+ 'linker_name' : {'key' : 'properties.linkerName' , 'type' : 'str' },
1298
+ 'is_connection_available' : {'key' : 'properties.isConnectionAvailable' , 'type' : 'bool' },
1299
+ 'report_start_time_utc' : {'key' : 'properties.reportStartTimeUtc' , 'type' : 'iso-8601' },
1300
+ 'report_end_time_utc' : {'key' : 'properties.reportEndTimeUtc' , 'type' : 'iso-8601' },
1301
+ 'source_id' : {'key' : 'properties.sourceId' , 'type' : 'str' },
1302
+ 'target_id' : {'key' : 'properties.targetId' , 'type' : 'str' },
1303
+ 'auth_type' : {'key' : 'properties.authType' , 'type' : 'str' },
1304
+ 'validation_detail' : {'key' : 'properties.validationDetail' , 'type' : '[ValidationResultItem]' },
1299
1305
}
1300
1306
1301
1307
def __init__ (
1302
1308
self ,
1303
1309
* ,
1310
+ resource_id : Optional [str ] = None ,
1311
+ status : Optional [str ] = None ,
1304
1312
linker_name : Optional [str ] = None ,
1305
1313
is_connection_available : Optional [bool ] = None ,
1306
1314
report_start_time_utc : Optional [datetime .datetime ] = None ,
@@ -1312,6 +1320,10 @@ def __init__(
1312
1320
** kwargs
1313
1321
):
1314
1322
"""
1323
+ :keyword resource_id: Validated linker id.
1324
+ :paramtype resource_id: str
1325
+ :keyword status: Validation operation status.
1326
+ :paramtype status: str
1315
1327
:keyword linker_name: The linker name.
1316
1328
:paramtype linker_name: str
1317
1329
:keyword is_connection_available: A boolean value indicating whether the connection is
@@ -1331,7 +1343,9 @@ def __init__(
1331
1343
:keyword validation_detail: The detail of validation result.
1332
1344
:paramtype validation_detail: list[~azure.mgmt.servicelinker.models.ValidationResultItem]
1333
1345
"""
1334
- super (ValidateResult , self ).__init__ (** kwargs )
1346
+ super (ValidateOperationResult , self ).__init__ (** kwargs )
1347
+ self .resource_id = resource_id
1348
+ self .status = status
1335
1349
self .linker_name = linker_name
1336
1350
self .is_connection_available = is_connection_available
1337
1351
self .report_start_time_utc = report_start_time_utc
@@ -1349,7 +1363,7 @@ class ValidationResultItem(msrest.serialization.Model):
1349
1363
:vartype name: str
1350
1364
:ivar description: The display name of validation item.
1351
1365
:vartype description: str
1352
- :ivar result: The result of validation. Possible values include: "success", "failed ",
1366
+ :ivar result: The result of validation. Possible values include: "success", "failure ",
1353
1367
"warning".
1354
1368
:vartype result: str or ~azure.mgmt.servicelinker.models.ValidationResultStatus
1355
1369
:ivar error_message: The error message of validation result.
@@ -1381,7 +1395,7 @@ def __init__(
1381
1395
:paramtype name: str
1382
1396
:keyword description: The display name of validation item.
1383
1397
:paramtype description: str
1384
- :keyword result: The result of validation. Possible values include: "success", "failed ",
1398
+ :keyword result: The result of validation. Possible values include: "success", "failure ",
1385
1399
"warning".
1386
1400
:paramtype result: str or ~azure.mgmt.servicelinker.models.ValidationResultStatus
1387
1401
:keyword error_message: The error message of validation result.
0 commit comments