@@ -60,8 +60,8 @@ class AzureResourcePropertiesBase(msrest.serialization.Model):
6060 All required parameters must be populated in order to send to Azure.
6161
6262 :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
6565 """
6666
6767 _validation = {
@@ -92,8 +92,8 @@ class AzureKeyVaultProperties(AzureResourcePropertiesBase):
9292 All required parameters must be populated in order to send to Azure.
9393
9494 :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
9797 :ivar connect_as_kubernetes_csi_driver: True if connect via Kubernetes CSI Driver.
9898 :vartype connect_as_kubernetes_csi_driver: bool
9999 """
@@ -131,8 +131,8 @@ class TargetServiceBase(msrest.serialization.Model):
131131 All required parameters must be populated in order to send to Azure.
132132
133133 :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
136136 """
137137
138138 _validation = {
@@ -163,8 +163,8 @@ class AzureResource(TargetServiceBase):
163163 All required parameters must be populated in order to send to Azure.
164164
165165 :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
168168 :ivar id: The Id of azure resource.
169169 :vartype id: str
170170 :ivar resource_properties: The azure resource connection related properties.
@@ -206,8 +206,8 @@ class ConfluentBootstrapServer(TargetServiceBase):
206206 All required parameters must be populated in order to send to Azure.
207207
208208 :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
211211 :ivar endpoint: The endpoint of service.
212212 :vartype endpoint: str
213213 """
@@ -242,8 +242,8 @@ class ConfluentSchemaRegistry(TargetServiceBase):
242242 All required parameters must be populated in order to send to Azure.
243243
244244 :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
247247 :ivar endpoint: The endpoint of service.
248248 :vartype endpoint: str
249249 """
@@ -1264,9 +1264,13 @@ def __init__(
12641264 self .subscription_id = subscription_id
12651265
12661266
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.
12691269
1270+ :ivar resource_id: Validated linker id.
1271+ :vartype resource_id: str
1272+ :ivar status: Validation operation status.
1273+ :vartype status: str
12701274 :ivar linker_name: The linker name.
12711275 :vartype linker_name: str
12721276 :ivar is_connection_available: A boolean value indicating whether the connection is available
@@ -1288,19 +1292,23 @@ class ValidateResult(msrest.serialization.Model):
12881292 """
12891293
12901294 _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]' },
12991305 }
13001306
13011307 def __init__ (
13021308 self ,
13031309 * ,
1310+ resource_id : Optional [str ] = None ,
1311+ status : Optional [str ] = None ,
13041312 linker_name : Optional [str ] = None ,
13051313 is_connection_available : Optional [bool ] = None ,
13061314 report_start_time_utc : Optional [datetime .datetime ] = None ,
@@ -1312,6 +1320,10 @@ def __init__(
13121320 ** kwargs
13131321 ):
13141322 """
1323+ :keyword resource_id: Validated linker id.
1324+ :paramtype resource_id: str
1325+ :keyword status: Validation operation status.
1326+ :paramtype status: str
13151327 :keyword linker_name: The linker name.
13161328 :paramtype linker_name: str
13171329 :keyword is_connection_available: A boolean value indicating whether the connection is
@@ -1331,7 +1343,9 @@ def __init__(
13311343 :keyword validation_detail: The detail of validation result.
13321344 :paramtype validation_detail: list[~azure.mgmt.servicelinker.models.ValidationResultItem]
13331345 """
1334- super (ValidateResult , self ).__init__ (** kwargs )
1346+ super (ValidateOperationResult , self ).__init__ (** kwargs )
1347+ self .resource_id = resource_id
1348+ self .status = status
13351349 self .linker_name = linker_name
13361350 self .is_connection_available = is_connection_available
13371351 self .report_start_time_utc = report_start_time_utc
@@ -1349,7 +1363,7 @@ class ValidationResultItem(msrest.serialization.Model):
13491363 :vartype name: str
13501364 :ivar description: The display name of validation item.
13511365 :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 ",
13531367 "warning".
13541368 :vartype result: str or ~azure.mgmt.servicelinker.models.ValidationResultStatus
13551369 :ivar error_message: The error message of validation result.
@@ -1381,7 +1395,7 @@ def __init__(
13811395 :paramtype name: str
13821396 :keyword description: The display name of validation item.
13831397 :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 ",
13851399 "warning".
13861400 :paramtype result: str or ~azure.mgmt.servicelinker.models.ValidationResultStatus
13871401 :keyword error_message: The error message of validation result.
0 commit comments