|
4 | 4 |
|
5 | 5 | // Autoscaling API |
6 | 6 | // |
7 | | -// APIs for dynamically scaling Compute resources to meet application requirements. For more information about |
| 7 | +// Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about |
8 | 8 | // autoscaling, see Autoscaling (https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the |
9 | | -// Compute service, see Overview of the Compute Service (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm). |
10 | | -// **Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see |
11 | | -// Oracle Cloud Infrastructure US Government Cloud (https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm). |
| 9 | +// Compute service, see Compute (https://docs.oracle.com/iaas/Content/Compute/home.htm). |
12 | 10 | // |
13 | 11 |
|
14 | 12 | package autoscaling |
@@ -104,9 +102,10 @@ func (client *AutoScalingClient) ConfigurationProvider() *common.ConfigurationPr |
104 | 102 | // # See also |
105 | 103 | // |
106 | 104 | // Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/ChangeAutoScalingConfigurationCompartment.go.html to see an example of how to use ChangeAutoScalingConfigurationCompartment API. |
| 105 | +// A default retry strategy applies to this operation ChangeAutoScalingConfigurationCompartment() |
107 | 106 | func (client AutoScalingClient) ChangeAutoScalingConfigurationCompartment(ctx context.Context, request ChangeAutoScalingConfigurationCompartmentRequest) (response ChangeAutoScalingConfigurationCompartmentResponse, err error) { |
108 | 107 | var ociResponse common.OCIResponse |
109 | | - policy := common.NoRetryPolicy() |
| 108 | + policy := common.DefaultRetryPolicy() |
110 | 109 | if client.RetryPolicy() != nil { |
111 | 110 | policy = *client.RetryPolicy() |
112 | 111 | } |
@@ -166,9 +165,10 @@ func (client AutoScalingClient) changeAutoScalingConfigurationCompartment(ctx co |
166 | 165 | // # See also |
167 | 166 | // |
168 | 167 | // Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/CreateAutoScalingConfiguration.go.html to see an example of how to use CreateAutoScalingConfiguration API. |
| 168 | +// A default retry strategy applies to this operation CreateAutoScalingConfiguration() |
169 | 169 | func (client AutoScalingClient) CreateAutoScalingConfiguration(ctx context.Context, request CreateAutoScalingConfigurationRequest) (response CreateAutoScalingConfigurationResponse, err error) { |
170 | 170 | var ociResponse common.OCIResponse |
171 | | - policy := common.NoRetryPolicy() |
| 171 | + policy := common.DefaultRetryPolicy() |
172 | 172 | if client.RetryPolicy() != nil { |
173 | 173 | policy = *client.RetryPolicy() |
174 | 174 | } |
@@ -233,9 +233,10 @@ func (client AutoScalingClient) createAutoScalingConfiguration(ctx context.Conte |
233 | 233 | // # See also |
234 | 234 | // |
235 | 235 | // Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/CreateAutoScalingPolicy.go.html to see an example of how to use CreateAutoScalingPolicy API. |
| 236 | +// A default retry strategy applies to this operation CreateAutoScalingPolicy() |
236 | 237 | func (client AutoScalingClient) CreateAutoScalingPolicy(ctx context.Context, request CreateAutoScalingPolicyRequest) (response CreateAutoScalingPolicyResponse, err error) { |
237 | 238 | var ociResponse common.OCIResponse |
238 | | - policy := common.NoRetryPolicy() |
| 239 | + policy := common.DefaultRetryPolicy() |
239 | 240 | if client.RetryPolicy() != nil { |
240 | 241 | policy = *client.RetryPolicy() |
241 | 242 | } |
@@ -295,9 +296,10 @@ func (client AutoScalingClient) createAutoScalingPolicy(ctx context.Context, req |
295 | 296 | // # See also |
296 | 297 | // |
297 | 298 | // Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/DeleteAutoScalingConfiguration.go.html to see an example of how to use DeleteAutoScalingConfiguration API. |
| 299 | +// A default retry strategy applies to this operation DeleteAutoScalingConfiguration() |
298 | 300 | func (client AutoScalingClient) DeleteAutoScalingConfiguration(ctx context.Context, request DeleteAutoScalingConfigurationRequest) (response DeleteAutoScalingConfigurationResponse, err error) { |
299 | 301 | var ociResponse common.OCIResponse |
300 | | - policy := common.NoRetryPolicy() |
| 302 | + policy := common.DefaultRetryPolicy() |
301 | 303 | if client.RetryPolicy() != nil { |
302 | 304 | policy = *client.RetryPolicy() |
303 | 305 | } |
@@ -352,9 +354,10 @@ func (client AutoScalingClient) deleteAutoScalingConfiguration(ctx context.Conte |
352 | 354 | // # See also |
353 | 355 | // |
354 | 356 | // Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/DeleteAutoScalingPolicy.go.html to see an example of how to use DeleteAutoScalingPolicy API. |
| 357 | +// A default retry strategy applies to this operation DeleteAutoScalingPolicy() |
355 | 358 | func (client AutoScalingClient) DeleteAutoScalingPolicy(ctx context.Context, request DeleteAutoScalingPolicyRequest) (response DeleteAutoScalingPolicyResponse, err error) { |
356 | 359 | var ociResponse common.OCIResponse |
357 | | - policy := common.NoRetryPolicy() |
| 360 | + policy := common.DefaultRetryPolicy() |
358 | 361 | if client.RetryPolicy() != nil { |
359 | 362 | policy = *client.RetryPolicy() |
360 | 363 | } |
@@ -409,9 +412,10 @@ func (client AutoScalingClient) deleteAutoScalingPolicy(ctx context.Context, req |
409 | 412 | // # See also |
410 | 413 | // |
411 | 414 | // Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/GetAutoScalingConfiguration.go.html to see an example of how to use GetAutoScalingConfiguration API. |
| 415 | +// A default retry strategy applies to this operation GetAutoScalingConfiguration() |
412 | 416 | func (client AutoScalingClient) GetAutoScalingConfiguration(ctx context.Context, request GetAutoScalingConfigurationRequest) (response GetAutoScalingConfigurationResponse, err error) { |
413 | 417 | var ociResponse common.OCIResponse |
414 | | - policy := common.NoRetryPolicy() |
| 418 | + policy := common.DefaultRetryPolicy() |
415 | 419 | if client.RetryPolicy() != nil { |
416 | 420 | policy = *client.RetryPolicy() |
417 | 421 | } |
@@ -466,9 +470,10 @@ func (client AutoScalingClient) getAutoScalingConfiguration(ctx context.Context, |
466 | 470 | // # See also |
467 | 471 | // |
468 | 472 | // Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/GetAutoScalingPolicy.go.html to see an example of how to use GetAutoScalingPolicy API. |
| 473 | +// A default retry strategy applies to this operation GetAutoScalingPolicy() |
469 | 474 | func (client AutoScalingClient) GetAutoScalingPolicy(ctx context.Context, request GetAutoScalingPolicyRequest) (response GetAutoScalingPolicyResponse, err error) { |
470 | 475 | var ociResponse common.OCIResponse |
471 | | - policy := common.NoRetryPolicy() |
| 476 | + policy := common.DefaultRetryPolicy() |
472 | 477 | if client.RetryPolicy() != nil { |
473 | 478 | policy = *client.RetryPolicy() |
474 | 479 | } |
@@ -523,9 +528,10 @@ func (client AutoScalingClient) getAutoScalingPolicy(ctx context.Context, reques |
523 | 528 | // # See also |
524 | 529 | // |
525 | 530 | // Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/ListAutoScalingConfigurations.go.html to see an example of how to use ListAutoScalingConfigurations API. |
| 531 | +// A default retry strategy applies to this operation ListAutoScalingConfigurations() |
526 | 532 | func (client AutoScalingClient) ListAutoScalingConfigurations(ctx context.Context, request ListAutoScalingConfigurationsRequest) (response ListAutoScalingConfigurationsResponse, err error) { |
527 | 533 | var ociResponse common.OCIResponse |
528 | | - policy := common.NoRetryPolicy() |
| 534 | + policy := common.DefaultRetryPolicy() |
529 | 535 | if client.RetryPolicy() != nil { |
530 | 536 | policy = *client.RetryPolicy() |
531 | 537 | } |
@@ -580,9 +586,10 @@ func (client AutoScalingClient) listAutoScalingConfigurations(ctx context.Contex |
580 | 586 | // # See also |
581 | 587 | // |
582 | 588 | // Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/ListAutoScalingPolicies.go.html to see an example of how to use ListAutoScalingPolicies API. |
| 589 | +// A default retry strategy applies to this operation ListAutoScalingPolicies() |
583 | 590 | func (client AutoScalingClient) ListAutoScalingPolicies(ctx context.Context, request ListAutoScalingPoliciesRequest) (response ListAutoScalingPoliciesResponse, err error) { |
584 | 591 | var ociResponse common.OCIResponse |
585 | | - policy := common.NoRetryPolicy() |
| 592 | + policy := common.DefaultRetryPolicy() |
586 | 593 | if client.RetryPolicy() != nil { |
587 | 594 | policy = *client.RetryPolicy() |
588 | 595 | } |
@@ -638,9 +645,10 @@ func (client AutoScalingClient) listAutoScalingPolicies(ctx context.Context, req |
638 | 645 | // # See also |
639 | 646 | // |
640 | 647 | // Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/UpdateAutoScalingConfiguration.go.html to see an example of how to use UpdateAutoScalingConfiguration API. |
| 648 | +// A default retry strategy applies to this operation UpdateAutoScalingConfiguration() |
641 | 649 | func (client AutoScalingClient) UpdateAutoScalingConfiguration(ctx context.Context, request UpdateAutoScalingConfigurationRequest) (response UpdateAutoScalingConfigurationResponse, err error) { |
642 | 650 | var ociResponse common.OCIResponse |
643 | | - policy := common.NoRetryPolicy() |
| 651 | + policy := common.DefaultRetryPolicy() |
644 | 652 | if client.RetryPolicy() != nil { |
645 | 653 | policy = *client.RetryPolicy() |
646 | 654 | } |
@@ -700,9 +708,10 @@ func (client AutoScalingClient) updateAutoScalingConfiguration(ctx context.Conte |
700 | 708 | // # See also |
701 | 709 | // |
702 | 710 | // Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/autoscaling/UpdateAutoScalingPolicy.go.html to see an example of how to use UpdateAutoScalingPolicy API. |
| 711 | +// A default retry strategy applies to this operation UpdateAutoScalingPolicy() |
703 | 712 | func (client AutoScalingClient) UpdateAutoScalingPolicy(ctx context.Context, request UpdateAutoScalingPolicyRequest) (response UpdateAutoScalingPolicyResponse, err error) { |
704 | 713 | var ociResponse common.OCIResponse |
705 | | - policy := common.NoRetryPolicy() |
| 714 | + policy := common.DefaultRetryPolicy() |
706 | 715 | if client.RetryPolicy() != nil { |
707 | 716 | policy = *client.RetryPolicy() |
708 | 717 | } |
|
0 commit comments