github.com/vmware/govmomi@v0.51.0/sms/methods/methods.go (about) 1 // © Broadcom. All Rights Reserved. 2 // The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. 3 // SPDX-License-Identifier: Apache-2.0 4 5 package methods 6 7 import ( 8 "context" 9 10 "github.com/vmware/govmomi/sms/types" 11 "github.com/vmware/govmomi/vim25/soap" 12 ) 13 14 type FailoverReplicationGroup_TaskBody struct { 15 Req *types.FailoverReplicationGroup_Task `xml:"urn:sms FailoverReplicationGroup_Task,omitempty"` 16 Res *types.FailoverReplicationGroup_TaskResponse `xml:"urn:sms FailoverReplicationGroup_TaskResponse,omitempty"` 17 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 18 } 19 20 func (b *FailoverReplicationGroup_TaskBody) Fault() *soap.Fault { return b.Fault_ } 21 22 func FailoverReplicationGroup_Task(ctx context.Context, r soap.RoundTripper, req *types.FailoverReplicationGroup_Task) (*types.FailoverReplicationGroup_TaskResponse, error) { 23 var reqBody, resBody FailoverReplicationGroup_TaskBody 24 25 reqBody.Req = req 26 27 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 28 return nil, err 29 } 30 31 return resBody.Res, nil 32 } 33 34 type PrepareFailoverReplicationGroup_TaskBody struct { 35 Req *types.PrepareFailoverReplicationGroup_Task `xml:"urn:sms PrepareFailoverReplicationGroup_Task,omitempty"` 36 Res *types.PrepareFailoverReplicationGroup_TaskResponse `xml:"urn:sms PrepareFailoverReplicationGroup_TaskResponse,omitempty"` 37 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 38 } 39 40 func (b *PrepareFailoverReplicationGroup_TaskBody) Fault() *soap.Fault { return b.Fault_ } 41 42 func PrepareFailoverReplicationGroup_Task(ctx context.Context, r soap.RoundTripper, req *types.PrepareFailoverReplicationGroup_Task) (*types.PrepareFailoverReplicationGroup_TaskResponse, error) { 43 var reqBody, resBody PrepareFailoverReplicationGroup_TaskBody 44 45 reqBody.Req = req 46 47 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 48 return nil, err 49 } 50 51 return resBody.Res, nil 52 } 53 54 type PromoteReplicationGroup_TaskBody struct { 55 Req *types.PromoteReplicationGroup_Task `xml:"urn:sms PromoteReplicationGroup_Task,omitempty"` 56 Res *types.PromoteReplicationGroup_TaskResponse `xml:"urn:sms PromoteReplicationGroup_TaskResponse,omitempty"` 57 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 58 } 59 60 func (b *PromoteReplicationGroup_TaskBody) Fault() *soap.Fault { return b.Fault_ } 61 62 func PromoteReplicationGroup_Task(ctx context.Context, r soap.RoundTripper, req *types.PromoteReplicationGroup_Task) (*types.PromoteReplicationGroup_TaskResponse, error) { 63 var reqBody, resBody PromoteReplicationGroup_TaskBody 64 65 reqBody.Req = req 66 67 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 68 return nil, err 69 } 70 71 return resBody.Res, nil 72 } 73 74 type QueryAboutInfoBody struct { 75 Req *types.QueryAboutInfo `xml:"urn:sms QueryAboutInfo,omitempty"` 76 Res *types.QueryAboutInfoResponse `xml:"urn:sms QueryAboutInfoResponse,omitempty"` 77 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 78 } 79 80 func (b *QueryAboutInfoBody) Fault() *soap.Fault { return b.Fault_ } 81 82 func QueryAboutInfo(ctx context.Context, r soap.RoundTripper, req *types.QueryAboutInfo) (*types.QueryAboutInfoResponse, error) { 83 var reqBody, resBody QueryAboutInfoBody 84 85 reqBody.Req = req 86 87 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 88 return nil, err 89 } 90 91 return resBody.Res, nil 92 } 93 94 type QueryActiveAlarmBody struct { 95 Req *types.QueryActiveAlarm `xml:"urn:sms QueryActiveAlarm,omitempty"` 96 Res *types.QueryActiveAlarmResponse `xml:"urn:sms QueryActiveAlarmResponse,omitempty"` 97 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 98 } 99 100 func (b *QueryActiveAlarmBody) Fault() *soap.Fault { return b.Fault_ } 101 102 func QueryActiveAlarm(ctx context.Context, r soap.RoundTripper, req *types.QueryActiveAlarm) (*types.QueryActiveAlarmResponse, error) { 103 var reqBody, resBody QueryActiveAlarmBody 104 105 reqBody.Req = req 106 107 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 108 return nil, err 109 } 110 111 return resBody.Res, nil 112 } 113 114 type QueryArrayBody struct { 115 Req *types.QueryArray `xml:"urn:sms QueryArray,omitempty"` 116 Res *types.QueryArrayResponse `xml:"urn:sms QueryArrayResponse,omitempty"` 117 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 118 } 119 120 func (b *QueryArrayBody) Fault() *soap.Fault { return b.Fault_ } 121 122 func QueryArray(ctx context.Context, r soap.RoundTripper, req *types.QueryArray) (*types.QueryArrayResponse, error) { 123 var reqBody, resBody QueryArrayBody 124 125 reqBody.Req = req 126 127 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 128 return nil, err 129 } 130 131 return resBody.Res, nil 132 } 133 134 type QueryArrayAssociatedWithLunBody struct { 135 Req *types.QueryArrayAssociatedWithLun `xml:"urn:sms QueryArrayAssociatedWithLun,omitempty"` 136 Res *types.QueryArrayAssociatedWithLunResponse `xml:"urn:sms QueryArrayAssociatedWithLunResponse,omitempty"` 137 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 138 } 139 140 func (b *QueryArrayAssociatedWithLunBody) Fault() *soap.Fault { return b.Fault_ } 141 142 func QueryArrayAssociatedWithLun(ctx context.Context, r soap.RoundTripper, req *types.QueryArrayAssociatedWithLun) (*types.QueryArrayAssociatedWithLunResponse, error) { 143 var reqBody, resBody QueryArrayAssociatedWithLunBody 144 145 reqBody.Req = req 146 147 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 148 return nil, err 149 } 150 151 return resBody.Res, nil 152 } 153 154 type QueryAssociatedBackingStoragePoolBody struct { 155 Req *types.QueryAssociatedBackingStoragePool `xml:"urn:sms QueryAssociatedBackingStoragePool,omitempty"` 156 Res *types.QueryAssociatedBackingStoragePoolResponse `xml:"urn:sms QueryAssociatedBackingStoragePoolResponse,omitempty"` 157 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 158 } 159 160 func (b *QueryAssociatedBackingStoragePoolBody) Fault() *soap.Fault { return b.Fault_ } 161 162 func QueryAssociatedBackingStoragePool(ctx context.Context, r soap.RoundTripper, req *types.QueryAssociatedBackingStoragePool) (*types.QueryAssociatedBackingStoragePoolResponse, error) { 163 var reqBody, resBody QueryAssociatedBackingStoragePoolBody 164 165 reqBody.Req = req 166 167 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 168 return nil, err 169 } 170 171 return resBody.Res, nil 172 } 173 174 type QueryDatastoreBackingPoolMappingBody struct { 175 Req *types.QueryDatastoreBackingPoolMapping `xml:"urn:sms QueryDatastoreBackingPoolMapping,omitempty"` 176 Res *types.QueryDatastoreBackingPoolMappingResponse `xml:"urn:sms QueryDatastoreBackingPoolMappingResponse,omitempty"` 177 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 178 } 179 180 func (b *QueryDatastoreBackingPoolMappingBody) Fault() *soap.Fault { return b.Fault_ } 181 182 func QueryDatastoreBackingPoolMapping(ctx context.Context, r soap.RoundTripper, req *types.QueryDatastoreBackingPoolMapping) (*types.QueryDatastoreBackingPoolMappingResponse, error) { 183 var reqBody, resBody QueryDatastoreBackingPoolMappingBody 184 185 reqBody.Req = req 186 187 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 188 return nil, err 189 } 190 191 return resBody.Res, nil 192 } 193 194 type QueryDatastoreCapabilityBody struct { 195 Req *types.QueryDatastoreCapability `xml:"urn:sms QueryDatastoreCapability,omitempty"` 196 Res *types.QueryDatastoreCapabilityResponse `xml:"urn:sms QueryDatastoreCapabilityResponse,omitempty"` 197 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 198 } 199 200 func (b *QueryDatastoreCapabilityBody) Fault() *soap.Fault { return b.Fault_ } 201 202 func QueryDatastoreCapability(ctx context.Context, r soap.RoundTripper, req *types.QueryDatastoreCapability) (*types.QueryDatastoreCapabilityResponse, error) { 203 var reqBody, resBody QueryDatastoreCapabilityBody 204 205 reqBody.Req = req 206 207 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 208 return nil, err 209 } 210 211 return resBody.Res, nil 212 } 213 214 type QueryDrsMigrationCapabilityForPerformanceBody struct { 215 Req *types.QueryDrsMigrationCapabilityForPerformance `xml:"urn:sms QueryDrsMigrationCapabilityForPerformance,omitempty"` 216 Res *types.QueryDrsMigrationCapabilityForPerformanceResponse `xml:"urn:sms QueryDrsMigrationCapabilityForPerformanceResponse,omitempty"` 217 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 218 } 219 220 func (b *QueryDrsMigrationCapabilityForPerformanceBody) Fault() *soap.Fault { return b.Fault_ } 221 222 func QueryDrsMigrationCapabilityForPerformance(ctx context.Context, r soap.RoundTripper, req *types.QueryDrsMigrationCapabilityForPerformance) (*types.QueryDrsMigrationCapabilityForPerformanceResponse, error) { 223 var reqBody, resBody QueryDrsMigrationCapabilityForPerformanceBody 224 225 reqBody.Req = req 226 227 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 228 return nil, err 229 } 230 231 return resBody.Res, nil 232 } 233 234 type QueryDrsMigrationCapabilityForPerformanceExBody struct { 235 Req *types.QueryDrsMigrationCapabilityForPerformanceEx `xml:"urn:sms QueryDrsMigrationCapabilityForPerformanceEx,omitempty"` 236 Res *types.QueryDrsMigrationCapabilityForPerformanceExResponse `xml:"urn:sms QueryDrsMigrationCapabilityForPerformanceExResponse,omitempty"` 237 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 238 } 239 240 func (b *QueryDrsMigrationCapabilityForPerformanceExBody) Fault() *soap.Fault { return b.Fault_ } 241 242 func QueryDrsMigrationCapabilityForPerformanceEx(ctx context.Context, r soap.RoundTripper, req *types.QueryDrsMigrationCapabilityForPerformanceEx) (*types.QueryDrsMigrationCapabilityForPerformanceExResponse, error) { 243 var reqBody, resBody QueryDrsMigrationCapabilityForPerformanceExBody 244 245 reqBody.Req = req 246 247 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 248 return nil, err 249 } 250 251 return resBody.Res, nil 252 } 253 254 type QueryFaultDomainBody struct { 255 Req *types.QueryFaultDomain `xml:"urn:sms QueryFaultDomain,omitempty"` 256 Res *types.QueryFaultDomainResponse `xml:"urn:sms QueryFaultDomainResponse,omitempty"` 257 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 258 } 259 260 func (b *QueryFaultDomainBody) Fault() *soap.Fault { return b.Fault_ } 261 262 func QueryFaultDomain(ctx context.Context, r soap.RoundTripper, req *types.QueryFaultDomain) (*types.QueryFaultDomainResponse, error) { 263 var reqBody, resBody QueryFaultDomainBody 264 265 reqBody.Req = req 266 267 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 268 return nil, err 269 } 270 271 return resBody.Res, nil 272 } 273 274 type QueryFileSystemAssociatedWithArrayBody struct { 275 Req *types.QueryFileSystemAssociatedWithArray `xml:"urn:sms QueryFileSystemAssociatedWithArray,omitempty"` 276 Res *types.QueryFileSystemAssociatedWithArrayResponse `xml:"urn:sms QueryFileSystemAssociatedWithArrayResponse,omitempty"` 277 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 278 } 279 280 func (b *QueryFileSystemAssociatedWithArrayBody) Fault() *soap.Fault { return b.Fault_ } 281 282 func QueryFileSystemAssociatedWithArray(ctx context.Context, r soap.RoundTripper, req *types.QueryFileSystemAssociatedWithArray) (*types.QueryFileSystemAssociatedWithArrayResponse, error) { 283 var reqBody, resBody QueryFileSystemAssociatedWithArrayBody 284 285 reqBody.Req = req 286 287 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 288 return nil, err 289 } 290 291 return resBody.Res, nil 292 } 293 294 type QueryHostAssociatedWithLunBody struct { 295 Req *types.QueryHostAssociatedWithLun `xml:"urn:sms QueryHostAssociatedWithLun,omitempty"` 296 Res *types.QueryHostAssociatedWithLunResponse `xml:"urn:sms QueryHostAssociatedWithLunResponse,omitempty"` 297 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 298 } 299 300 func (b *QueryHostAssociatedWithLunBody) Fault() *soap.Fault { return b.Fault_ } 301 302 func QueryHostAssociatedWithLun(ctx context.Context, r soap.RoundTripper, req *types.QueryHostAssociatedWithLun) (*types.QueryHostAssociatedWithLunResponse, error) { 303 var reqBody, resBody QueryHostAssociatedWithLunBody 304 305 reqBody.Req = req 306 307 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 308 return nil, err 309 } 310 311 return resBody.Res, nil 312 } 313 314 type QueryLunAssociatedWithArrayBody struct { 315 Req *types.QueryLunAssociatedWithArray `xml:"urn:sms QueryLunAssociatedWithArray,omitempty"` 316 Res *types.QueryLunAssociatedWithArrayResponse `xml:"urn:sms QueryLunAssociatedWithArrayResponse,omitempty"` 317 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 318 } 319 320 func (b *QueryLunAssociatedWithArrayBody) Fault() *soap.Fault { return b.Fault_ } 321 322 func QueryLunAssociatedWithArray(ctx context.Context, r soap.RoundTripper, req *types.QueryLunAssociatedWithArray) (*types.QueryLunAssociatedWithArrayResponse, error) { 323 var reqBody, resBody QueryLunAssociatedWithArrayBody 324 325 reqBody.Req = req 326 327 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 328 return nil, err 329 } 330 331 return resBody.Res, nil 332 } 333 334 type QueryLunAssociatedWithPortBody struct { 335 Req *types.QueryLunAssociatedWithPort `xml:"urn:sms QueryLunAssociatedWithPort,omitempty"` 336 Res *types.QueryLunAssociatedWithPortResponse `xml:"urn:sms QueryLunAssociatedWithPortResponse,omitempty"` 337 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 338 } 339 340 func (b *QueryLunAssociatedWithPortBody) Fault() *soap.Fault { return b.Fault_ } 341 342 func QueryLunAssociatedWithPort(ctx context.Context, r soap.RoundTripper, req *types.QueryLunAssociatedWithPort) (*types.QueryLunAssociatedWithPortResponse, error) { 343 var reqBody, resBody QueryLunAssociatedWithPortBody 344 345 reqBody.Req = req 346 347 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 348 return nil, err 349 } 350 351 return resBody.Res, nil 352 } 353 354 type QueryNfsDatastoreAssociatedWithFileSystemBody struct { 355 Req *types.QueryNfsDatastoreAssociatedWithFileSystem `xml:"urn:sms QueryNfsDatastoreAssociatedWithFileSystem,omitempty"` 356 Res *types.QueryNfsDatastoreAssociatedWithFileSystemResponse `xml:"urn:sms QueryNfsDatastoreAssociatedWithFileSystemResponse,omitempty"` 357 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 358 } 359 360 func (b *QueryNfsDatastoreAssociatedWithFileSystemBody) Fault() *soap.Fault { return b.Fault_ } 361 362 func QueryNfsDatastoreAssociatedWithFileSystem(ctx context.Context, r soap.RoundTripper, req *types.QueryNfsDatastoreAssociatedWithFileSystem) (*types.QueryNfsDatastoreAssociatedWithFileSystemResponse, error) { 363 var reqBody, resBody QueryNfsDatastoreAssociatedWithFileSystemBody 364 365 reqBody.Req = req 366 367 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 368 return nil, err 369 } 370 371 return resBody.Res, nil 372 } 373 374 type QueryPointInTimeReplicaBody struct { 375 Req *types.QueryPointInTimeReplica `xml:"urn:sms QueryPointInTimeReplica,omitempty"` 376 Res *types.QueryPointInTimeReplicaResponse `xml:"urn:sms QueryPointInTimeReplicaResponse,omitempty"` 377 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 378 } 379 380 func (b *QueryPointInTimeReplicaBody) Fault() *soap.Fault { return b.Fault_ } 381 382 func QueryPointInTimeReplica(ctx context.Context, r soap.RoundTripper, req *types.QueryPointInTimeReplica) (*types.QueryPointInTimeReplicaResponse, error) { 383 var reqBody, resBody QueryPointInTimeReplicaBody 384 385 reqBody.Req = req 386 387 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 388 return nil, err 389 } 390 391 return resBody.Res, nil 392 } 393 394 type QueryPortAssociatedWithArrayBody struct { 395 Req *types.QueryPortAssociatedWithArray `xml:"urn:sms QueryPortAssociatedWithArray,omitempty"` 396 Res *types.QueryPortAssociatedWithArrayResponse `xml:"urn:sms QueryPortAssociatedWithArrayResponse,omitempty"` 397 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 398 } 399 400 func (b *QueryPortAssociatedWithArrayBody) Fault() *soap.Fault { return b.Fault_ } 401 402 func QueryPortAssociatedWithArray(ctx context.Context, r soap.RoundTripper, req *types.QueryPortAssociatedWithArray) (*types.QueryPortAssociatedWithArrayResponse, error) { 403 var reqBody, resBody QueryPortAssociatedWithArrayBody 404 405 reqBody.Req = req 406 407 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 408 return nil, err 409 } 410 411 return resBody.Res, nil 412 } 413 414 type QueryPortAssociatedWithLunBody struct { 415 Req *types.QueryPortAssociatedWithLun `xml:"urn:sms QueryPortAssociatedWithLun,omitempty"` 416 Res *types.QueryPortAssociatedWithLunResponse `xml:"urn:sms QueryPortAssociatedWithLunResponse,omitempty"` 417 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 418 } 419 420 func (b *QueryPortAssociatedWithLunBody) Fault() *soap.Fault { return b.Fault_ } 421 422 func QueryPortAssociatedWithLun(ctx context.Context, r soap.RoundTripper, req *types.QueryPortAssociatedWithLun) (*types.QueryPortAssociatedWithLunResponse, error) { 423 var reqBody, resBody QueryPortAssociatedWithLunBody 424 425 reqBody.Req = req 426 427 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 428 return nil, err 429 } 430 431 return resBody.Res, nil 432 } 433 434 type QueryPortAssociatedWithProcessorBody struct { 435 Req *types.QueryPortAssociatedWithProcessor `xml:"urn:sms QueryPortAssociatedWithProcessor,omitempty"` 436 Res *types.QueryPortAssociatedWithProcessorResponse `xml:"urn:sms QueryPortAssociatedWithProcessorResponse,omitempty"` 437 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 438 } 439 440 func (b *QueryPortAssociatedWithProcessorBody) Fault() *soap.Fault { return b.Fault_ } 441 442 func QueryPortAssociatedWithProcessor(ctx context.Context, r soap.RoundTripper, req *types.QueryPortAssociatedWithProcessor) (*types.QueryPortAssociatedWithProcessorResponse, error) { 443 var reqBody, resBody QueryPortAssociatedWithProcessorBody 444 445 reqBody.Req = req 446 447 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 448 return nil, err 449 } 450 451 return resBody.Res, nil 452 } 453 454 type QueryProcessorAssociatedWithArrayBody struct { 455 Req *types.QueryProcessorAssociatedWithArray `xml:"urn:sms QueryProcessorAssociatedWithArray,omitempty"` 456 Res *types.QueryProcessorAssociatedWithArrayResponse `xml:"urn:sms QueryProcessorAssociatedWithArrayResponse,omitempty"` 457 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 458 } 459 460 func (b *QueryProcessorAssociatedWithArrayBody) Fault() *soap.Fault { return b.Fault_ } 461 462 func QueryProcessorAssociatedWithArray(ctx context.Context, r soap.RoundTripper, req *types.QueryProcessorAssociatedWithArray) (*types.QueryProcessorAssociatedWithArrayResponse, error) { 463 var reqBody, resBody QueryProcessorAssociatedWithArrayBody 464 465 reqBody.Req = req 466 467 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 468 return nil, err 469 } 470 471 return resBody.Res, nil 472 } 473 474 type QueryProviderBody struct { 475 Req *types.QueryProvider `xml:"urn:sms QueryProvider,omitempty"` 476 Res *types.QueryProviderResponse `xml:"urn:sms QueryProviderResponse,omitempty"` 477 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 478 } 479 480 func (b *QueryProviderBody) Fault() *soap.Fault { return b.Fault_ } 481 482 func QueryProvider(ctx context.Context, r soap.RoundTripper, req *types.QueryProvider) (*types.QueryProviderResponse, error) { 483 var reqBody, resBody QueryProviderBody 484 485 reqBody.Req = req 486 487 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 488 return nil, err 489 } 490 491 return resBody.Res, nil 492 } 493 494 type QueryProviderInfoBody struct { 495 Req *types.QueryProviderInfo `xml:"urn:sms QueryProviderInfo,omitempty"` 496 Res *types.QueryProviderInfoResponse `xml:"urn:sms QueryProviderInfoResponse,omitempty"` 497 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 498 } 499 500 func (b *QueryProviderInfoBody) Fault() *soap.Fault { return b.Fault_ } 501 502 func QueryProviderInfo(ctx context.Context, r soap.RoundTripper, req *types.QueryProviderInfo) (*types.QueryProviderInfoResponse, error) { 503 var reqBody, resBody QueryProviderInfoBody 504 505 reqBody.Req = req 506 507 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 508 return nil, err 509 } 510 511 return resBody.Res, nil 512 } 513 514 type QueryReplicationGroupBody struct { 515 Req *types.QueryReplicationGroup `xml:"urn:sms QueryReplicationGroup,omitempty"` 516 Res *types.QueryReplicationGroupResponse `xml:"urn:sms QueryReplicationGroupResponse,omitempty"` 517 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 518 } 519 520 func (b *QueryReplicationGroupBody) Fault() *soap.Fault { return b.Fault_ } 521 522 func QueryReplicationGroup(ctx context.Context, r soap.RoundTripper, req *types.QueryReplicationGroup) (*types.QueryReplicationGroupResponse, error) { 523 var reqBody, resBody QueryReplicationGroupBody 524 525 reqBody.Req = req 526 527 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 528 return nil, err 529 } 530 531 return resBody.Res, nil 532 } 533 534 type QueryReplicationGroupInfoBody struct { 535 Req *types.QueryReplicationGroupInfo `xml:"urn:sms QueryReplicationGroupInfo,omitempty"` 536 Res *types.QueryReplicationGroupInfoResponse `xml:"urn:sms QueryReplicationGroupInfoResponse,omitempty"` 537 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 538 } 539 540 func (b *QueryReplicationGroupInfoBody) Fault() *soap.Fault { return b.Fault_ } 541 542 func QueryReplicationGroupInfo(ctx context.Context, r soap.RoundTripper, req *types.QueryReplicationGroupInfo) (*types.QueryReplicationGroupInfoResponse, error) { 543 var reqBody, resBody QueryReplicationGroupInfoBody 544 545 reqBody.Req = req 546 547 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 548 return nil, err 549 } 550 551 return resBody.Res, nil 552 } 553 554 type QueryReplicationPeerBody struct { 555 Req *types.QueryReplicationPeer `xml:"urn:sms QueryReplicationPeer,omitempty"` 556 Res *types.QueryReplicationPeerResponse `xml:"urn:sms QueryReplicationPeerResponse,omitempty"` 557 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 558 } 559 560 func (b *QueryReplicationPeerBody) Fault() *soap.Fault { return b.Fault_ } 561 562 func QueryReplicationPeer(ctx context.Context, r soap.RoundTripper, req *types.QueryReplicationPeer) (*types.QueryReplicationPeerResponse, error) { 563 var reqBody, resBody QueryReplicationPeerBody 564 565 reqBody.Req = req 566 567 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 568 return nil, err 569 } 570 571 return resBody.Res, nil 572 } 573 574 type QuerySessionManagerBody struct { 575 Req *types.QuerySessionManager `xml:"urn:sms QuerySessionManager,omitempty"` 576 Res *types.QuerySessionManagerResponse `xml:"urn:sms QuerySessionManagerResponse,omitempty"` 577 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 578 } 579 580 func (b *QuerySessionManagerBody) Fault() *soap.Fault { return b.Fault_ } 581 582 func QuerySessionManager(ctx context.Context, r soap.RoundTripper, req *types.QuerySessionManager) (*types.QuerySessionManagerResponse, error) { 583 var reqBody, resBody QuerySessionManagerBody 584 585 reqBody.Req = req 586 587 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 588 return nil, err 589 } 590 591 return resBody.Res, nil 592 } 593 594 type QuerySmsTaskInfoBody struct { 595 Req *types.QuerySmsTaskInfo `xml:"urn:sms QuerySmsTaskInfo,omitempty"` 596 Res *types.QuerySmsTaskInfoResponse `xml:"urn:sms QuerySmsTaskInfoResponse,omitempty"` 597 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 598 } 599 600 func (b *QuerySmsTaskInfoBody) Fault() *soap.Fault { return b.Fault_ } 601 602 func QuerySmsTaskInfo(ctx context.Context, r soap.RoundTripper, req *types.QuerySmsTaskInfo) (*types.QuerySmsTaskInfoResponse, error) { 603 var reqBody, resBody QuerySmsTaskInfoBody 604 605 reqBody.Req = req 606 607 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 608 return nil, err 609 } 610 611 return resBody.Res, nil 612 } 613 614 type QuerySmsTaskResultBody struct { 615 Req *types.QuerySmsTaskResult `xml:"urn:sms QuerySmsTaskResult,omitempty"` 616 Res *types.QuerySmsTaskResultResponse `xml:"urn:sms QuerySmsTaskResultResponse,omitempty"` 617 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 618 } 619 620 func (b *QuerySmsTaskResultBody) Fault() *soap.Fault { return b.Fault_ } 621 622 func QuerySmsTaskResult(ctx context.Context, r soap.RoundTripper, req *types.QuerySmsTaskResult) (*types.QuerySmsTaskResultResponse, error) { 623 var reqBody, resBody QuerySmsTaskResultBody 624 625 reqBody.Req = req 626 627 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 628 return nil, err 629 } 630 631 return resBody.Res, nil 632 } 633 634 type QueryStorageContainerBody struct { 635 Req *types.QueryStorageContainer `xml:"urn:sms QueryStorageContainer,omitempty"` 636 Res *types.QueryStorageContainerResponse `xml:"urn:sms QueryStorageContainerResponse,omitempty"` 637 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 638 } 639 640 func (b *QueryStorageContainerBody) Fault() *soap.Fault { return b.Fault_ } 641 642 func QueryStorageContainer(ctx context.Context, r soap.RoundTripper, req *types.QueryStorageContainer) (*types.QueryStorageContainerResponse, error) { 643 var reqBody, resBody QueryStorageContainerBody 644 645 reqBody.Req = req 646 647 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 648 return nil, err 649 } 650 651 return resBody.Res, nil 652 } 653 654 type QueryStorageManagerBody struct { 655 Req *types.QueryStorageManager `xml:"urn:sms QueryStorageManager,omitempty"` 656 Res *types.QueryStorageManagerResponse `xml:"urn:sms QueryStorageManagerResponse,omitempty"` 657 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 658 } 659 660 func (b *QueryStorageManagerBody) Fault() *soap.Fault { return b.Fault_ } 661 662 func QueryStorageManager(ctx context.Context, r soap.RoundTripper, req *types.QueryStorageManager) (*types.QueryStorageManagerResponse, error) { 663 var reqBody, resBody QueryStorageManagerBody 664 665 reqBody.Req = req 666 667 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 668 return nil, err 669 } 670 671 return resBody.Res, nil 672 } 673 674 type QueryVmfsDatastoreAssociatedWithLunBody struct { 675 Req *types.QueryVmfsDatastoreAssociatedWithLun `xml:"urn:sms QueryVmfsDatastoreAssociatedWithLun,omitempty"` 676 Res *types.QueryVmfsDatastoreAssociatedWithLunResponse `xml:"urn:sms QueryVmfsDatastoreAssociatedWithLunResponse,omitempty"` 677 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 678 } 679 680 func (b *QueryVmfsDatastoreAssociatedWithLunBody) Fault() *soap.Fault { return b.Fault_ } 681 682 func QueryVmfsDatastoreAssociatedWithLun(ctx context.Context, r soap.RoundTripper, req *types.QueryVmfsDatastoreAssociatedWithLun) (*types.QueryVmfsDatastoreAssociatedWithLunResponse, error) { 683 var reqBody, resBody QueryVmfsDatastoreAssociatedWithLunBody 684 685 reqBody.Req = req 686 687 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 688 return nil, err 689 } 690 691 return resBody.Res, nil 692 } 693 694 type RegisterProvider_TaskBody struct { 695 Req *types.RegisterProvider_Task `xml:"urn:sms RegisterProvider_Task,omitempty"` 696 Res *types.RegisterProvider_TaskResponse `xml:"urn:sms RegisterProvider_TaskResponse,omitempty"` 697 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 698 } 699 700 func (b *RegisterProvider_TaskBody) Fault() *soap.Fault { return b.Fault_ } 701 702 func RegisterProvider_Task(ctx context.Context, r soap.RoundTripper, req *types.RegisterProvider_Task) (*types.RegisterProvider_TaskResponse, error) { 703 var reqBody, resBody RegisterProvider_TaskBody 704 705 reqBody.Req = req 706 707 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 708 return nil, err 709 } 710 711 return resBody.Res, nil 712 } 713 714 type ReverseReplicateGroup_TaskBody struct { 715 Req *types.ReverseReplicateGroup_Task `xml:"urn:sms ReverseReplicateGroup_Task,omitempty"` 716 Res *types.ReverseReplicateGroup_TaskResponse `xml:"urn:sms ReverseReplicateGroup_TaskResponse,omitempty"` 717 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 718 } 719 720 func (b *ReverseReplicateGroup_TaskBody) Fault() *soap.Fault { return b.Fault_ } 721 722 func ReverseReplicateGroup_Task(ctx context.Context, r soap.RoundTripper, req *types.ReverseReplicateGroup_Task) (*types.ReverseReplicateGroup_TaskResponse, error) { 723 var reqBody, resBody ReverseReplicateGroup_TaskBody 724 725 reqBody.Req = req 726 727 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 728 return nil, err 729 } 730 731 return resBody.Res, nil 732 } 733 734 type SmsRefreshCACertificatesAndCRLs_TaskBody struct { 735 Req *types.SmsRefreshCACertificatesAndCRLs_Task `xml:"urn:sms SmsRefreshCACertificatesAndCRLs_Task,omitempty"` 736 Res *types.SmsRefreshCACertificatesAndCRLs_TaskResponse `xml:"urn:sms SmsRefreshCACertificatesAndCRLs_TaskResponse,omitempty"` 737 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 738 } 739 740 func (b *SmsRefreshCACertificatesAndCRLs_TaskBody) Fault() *soap.Fault { return b.Fault_ } 741 742 func SmsRefreshCACertificatesAndCRLs_Task(ctx context.Context, r soap.RoundTripper, req *types.SmsRefreshCACertificatesAndCRLs_Task) (*types.SmsRefreshCACertificatesAndCRLs_TaskResponse, error) { 743 var reqBody, resBody SmsRefreshCACertificatesAndCRLs_TaskBody 744 745 reqBody.Req = req 746 747 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 748 return nil, err 749 } 750 751 return resBody.Res, nil 752 } 753 754 type SyncReplicationGroup_TaskBody struct { 755 Req *types.SyncReplicationGroup_Task `xml:"urn:sms SyncReplicationGroup_Task,omitempty"` 756 Res *types.SyncReplicationGroup_TaskResponse `xml:"urn:sms SyncReplicationGroup_TaskResponse,omitempty"` 757 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 758 } 759 760 func (b *SyncReplicationGroup_TaskBody) Fault() *soap.Fault { return b.Fault_ } 761 762 func SyncReplicationGroup_Task(ctx context.Context, r soap.RoundTripper, req *types.SyncReplicationGroup_Task) (*types.SyncReplicationGroup_TaskResponse, error) { 763 var reqBody, resBody SyncReplicationGroup_TaskBody 764 765 reqBody.Req = req 766 767 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 768 return nil, err 769 } 770 771 return resBody.Res, nil 772 } 773 774 type TestFailoverReplicationGroupStart_TaskBody struct { 775 Req *types.TestFailoverReplicationGroupStart_Task `xml:"urn:sms TestFailoverReplicationGroupStart_Task,omitempty"` 776 Res *types.TestFailoverReplicationGroupStart_TaskResponse `xml:"urn:sms TestFailoverReplicationGroupStart_TaskResponse,omitempty"` 777 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 778 } 779 780 func (b *TestFailoverReplicationGroupStart_TaskBody) Fault() *soap.Fault { return b.Fault_ } 781 782 func TestFailoverReplicationGroupStart_Task(ctx context.Context, r soap.RoundTripper, req *types.TestFailoverReplicationGroupStart_Task) (*types.TestFailoverReplicationGroupStart_TaskResponse, error) { 783 var reqBody, resBody TestFailoverReplicationGroupStart_TaskBody 784 785 reqBody.Req = req 786 787 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 788 return nil, err 789 } 790 791 return resBody.Res, nil 792 } 793 794 type TestFailoverReplicationGroupStop_TaskBody struct { 795 Req *types.TestFailoverReplicationGroupStop_Task `xml:"urn:sms TestFailoverReplicationGroupStop_Task,omitempty"` 796 Res *types.TestFailoverReplicationGroupStop_TaskResponse `xml:"urn:sms TestFailoverReplicationGroupStop_TaskResponse,omitempty"` 797 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 798 } 799 800 func (b *TestFailoverReplicationGroupStop_TaskBody) Fault() *soap.Fault { return b.Fault_ } 801 802 func TestFailoverReplicationGroupStop_Task(ctx context.Context, r soap.RoundTripper, req *types.TestFailoverReplicationGroupStop_Task) (*types.TestFailoverReplicationGroupStop_TaskResponse, error) { 803 var reqBody, resBody TestFailoverReplicationGroupStop_TaskBody 804 805 reqBody.Req = req 806 807 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 808 return nil, err 809 } 810 811 return resBody.Res, nil 812 } 813 814 type UnregisterProvider_TaskBody struct { 815 Req *types.UnregisterProvider_Task `xml:"urn:sms UnregisterProvider_Task,omitempty"` 816 Res *types.UnregisterProvider_TaskResponse `xml:"urn:sms UnregisterProvider_TaskResponse,omitempty"` 817 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 818 } 819 820 func (b *UnregisterProvider_TaskBody) Fault() *soap.Fault { return b.Fault_ } 821 822 func UnregisterProvider_Task(ctx context.Context, r soap.RoundTripper, req *types.UnregisterProvider_Task) (*types.UnregisterProvider_TaskResponse, error) { 823 var reqBody, resBody UnregisterProvider_TaskBody 824 825 reqBody.Req = req 826 827 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 828 return nil, err 829 } 830 831 return resBody.Res, nil 832 } 833 834 type VasaProviderReconnect_TaskBody struct { 835 Req *types.VasaProviderReconnect_Task `xml:"urn:sms VasaProviderReconnect_Task,omitempty"` 836 Res *types.VasaProviderReconnect_TaskResponse `xml:"urn:sms VasaProviderReconnect_TaskResponse,omitempty"` 837 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 838 } 839 840 func (b *VasaProviderReconnect_TaskBody) Fault() *soap.Fault { return b.Fault_ } 841 842 func VasaProviderReconnect_Task(ctx context.Context, r soap.RoundTripper, req *types.VasaProviderReconnect_Task) (*types.VasaProviderReconnect_TaskResponse, error) { 843 var reqBody, resBody VasaProviderReconnect_TaskBody 844 845 reqBody.Req = req 846 847 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 848 return nil, err 849 } 850 851 return resBody.Res, nil 852 } 853 854 type VasaProviderRefreshCertificate_TaskBody struct { 855 Req *types.VasaProviderRefreshCertificate_Task `xml:"urn:sms VasaProviderRefreshCertificate_Task,omitempty"` 856 Res *types.VasaProviderRefreshCertificate_TaskResponse `xml:"urn:sms VasaProviderRefreshCertificate_TaskResponse,omitempty"` 857 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 858 } 859 860 func (b *VasaProviderRefreshCertificate_TaskBody) Fault() *soap.Fault { return b.Fault_ } 861 862 func VasaProviderRefreshCertificate_Task(ctx context.Context, r soap.RoundTripper, req *types.VasaProviderRefreshCertificate_Task) (*types.VasaProviderRefreshCertificate_TaskResponse, error) { 863 var reqBody, resBody VasaProviderRefreshCertificate_TaskBody 864 865 reqBody.Req = req 866 867 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 868 return nil, err 869 } 870 871 return resBody.Res, nil 872 } 873 874 type VasaProviderRevokeCertificate_TaskBody struct { 875 Req *types.VasaProviderRevokeCertificate_Task `xml:"urn:sms VasaProviderRevokeCertificate_Task,omitempty"` 876 Res *types.VasaProviderRevokeCertificate_TaskResponse `xml:"urn:sms VasaProviderRevokeCertificate_TaskResponse,omitempty"` 877 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 878 } 879 880 func (b *VasaProviderRevokeCertificate_TaskBody) Fault() *soap.Fault { return b.Fault_ } 881 882 func VasaProviderRevokeCertificate_Task(ctx context.Context, r soap.RoundTripper, req *types.VasaProviderRevokeCertificate_Task) (*types.VasaProviderRevokeCertificate_TaskResponse, error) { 883 var reqBody, resBody VasaProviderRevokeCertificate_TaskBody 884 885 reqBody.Req = req 886 887 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 888 return nil, err 889 } 890 891 return resBody.Res, nil 892 } 893 894 type VasaProviderSync_TaskBody struct { 895 Req *types.VasaProviderSync_Task `xml:"urn:sms VasaProviderSync_Task,omitempty"` 896 Res *types.VasaProviderSync_TaskResponse `xml:"urn:sms VasaProviderSync_TaskResponse,omitempty"` 897 Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` 898 } 899 900 func (b *VasaProviderSync_TaskBody) Fault() *soap.Fault { return b.Fault_ } 901 902 func VasaProviderSync_Task(ctx context.Context, r soap.RoundTripper, req *types.VasaProviderSync_Task) (*types.VasaProviderSync_TaskResponse, error) { 903 var reqBody, resBody VasaProviderSync_TaskBody 904 905 reqBody.Req = req 906 907 if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { 908 return nil, err 909 } 910 911 return resBody.Res, nil 912 }