1package analysisservices 2 3// Copyright (c) Microsoft and contributors. All rights reserved. 4// 5// Licensed under the Apache License, Version 2.0 (the "License"); 6// you may not use this file except in compliance with the License. 7// You may obtain a copy of the License at 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// 14// See the License for the specific language governing permissions and 15// limitations under the License. 16// 17// Code generated by Microsoft (R) AutoRest Code Generator. 18// Changes may cause incorrect behavior and will be lost if the code is regenerated. 19 20import ( 21 "encoding/json" 22 "github.com/Azure/go-autorest/autorest" 23 "github.com/Azure/go-autorest/autorest/azure" 24 "net/http" 25) 26 27// ProvisioningState enumerates the values for provisioning state. 28type ProvisioningState string 29 30const ( 31 // Deleting ... 32 Deleting ProvisioningState = "Deleting" 33 // Failed ... 34 Failed ProvisioningState = "Failed" 35 // Paused ... 36 Paused ProvisioningState = "Paused" 37 // Pausing ... 38 Pausing ProvisioningState = "Pausing" 39 // Preparing ... 40 Preparing ProvisioningState = "Preparing" 41 // Provisioning ... 42 Provisioning ProvisioningState = "Provisioning" 43 // Resuming ... 44 Resuming ProvisioningState = "Resuming" 45 // Scaling ... 46 Scaling ProvisioningState = "Scaling" 47 // Succeeded ... 48 Succeeded ProvisioningState = "Succeeded" 49 // Suspended ... 50 Suspended ProvisioningState = "Suspended" 51 // Suspending ... 52 Suspending ProvisioningState = "Suspending" 53 // Updating ... 54 Updating ProvisioningState = "Updating" 55) 56 57// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 58func PossibleProvisioningStateValues() []ProvisioningState { 59 return []ProvisioningState{Deleting, Failed, Paused, Pausing, Preparing, Provisioning, Resuming, Scaling, Succeeded, Suspended, Suspending, Updating} 60} 61 62// SkuTier enumerates the values for sku tier. 63type SkuTier string 64 65const ( 66 // Basic ... 67 Basic SkuTier = "Basic" 68 // Development ... 69 Development SkuTier = "Development" 70 // Standard ... 71 Standard SkuTier = "Standard" 72) 73 74// PossibleSkuTierValues returns an array of possible values for the SkuTier const type. 75func PossibleSkuTierValues() []SkuTier { 76 return []SkuTier{Basic, Development, Standard} 77} 78 79// State enumerates the values for state. 80type State string 81 82const ( 83 // StateDeleting ... 84 StateDeleting State = "Deleting" 85 // StateFailed ... 86 StateFailed State = "Failed" 87 // StatePaused ... 88 StatePaused State = "Paused" 89 // StatePausing ... 90 StatePausing State = "Pausing" 91 // StatePreparing ... 92 StatePreparing State = "Preparing" 93 // StateProvisioning ... 94 StateProvisioning State = "Provisioning" 95 // StateResuming ... 96 StateResuming State = "Resuming" 97 // StateScaling ... 98 StateScaling State = "Scaling" 99 // StateSucceeded ... 100 StateSucceeded State = "Succeeded" 101 // StateSuspended ... 102 StateSuspended State = "Suspended" 103 // StateSuspending ... 104 StateSuspending State = "Suspending" 105 // StateUpdating ... 106 StateUpdating State = "Updating" 107) 108 109// PossibleStateValues returns an array of possible values for the State const type. 110func PossibleStateValues() []State { 111 return []State{StateDeleting, StateFailed, StatePaused, StatePausing, StatePreparing, StateProvisioning, StateResuming, StateScaling, StateSucceeded, StateSuspended, StateSuspending, StateUpdating} 112} 113 114// CheckServerNameAvailabilityParameters details of server name request body. 115type CheckServerNameAvailabilityParameters struct { 116 // Name - Name for checking availability. 117 Name *string `json:"name,omitempty"` 118 // Type - The resource type of azure analysis services. 119 Type *string `json:"type,omitempty"` 120} 121 122// CheckServerNameAvailabilityResult the checking result of server name availibility. 123type CheckServerNameAvailabilityResult struct { 124 autorest.Response `json:"-"` 125 // NameAvailable - Indicator of available of the server name. 126 NameAvailable *bool `json:"nameAvailable,omitempty"` 127 // Reason - The reason of unavailability. 128 Reason *string `json:"reason,omitempty"` 129 // Message - The detailed message of the request unavailability. 130 Message *string `json:"message,omitempty"` 131} 132 133// ErrorResponse describes the format of Error response. 134type ErrorResponse struct { 135 // Code - Error code 136 Code *string `json:"code,omitempty"` 137 // Message - Error message indicating why the operation failed. 138 Message *string `json:"message,omitempty"` 139} 140 141// OperationStatus the status of operation. 142type OperationStatus struct { 143 autorest.Response `json:"-"` 144 // ID - The operation Id. 145 ID *string `json:"id,omitempty"` 146 // Name - The operation name. 147 Name *string `json:"name,omitempty"` 148 // StartTime - The start time of the operation. 149 StartTime *string `json:"startTime,omitempty"` 150 // EndTime - The end time of the operation. 151 EndTime *string `json:"endTime,omitempty"` 152 // Status - The status of the operation. 153 Status *string `json:"status,omitempty"` 154 // Error - The error detail of the operation if any. 155 Error *ErrorResponse `json:"error,omitempty"` 156} 157 158// Resource represents an instance of an Analysis Services resource. 159type Resource struct { 160 // ID - An identifier that represents the Analysis Services resource. 161 ID *string `json:"id,omitempty"` 162 // Name - The name of the Analysis Services resource. 163 Name *string `json:"name,omitempty"` 164 // Type - The type of the Analysis Services resource. 165 Type *string `json:"type,omitempty"` 166 // Location - Location of the Analysis Services resource. 167 Location *string `json:"location,omitempty"` 168 // Sku - The SKU of the Analysis Services resource. 169 Sku *ResourceSku `json:"sku,omitempty"` 170 // Tags - Key-value pairs of additional resource provisioning properties. 171 Tags map[string]*string `json:"tags"` 172} 173 174// MarshalJSON is the custom marshaler for Resource. 175func (r Resource) MarshalJSON() ([]byte, error) { 176 objectMap := make(map[string]interface{}) 177 if r.ID != nil { 178 objectMap["id"] = r.ID 179 } 180 if r.Name != nil { 181 objectMap["name"] = r.Name 182 } 183 if r.Type != nil { 184 objectMap["type"] = r.Type 185 } 186 if r.Location != nil { 187 objectMap["location"] = r.Location 188 } 189 if r.Sku != nil { 190 objectMap["sku"] = r.Sku 191 } 192 if r.Tags != nil { 193 objectMap["tags"] = r.Tags 194 } 195 return json.Marshal(objectMap) 196} 197 198// ResourceSku represents the SKU name and Azure pricing tier for Analysis Services resource. 199type ResourceSku struct { 200 // Name - Name of the SKU level. 201 Name *string `json:"name,omitempty"` 202 // Tier - The name of the Azure pricing tier to which the SKU applies. Possible values include: 'Development', 'Basic', 'Standard' 203 Tier SkuTier `json:"tier,omitempty"` 204} 205 206// Server represents an instance of an Analysis Services resource. 207type Server struct { 208 autorest.Response `json:"-"` 209 // ServerProperties - Properties of the provision operation request. 210 *ServerProperties `json:"properties,omitempty"` 211 // ID - An identifier that represents the Analysis Services resource. 212 ID *string `json:"id,omitempty"` 213 // Name - The name of the Analysis Services resource. 214 Name *string `json:"name,omitempty"` 215 // Type - The type of the Analysis Services resource. 216 Type *string `json:"type,omitempty"` 217 // Location - Location of the Analysis Services resource. 218 Location *string `json:"location,omitempty"` 219 // Sku - The SKU of the Analysis Services resource. 220 Sku *ResourceSku `json:"sku,omitempty"` 221 // Tags - Key-value pairs of additional resource provisioning properties. 222 Tags map[string]*string `json:"tags"` 223} 224 225// MarshalJSON is the custom marshaler for Server. 226func (s Server) MarshalJSON() ([]byte, error) { 227 objectMap := make(map[string]interface{}) 228 if s.ServerProperties != nil { 229 objectMap["properties"] = s.ServerProperties 230 } 231 if s.ID != nil { 232 objectMap["id"] = s.ID 233 } 234 if s.Name != nil { 235 objectMap["name"] = s.Name 236 } 237 if s.Type != nil { 238 objectMap["type"] = s.Type 239 } 240 if s.Location != nil { 241 objectMap["location"] = s.Location 242 } 243 if s.Sku != nil { 244 objectMap["sku"] = s.Sku 245 } 246 if s.Tags != nil { 247 objectMap["tags"] = s.Tags 248 } 249 return json.Marshal(objectMap) 250} 251 252// UnmarshalJSON is the custom unmarshaler for Server struct. 253func (s *Server) UnmarshalJSON(body []byte) error { 254 var m map[string]*json.RawMessage 255 err := json.Unmarshal(body, &m) 256 if err != nil { 257 return err 258 } 259 for k, v := range m { 260 switch k { 261 case "properties": 262 if v != nil { 263 var serverProperties ServerProperties 264 err = json.Unmarshal(*v, &serverProperties) 265 if err != nil { 266 return err 267 } 268 s.ServerProperties = &serverProperties 269 } 270 case "id": 271 if v != nil { 272 var ID string 273 err = json.Unmarshal(*v, &ID) 274 if err != nil { 275 return err 276 } 277 s.ID = &ID 278 } 279 case "name": 280 if v != nil { 281 var name string 282 err = json.Unmarshal(*v, &name) 283 if err != nil { 284 return err 285 } 286 s.Name = &name 287 } 288 case "type": 289 if v != nil { 290 var typeVar string 291 err = json.Unmarshal(*v, &typeVar) 292 if err != nil { 293 return err 294 } 295 s.Type = &typeVar 296 } 297 case "location": 298 if v != nil { 299 var location string 300 err = json.Unmarshal(*v, &location) 301 if err != nil { 302 return err 303 } 304 s.Location = &location 305 } 306 case "sku": 307 if v != nil { 308 var sku ResourceSku 309 err = json.Unmarshal(*v, &sku) 310 if err != nil { 311 return err 312 } 313 s.Sku = &sku 314 } 315 case "tags": 316 if v != nil { 317 var tags map[string]*string 318 err = json.Unmarshal(*v, &tags) 319 if err != nil { 320 return err 321 } 322 s.Tags = tags 323 } 324 } 325 } 326 327 return nil 328} 329 330// ServerAdministrators an array of administrator user identities 331type ServerAdministrators struct { 332 // Members - An array of administrator user identities. 333 Members *[]string `json:"members,omitempty"` 334} 335 336// ServerMutableProperties an object that represents a set of mutable Analysis Services resource properties. 337type ServerMutableProperties struct { 338 // AsAdministrators - A collection of AS server administrators 339 AsAdministrators *ServerAdministrators `json:"asAdministrators,omitempty"` 340 // BackupBlobContainerURI - The container URI of backup blob. 341 BackupBlobContainerURI *string `json:"backupBlobContainerUri,omitempty"` 342} 343 344// ServerProperties properties of Analysis Services resource. 345type ServerProperties struct { 346 // State - The current state of Analysis Services resource. The state is to indicate more states outside of resource provisioning. Possible values include: 'StateDeleting', 'StateSucceeded', 'StateFailed', 'StatePaused', 'StateSuspended', 'StateProvisioning', 'StateUpdating', 'StateSuspending', 'StatePausing', 'StateResuming', 'StatePreparing', 'StateScaling' 347 State State `json:"state,omitempty"` 348 // ProvisioningState - The current deployment state of Analysis Services resource. The provisioningState is to indicate states for resource provisioning. Possible values include: 'Deleting', 'Succeeded', 'Failed', 'Paused', 'Suspended', 'Provisioning', 'Updating', 'Suspending', 'Pausing', 'Resuming', 'Preparing', 'Scaling' 349 ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` 350 // ServerFullName - The full name of the Analysis Services resource. 351 ServerFullName *string `json:"serverFullName,omitempty"` 352 // AsAdministrators - A collection of AS server administrators 353 AsAdministrators *ServerAdministrators `json:"asAdministrators,omitempty"` 354 // BackupBlobContainerURI - The container URI of backup blob. 355 BackupBlobContainerURI *string `json:"backupBlobContainerUri,omitempty"` 356} 357 358// Servers an array of Analysis Services resources. 359type Servers struct { 360 autorest.Response `json:"-"` 361 // Value - An array of Analysis Services resources. 362 Value *[]Server `json:"value,omitempty"` 363} 364 365// ServersCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation. 366type ServersCreateFuture struct { 367 azure.Future 368 req *http.Request 369} 370 371// Result returns the result of the asynchronous operation. 372// If the operation has not completed it will return an error. 373func (future ServersCreateFuture) Result(client ServersClient) (s Server, err error) { 374 var done bool 375 done, err = future.Done(client) 376 if err != nil { 377 err = autorest.NewErrorWithError(err, "analysisservices.ServersCreateFuture", "Result", future.Response(), "Polling failure") 378 return 379 } 380 if !done { 381 return s, azure.NewAsyncOpIncompleteError("analysisservices.ServersCreateFuture") 382 } 383 if future.PollingMethod() == azure.PollingLocation { 384 s, err = client.CreateResponder(future.Response()) 385 if err != nil { 386 err = autorest.NewErrorWithError(err, "analysisservices.ServersCreateFuture", "Result", future.Response(), "Failure responding to request") 387 } 388 return 389 } 390 var req *http.Request 391 var resp *http.Response 392 if future.PollingURL() != "" { 393 req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil) 394 if err != nil { 395 return 396 } 397 } else { 398 req = autorest.ChangeToGet(future.req) 399 } 400 resp, err = autorest.SendWithSender(client, req, 401 autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) 402 if err != nil { 403 err = autorest.NewErrorWithError(err, "analysisservices.ServersCreateFuture", "Result", resp, "Failure sending request") 404 return 405 } 406 s, err = client.CreateResponder(resp) 407 if err != nil { 408 err = autorest.NewErrorWithError(err, "analysisservices.ServersCreateFuture", "Result", resp, "Failure responding to request") 409 } 410 return 411} 412 413// ServersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation. 414type ServersDeleteFuture struct { 415 azure.Future 416 req *http.Request 417} 418 419// Result returns the result of the asynchronous operation. 420// If the operation has not completed it will return an error. 421func (future ServersDeleteFuture) Result(client ServersClient) (ar autorest.Response, err error) { 422 var done bool 423 done, err = future.Done(client) 424 if err != nil { 425 err = autorest.NewErrorWithError(err, "analysisservices.ServersDeleteFuture", "Result", future.Response(), "Polling failure") 426 return 427 } 428 if !done { 429 return ar, azure.NewAsyncOpIncompleteError("analysisservices.ServersDeleteFuture") 430 } 431 if future.PollingMethod() == azure.PollingLocation { 432 ar, err = client.DeleteResponder(future.Response()) 433 if err != nil { 434 err = autorest.NewErrorWithError(err, "analysisservices.ServersDeleteFuture", "Result", future.Response(), "Failure responding to request") 435 } 436 return 437 } 438 var req *http.Request 439 var resp *http.Response 440 if future.PollingURL() != "" { 441 req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil) 442 if err != nil { 443 return 444 } 445 } else { 446 req = autorest.ChangeToGet(future.req) 447 } 448 resp, err = autorest.SendWithSender(client, req, 449 autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) 450 if err != nil { 451 err = autorest.NewErrorWithError(err, "analysisservices.ServersDeleteFuture", "Result", resp, "Failure sending request") 452 return 453 } 454 ar, err = client.DeleteResponder(resp) 455 if err != nil { 456 err = autorest.NewErrorWithError(err, "analysisservices.ServersDeleteFuture", "Result", resp, "Failure responding to request") 457 } 458 return 459} 460 461// ServersResumeFuture an abstraction for monitoring and retrieving the results of a long-running operation. 462type ServersResumeFuture struct { 463 azure.Future 464 req *http.Request 465} 466 467// Result returns the result of the asynchronous operation. 468// If the operation has not completed it will return an error. 469func (future ServersResumeFuture) Result(client ServersClient) (ar autorest.Response, err error) { 470 var done bool 471 done, err = future.Done(client) 472 if err != nil { 473 err = autorest.NewErrorWithError(err, "analysisservices.ServersResumeFuture", "Result", future.Response(), "Polling failure") 474 return 475 } 476 if !done { 477 return ar, azure.NewAsyncOpIncompleteError("analysisservices.ServersResumeFuture") 478 } 479 if future.PollingMethod() == azure.PollingLocation { 480 ar, err = client.ResumeResponder(future.Response()) 481 if err != nil { 482 err = autorest.NewErrorWithError(err, "analysisservices.ServersResumeFuture", "Result", future.Response(), "Failure responding to request") 483 } 484 return 485 } 486 var req *http.Request 487 var resp *http.Response 488 if future.PollingURL() != "" { 489 req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil) 490 if err != nil { 491 return 492 } 493 } else { 494 req = autorest.ChangeToGet(future.req) 495 } 496 resp, err = autorest.SendWithSender(client, req, 497 autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) 498 if err != nil { 499 err = autorest.NewErrorWithError(err, "analysisservices.ServersResumeFuture", "Result", resp, "Failure sending request") 500 return 501 } 502 ar, err = client.ResumeResponder(resp) 503 if err != nil { 504 err = autorest.NewErrorWithError(err, "analysisservices.ServersResumeFuture", "Result", resp, "Failure responding to request") 505 } 506 return 507} 508 509// ServersSuspendFuture an abstraction for monitoring and retrieving the results of a long-running operation. 510type ServersSuspendFuture struct { 511 azure.Future 512 req *http.Request 513} 514 515// Result returns the result of the asynchronous operation. 516// If the operation has not completed it will return an error. 517func (future ServersSuspendFuture) Result(client ServersClient) (ar autorest.Response, err error) { 518 var done bool 519 done, err = future.Done(client) 520 if err != nil { 521 err = autorest.NewErrorWithError(err, "analysisservices.ServersSuspendFuture", "Result", future.Response(), "Polling failure") 522 return 523 } 524 if !done { 525 return ar, azure.NewAsyncOpIncompleteError("analysisservices.ServersSuspendFuture") 526 } 527 if future.PollingMethod() == azure.PollingLocation { 528 ar, err = client.SuspendResponder(future.Response()) 529 if err != nil { 530 err = autorest.NewErrorWithError(err, "analysisservices.ServersSuspendFuture", "Result", future.Response(), "Failure responding to request") 531 } 532 return 533 } 534 var req *http.Request 535 var resp *http.Response 536 if future.PollingURL() != "" { 537 req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil) 538 if err != nil { 539 return 540 } 541 } else { 542 req = autorest.ChangeToGet(future.req) 543 } 544 resp, err = autorest.SendWithSender(client, req, 545 autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) 546 if err != nil { 547 err = autorest.NewErrorWithError(err, "analysisservices.ServersSuspendFuture", "Result", resp, "Failure sending request") 548 return 549 } 550 ar, err = client.SuspendResponder(resp) 551 if err != nil { 552 err = autorest.NewErrorWithError(err, "analysisservices.ServersSuspendFuture", "Result", resp, "Failure responding to request") 553 } 554 return 555} 556 557// ServersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation. 558type ServersUpdateFuture struct { 559 azure.Future 560 req *http.Request 561} 562 563// Result returns the result of the asynchronous operation. 564// If the operation has not completed it will return an error. 565func (future ServersUpdateFuture) Result(client ServersClient) (s Server, err error) { 566 var done bool 567 done, err = future.Done(client) 568 if err != nil { 569 err = autorest.NewErrorWithError(err, "analysisservices.ServersUpdateFuture", "Result", future.Response(), "Polling failure") 570 return 571 } 572 if !done { 573 return s, azure.NewAsyncOpIncompleteError("analysisservices.ServersUpdateFuture") 574 } 575 if future.PollingMethod() == azure.PollingLocation { 576 s, err = client.UpdateResponder(future.Response()) 577 if err != nil { 578 err = autorest.NewErrorWithError(err, "analysisservices.ServersUpdateFuture", "Result", future.Response(), "Failure responding to request") 579 } 580 return 581 } 582 var req *http.Request 583 var resp *http.Response 584 if future.PollingURL() != "" { 585 req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil) 586 if err != nil { 587 return 588 } 589 } else { 590 req = autorest.ChangeToGet(future.req) 591 } 592 resp, err = autorest.SendWithSender(client, req, 593 autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) 594 if err != nil { 595 err = autorest.NewErrorWithError(err, "analysisservices.ServersUpdateFuture", "Result", resp, "Failure sending request") 596 return 597 } 598 s, err = client.UpdateResponder(resp) 599 if err != nil { 600 err = autorest.NewErrorWithError(err, "analysisservices.ServersUpdateFuture", "Result", resp, "Failure responding to request") 601 } 602 return 603} 604 605// ServerUpdateParameters provision request specification 606type ServerUpdateParameters struct { 607 // Sku - The SKU of the Analysis Services resource. 608 Sku *ResourceSku `json:"sku,omitempty"` 609 // Tags - Key-value pairs of additional provisioning properties. 610 Tags map[string]*string `json:"tags"` 611 // ServerMutableProperties - Properties of the provision operation request. 612 *ServerMutableProperties `json:"properties,omitempty"` 613} 614 615// MarshalJSON is the custom marshaler for ServerUpdateParameters. 616func (sup ServerUpdateParameters) MarshalJSON() ([]byte, error) { 617 objectMap := make(map[string]interface{}) 618 if sup.Sku != nil { 619 objectMap["sku"] = sup.Sku 620 } 621 if sup.Tags != nil { 622 objectMap["tags"] = sup.Tags 623 } 624 if sup.ServerMutableProperties != nil { 625 objectMap["properties"] = sup.ServerMutableProperties 626 } 627 return json.Marshal(objectMap) 628} 629 630// UnmarshalJSON is the custom unmarshaler for ServerUpdateParameters struct. 631func (sup *ServerUpdateParameters) UnmarshalJSON(body []byte) error { 632 var m map[string]*json.RawMessage 633 err := json.Unmarshal(body, &m) 634 if err != nil { 635 return err 636 } 637 for k, v := range m { 638 switch k { 639 case "sku": 640 if v != nil { 641 var sku ResourceSku 642 err = json.Unmarshal(*v, &sku) 643 if err != nil { 644 return err 645 } 646 sup.Sku = &sku 647 } 648 case "tags": 649 if v != nil { 650 var tags map[string]*string 651 err = json.Unmarshal(*v, &tags) 652 if err != nil { 653 return err 654 } 655 sup.Tags = tags 656 } 657 case "properties": 658 if v != nil { 659 var serverMutableProperties ServerMutableProperties 660 err = json.Unmarshal(*v, &serverMutableProperties) 661 if err != nil { 662 return err 663 } 664 sup.ServerMutableProperties = &serverMutableProperties 665 } 666 } 667 } 668 669 return nil 670} 671 672// SkuDetailsForExistingResource an object that represents SKU details for existing resources 673type SkuDetailsForExistingResource struct { 674 // Sku - The SKU in SKU details for existing resources. 675 Sku *ResourceSku `json:"sku,omitempty"` 676} 677 678// SkuEnumerationForExistingResourceResult an object that represents enumerating SKUs for existing resources 679type SkuEnumerationForExistingResourceResult struct { 680 autorest.Response `json:"-"` 681 // Value - The collection of available SKUs for existing resources 682 Value *[]SkuDetailsForExistingResource `json:"value,omitempty"` 683} 684 685// SkuEnumerationForNewResourceResult an object that represents enumerating SKUs for new resources 686type SkuEnumerationForNewResourceResult struct { 687 autorest.Response `json:"-"` 688 // Value - The collection of available SKUs for new resources 689 Value *[]ResourceSku `json:"value,omitempty"` 690} 691