|
1 | 1 |
|
2 |
| -[discrete] |
| 2 | + |
3 | 3 | [[Elasticsearch_Namespaces_AutoscalingNamespace]]
|
4 | 4 | === Elasticsearch\Namespaces\AutoscalingNamespace
|
5 | 5 |
|
6 | 6 |
|
7 | 7 |
|
8 | 8 | Class AutoscalingNamespace
|
9 |
| -Generated running $ php util/GenerateEndpoints.php 7.9 |
| 9 | + |
| 10 | +*Description* |
| 11 | + |
| 12 | + |
| 13 | +NOTE: this file is autogenerated using util/GenerateEndpoints.php |
| 14 | +and Elasticsearch 7.12.1 (3186837139b9c6b6d23c3200870651f10d3343b7) |
10 | 15 |
|
11 | 16 |
|
12 | 17 | *Methods*
|
13 | 18 |
|
14 | 19 | The class defines the following methods:
|
15 | 20 |
|
16 | 21 | * <<Elasticsearch_Namespaces_AutoscalingNamespacedeleteAutoscalingPolicy_deleteAutoscalingPolicy,`deleteAutoscalingPolicy()`>>
|
17 |
| -* <<Elasticsearch_Namespaces_AutoscalingNamespacegetAutoscalingDecision_getAutoscalingDecision,`getAutoscalingDecision()`>> |
| 22 | +* <<Elasticsearch_Namespaces_AutoscalingNamespacegetAutoscalingCapacity_getAutoscalingCapacity,`getAutoscalingCapacity()`>> |
18 | 23 | * <<Elasticsearch_Namespaces_AutoscalingNamespacegetAutoscalingPolicy_getAutoscalingPolicy,`getAutoscalingPolicy()`>>
|
19 | 24 | * <<Elasticsearch_Namespaces_AutoscalingNamespaceputAutoscalingPolicy_putAutoscalingPolicy,`putAutoscalingPolicy()`>>
|
20 | 25 |
|
21 | 26 |
|
22 | 27 |
|
23 | 28 | [[Elasticsearch_Namespaces_AutoscalingNamespacedeleteAutoscalingPolicy_deleteAutoscalingPolicy]]
|
24 | 29 | .`deleteAutoscalingPolicy()`
|
25 |
| -*NOTE:* This API is EXPERIMENTAL and may be changed or removed completely in a future release |
| 30 | +[[Elasticsearch_Namespaces_AutoscalingNamespacedeleteAutoscalingPolicy_deleteAutoscalingPolicy]] |
| 31 | +.`deleteAutoscalingPolicy(array $params = [])` |
26 | 32 | ****
|
27 | 33 | [source,php]
|
28 | 34 | ----
|
29 | 35 | /*
|
30 | 36 | $params['name'] = (string) the name of the autoscaling policy
|
31 | 37 | */
|
32 |
| -
|
33 |
| -$params = [ |
34 |
| - // ... |
35 |
| -]; |
36 |
| -
|
37 |
| -$client = ClientBuilder::create()->build(); |
38 |
| -$response = $client->autoscaling()->deleteAutoscalingPolicy($params); |
39 | 38 | ----
|
40 | 39 | ****
|
41 | 40 |
|
42 | 41 |
|
43 | 42 |
|
44 |
| -[[Elasticsearch_Namespaces_AutoscalingNamespacegetAutoscalingDecision_getAutoscalingDecision]] |
45 |
| -.`getAutoscalingDecision()` |
| 43 | +[[Elasticsearch_Namespaces_AutoscalingNamespacegetAutoscalingCapacity_getAutoscalingCapacity]] |
| 44 | +.`getAutoscalingCapacity()` |
| 45 | +[[Elasticsearch_Namespaces_AutoscalingNamespacegetAutoscalingCapacity_getAutoscalingCapacity]] |
| 46 | +.`getAutoscalingCapacity(array $params = [])` |
46 | 47 | ****
|
47 | 48 | [source,php]
|
48 | 49 | ----
|
49 | 50 | /*
|
50 | 51 | */
|
51 |
| -
|
52 |
| -$params = [ |
53 |
| - // ... |
54 |
| -]; |
55 |
| -
|
56 |
| -$client = ClientBuilder::create()->build(); |
57 |
| -$response = $client->autoscaling()->getAutoscalingDecision($params); |
58 | 52 | ----
|
59 | 53 | ****
|
60 | 54 |
|
61 | 55 |
|
62 | 56 |
|
63 | 57 | [[Elasticsearch_Namespaces_AutoscalingNamespacegetAutoscalingPolicy_getAutoscalingPolicy]]
|
64 | 58 | .`getAutoscalingPolicy()`
|
65 |
| -*NOTE:* This API is EXPERIMENTAL and may be changed or removed completely in a future release |
| 59 | +[[Elasticsearch_Namespaces_AutoscalingNamespacegetAutoscalingPolicy_getAutoscalingPolicy]] |
| 60 | +.`getAutoscalingPolicy(array $params = [])` |
66 | 61 | ****
|
67 | 62 | [source,php]
|
68 | 63 | ----
|
69 | 64 | /*
|
70 | 65 | $params['name'] = (string) the name of the autoscaling policy
|
71 | 66 | */
|
72 |
| -
|
73 |
| -$params = [ |
74 |
| - // ... |
75 |
| -]; |
76 |
| -
|
77 |
| -$client = ClientBuilder::create()->build(); |
78 |
| -$response = $client->autoscaling()->getAutoscalingPolicy($params); |
79 | 67 | ----
|
80 | 68 | ****
|
81 | 69 |
|
82 | 70 |
|
83 | 71 |
|
84 | 72 | [[Elasticsearch_Namespaces_AutoscalingNamespaceputAutoscalingPolicy_putAutoscalingPolicy]]
|
85 | 73 | .`putAutoscalingPolicy()`
|
86 |
| -*NOTE:* This API is EXPERIMENTAL and may be changed or removed completely in a future release |
| 74 | +[[Elasticsearch_Namespaces_AutoscalingNamespaceputAutoscalingPolicy_putAutoscalingPolicy]] |
| 75 | +.`putAutoscalingPolicy(array $params = [])` |
87 | 76 | ****
|
88 | 77 | [source,php]
|
89 | 78 | ----
|
90 | 79 | /*
|
91 | 80 | $params['name'] = (string) the name of the autoscaling policy
|
92 | 81 | $params['body'] = (array) the specification of the autoscaling policy (Required)
|
93 | 82 | */
|
94 |
| -
|
95 |
| -$params = [ |
96 |
| - // ... |
97 |
| -]; |
98 |
| -
|
99 |
| -$client = ClientBuilder::create()->build(); |
100 |
| -$response = $client->autoscaling()->putAutoscalingPolicy($params); |
101 | 83 | ----
|
102 | 84 | ****
|
103 | 85 |
|
|
0 commit comments