@scaleway/sdk 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/applesilicon/v1alpha1/api.gen.js +4 -3
- package/dist/api/baremetal/v1/api.gen.js +5 -5
- package/dist/api/cockpit/v1beta1/api.gen.js +2 -3
- package/dist/api/container/v1beta1/api.gen.js +1 -5
- package/dist/api/container/v1beta1/marshalling.gen.js +2 -0
- package/dist/api/domain/v2beta1/api.gen.js +61 -52
- package/dist/api/flexibleip/v1alpha1/api.gen.js +27 -14
- package/dist/api/instance/v1/api.gen.js +2 -2
- package/dist/api/iot/v1/api.gen.js +67 -35
- package/dist/api/k8s/v1/api.gen.js +1 -1
- package/dist/api/mnq/v1alpha1/api.gen.js +3 -3
- package/dist/api/mnq/v1alpha1/marshalling.gen.js +3 -9
- package/dist/api/registry/v1/api.gen.js +41 -19
- package/dist/api/secret/v1alpha1/api.gen.js +3 -3
- package/dist/api/tem/v1alpha1/api.gen.js +1 -5
- package/dist/index.cjs +223 -159
- package/dist/index.d.ts +603 -495
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -426,7 +426,7 @@ const assertValidSettings = obj => {
|
|
|
426
426
|
}
|
|
427
427
|
};
|
|
428
428
|
|
|
429
|
-
const version = 'v1.
|
|
429
|
+
const version = 'v1.7.0';
|
|
430
430
|
const userAgent = `scaleway-sdk-js/${version}`;
|
|
431
431
|
|
|
432
432
|
const isBrowser = () => typeof window !== 'undefined' && typeof window.document !== 'undefined';
|
|
@@ -2144,7 +2144,7 @@ const jsonContentHeaders$l = {
|
|
|
2144
2144
|
};
|
|
2145
2145
|
|
|
2146
2146
|
/**
|
|
2147
|
-
* Apple silicon.
|
|
2147
|
+
* Apple silicon API.
|
|
2148
2148
|
*
|
|
2149
2149
|
* Apple Mac mini as a service. Scaleway Apple silicon as-a-Service is built
|
|
2150
2150
|
* using the latest generation of Apple Mac mini hardware (fifth generation).
|
|
@@ -2182,7 +2182,8 @@ let API$o = class API extends API$q {
|
|
|
2182
2182
|
}, unmarshalListServerTypesResponse);
|
|
2183
2183
|
|
|
2184
2184
|
/**
|
|
2185
|
-
* Get a server type. Get
|
|
2185
|
+
* Get a server type. Get technical details (CPU, disk size etc.) of a server
|
|
2186
|
+
* type.
|
|
2186
2187
|
*
|
|
2187
2188
|
* @param request - The request {@link GetServerTypeRequest}
|
|
2188
2189
|
* @returns A Promise of ServerType
|
|
@@ -2227,7 +2228,7 @@ let API$o = class API extends API$q {
|
|
|
2227
2228
|
}, unmarshalListOSResponse$1);
|
|
2228
2229
|
|
|
2229
2230
|
/**
|
|
2230
|
-
* List all Operating
|
|
2231
|
+
* List all Operating Systems (OS). List all Operating Systems (OS). The
|
|
2231
2232
|
* response will include the total number of OS as well as their associated
|
|
2232
2233
|
* IDs, names and labels.
|
|
2233
2234
|
*
|
|
@@ -2772,8 +2773,8 @@ let API$n = class API extends API$q {
|
|
|
2772
2773
|
}, unmarshalListServersResponse$1);
|
|
2773
2774
|
|
|
2774
2775
|
/**
|
|
2775
|
-
* List Elastic Metal servers for an
|
|
2776
|
-
* for a specific
|
|
2776
|
+
* List Elastic Metal servers for an Organization. List Elastic Metal servers
|
|
2777
|
+
* for a specific Organization.
|
|
2777
2778
|
*
|
|
2778
2779
|
* @param request - The request {@link ListServersRequest}
|
|
2779
2780
|
* @returns A Promise of ListServersResponse
|
|
@@ -3065,7 +3066,7 @@ let API$n = class API extends API$q {
|
|
|
3065
3066
|
}, unmarshalListSettingsResponse);
|
|
3066
3067
|
|
|
3067
3068
|
/**
|
|
3068
|
-
* List all settings. Return all settings for a
|
|
3069
|
+
* List all settings. Return all settings for a Project ID.
|
|
3069
3070
|
*
|
|
3070
3071
|
* @param request - The request {@link ListSettingsRequest}
|
|
3071
3072
|
* @returns A Promise of ListSettingsResponse
|
|
@@ -3073,7 +3074,7 @@ let API$n = class API extends API$q {
|
|
|
3073
3074
|
listSettings = (request = {}) => enrichForPagination('settings', this.pageOfListSettings, request);
|
|
3074
3075
|
|
|
3075
3076
|
/**
|
|
3076
|
-
* Update setting. Update a setting for a
|
|
3077
|
+
* Update setting. Update a setting for a Project ID (enable or disable).
|
|
3077
3078
|
*
|
|
3078
3079
|
* @param request - The request {@link UpdateSettingRequest}
|
|
3079
3080
|
* @returns A Promise of Setting
|
|
@@ -3100,7 +3101,7 @@ let API$n = class API extends API$q {
|
|
|
3100
3101
|
listOS = (request = {}) => enrichForPagination('os', this.pageOfListOS, request);
|
|
3101
3102
|
|
|
3102
3103
|
/**
|
|
3103
|
-
* Get
|
|
3104
|
+
* Get OS with an ID. Return the specific OS for the ID.
|
|
3104
3105
|
*
|
|
3105
3106
|
* @param request - The request {@link GetOSRequest}
|
|
3106
3107
|
* @returns A Promise of OS
|
|
@@ -3638,10 +3639,9 @@ const jsonContentHeaders$j = {
|
|
|
3638
3639
|
};
|
|
3639
3640
|
|
|
3640
3641
|
/**
|
|
3641
|
-
* Cockpit API
|
|
3642
|
+
* Cockpit API.
|
|
3642
3643
|
*
|
|
3643
|
-
* Cockpit's API allows you to
|
|
3644
|
-
* infrastructure. Cockpit's API allows you to activate your Cockpit on your
|
|
3644
|
+
* Cockpit API. Cockpit's API allows you to activate your Cockpit on your
|
|
3645
3645
|
* Projects. Scaleway's Cockpit stores metrics and logs and provides a dedicated
|
|
3646
3646
|
* Grafana for dashboarding to visualize them.
|
|
3647
3647
|
*/
|
|
@@ -4133,6 +4133,7 @@ const marshalSecret$1 = (request, defaults) => ({
|
|
|
4133
4133
|
value: request.value
|
|
4134
4134
|
});
|
|
4135
4135
|
const marshalCreateContainerRequest = (request, defaults) => ({
|
|
4136
|
+
cpu_limit: request.cpuLimit,
|
|
4136
4137
|
description: request.description,
|
|
4137
4138
|
environment_variables: request.environmentVariables,
|
|
4138
4139
|
http_option: request.httpOption ?? 'unknown_http_option',
|
|
@@ -4178,6 +4179,7 @@ const marshalCreateTokenRequest$1 = (request, defaults) => ({
|
|
|
4178
4179
|
}])
|
|
4179
4180
|
});
|
|
4180
4181
|
const marshalUpdateContainerRequest = (request, defaults) => ({
|
|
4182
|
+
cpu_limit: request.cpuLimit,
|
|
4181
4183
|
description: request.description,
|
|
4182
4184
|
environment_variables: request.environmentVariables,
|
|
4183
4185
|
http_option: request.httpOption ?? 'unknown_http_option',
|
|
@@ -4210,11 +4212,7 @@ const jsonContentHeaders$i = {
|
|
|
4210
4212
|
'Content-Type': 'application/json; charset=utf-8'
|
|
4211
4213
|
};
|
|
4212
4214
|
|
|
4213
|
-
/**
|
|
4214
|
-
* Containers API.
|
|
4215
|
-
*
|
|
4216
|
-
* Serverless Containers API. Containers API.
|
|
4217
|
-
*/
|
|
4215
|
+
/** Serverless Containers API. */
|
|
4218
4216
|
let API$k = class API extends API$q {
|
|
4219
4217
|
/** Lists the available regions of the API. */
|
|
4220
4218
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
@@ -5803,9 +5801,10 @@ const jsonContentHeaders$h = {
|
|
|
5803
5801
|
};
|
|
5804
5802
|
|
|
5805
5803
|
/**
|
|
5806
|
-
* DNS API.
|
|
5804
|
+
* Domains and DNS API.
|
|
5807
5805
|
*
|
|
5808
|
-
* DNS API. Manage your DNS zones and records
|
|
5806
|
+
* Domains and DNS API. Manage your domains, DNS zones and records with the
|
|
5807
|
+
* Domains and DNS API.
|
|
5809
5808
|
*/
|
|
5810
5809
|
let API$j = class API extends API$q {
|
|
5811
5810
|
pageOfListDNSZones = request => this.client.fetch({
|
|
@@ -5815,8 +5814,8 @@ let API$j = class API extends API$q {
|
|
|
5815
5814
|
}, unmarshalListDNSZonesResponse);
|
|
5816
5815
|
|
|
5817
5816
|
/**
|
|
5818
|
-
* List DNS zones.
|
|
5819
|
-
* DNS zones
|
|
5817
|
+
* List DNS zones. Retrieve the list of DNS zones you can manage and filter
|
|
5818
|
+
* DNS zones associated with specific domain names.
|
|
5820
5819
|
*
|
|
5821
5820
|
* @param request - The request {@link ListDNSZonesRequest}
|
|
5822
5821
|
* @returns A Promise of ListDNSZonesResponse
|
|
@@ -5824,7 +5823,8 @@ let API$j = class API extends API$q {
|
|
|
5824
5823
|
listDNSZones = request => enrichForPagination('dnsZones', this.pageOfListDNSZones, request);
|
|
5825
5824
|
|
|
5826
5825
|
/**
|
|
5827
|
-
* Create a DNS zone. Create a new DNS zone
|
|
5826
|
+
* Create a DNS zone. Create a new DNS zone specified by the domain name, the
|
|
5827
|
+
* subdomain and the Project ID.
|
|
5828
5828
|
*
|
|
5829
5829
|
* @param request - The request {@link CreateDNSZoneRequest}
|
|
5830
5830
|
* @returns A Promise of DNSZone
|
|
@@ -5837,7 +5837,7 @@ let API$j = class API extends API$q {
|
|
|
5837
5837
|
}, unmarshalDNSZone);
|
|
5838
5838
|
|
|
5839
5839
|
/**
|
|
5840
|
-
* Update a DNS zone. Update the name and/or the
|
|
5840
|
+
* Update a DNS zone. Update the name and/or the Organizations for a DNS zone.
|
|
5841
5841
|
*
|
|
5842
5842
|
* @param request - The request {@link UpdateDNSZoneRequest}
|
|
5843
5843
|
* @returns A Promise of DNSZone
|
|
@@ -5850,8 +5850,8 @@ let API$j = class API extends API$q {
|
|
|
5850
5850
|
}, unmarshalDNSZone);
|
|
5851
5851
|
|
|
5852
5852
|
/**
|
|
5853
|
-
* Clone a DNS zone. Clone an
|
|
5854
|
-
*
|
|
5853
|
+
* Clone a DNS zone. Clone an existing DNS zone with all its records into a
|
|
5854
|
+
* new DNS zone.
|
|
5855
5855
|
*
|
|
5856
5856
|
* @param request - The request {@link CloneDNSZoneRequest}
|
|
5857
5857
|
* @returns A Promise of DNSZone
|
|
@@ -5864,7 +5864,7 @@ let API$j = class API extends API$q {
|
|
|
5864
5864
|
}, unmarshalDNSZone);
|
|
5865
5865
|
|
|
5866
5866
|
/**
|
|
5867
|
-
* Delete DNS zone. Delete a DNS zone and all
|
|
5867
|
+
* Delete a DNS zone. Delete a DNS zone and all its records.
|
|
5868
5868
|
*
|
|
5869
5869
|
* @param request - The request {@link DeleteDNSZoneRequest}
|
|
5870
5870
|
* @returns A Promise of DeleteDNSZoneResponse
|
|
@@ -5881,8 +5881,9 @@ let API$j = class API extends API$q {
|
|
|
5881
5881
|
}, unmarshalListDNSZoneRecordsResponse);
|
|
5882
5882
|
|
|
5883
5883
|
/**
|
|
5884
|
-
* List DNS zone
|
|
5885
|
-
* default
|
|
5884
|
+
* List records within a DNS zone. Retrieve a list of DNS records within a DNS
|
|
5885
|
+
* zone that has default name servers. You can filter records by type and
|
|
5886
|
+
* name.
|
|
5886
5887
|
*
|
|
5887
5888
|
* @param request - The request {@link ListDNSZoneRecordsRequest}
|
|
5888
5889
|
* @returns A Promise of ListDNSZoneRecordsResponse
|
|
@@ -5890,22 +5891,18 @@ let API$j = class API extends API$q {
|
|
|
5890
5891
|
listDNSZoneRecords = request => enrichForPagination('records', this.pageOfListDNSZoneRecords, request);
|
|
5891
5892
|
|
|
5892
5893
|
/**
|
|
5893
|
-
* Update DNS zone
|
|
5894
|
-
*
|
|
5894
|
+
* Update records within a DNS zone. Update records within a DNS zone that has
|
|
5895
|
+
* default name servers and perform several actions on your records.
|
|
5895
5896
|
*
|
|
5896
|
-
*
|
|
5897
|
+
* Actions include:
|
|
5897
5898
|
*
|
|
5898
|
-
* - Add:
|
|
5899
|
-
*
|
|
5900
|
-
* -
|
|
5901
|
-
*
|
|
5902
|
-
* -
|
|
5903
|
-
*
|
|
5904
|
-
* -
|
|
5905
|
-
* - Delete a record
|
|
5906
|
-
* - Can be more specific and delete an IP from an existing A record for example
|
|
5907
|
-
* - Clear:
|
|
5908
|
-
* - Delete all records from a DNS zone
|
|
5899
|
+
* - Add: allows you to add a new record or add a new IP to an existing A
|
|
5900
|
+
* record, for example
|
|
5901
|
+
* - Set: allows you to edit a record or edit an IP from an existing A record,
|
|
5902
|
+
* for example
|
|
5903
|
+
* - Delete: allows you to delete a record or delete an IP from an existing A
|
|
5904
|
+
* record, for example
|
|
5905
|
+
* - Clear: allows you to delete all records from a DNS zone
|
|
5909
5906
|
*
|
|
5910
5907
|
* All edits will be versioned.
|
|
5911
5908
|
*
|
|
@@ -5920,8 +5917,8 @@ let API$j = class API extends API$q {
|
|
|
5920
5917
|
}, unmarshalUpdateDNSZoneRecordsResponse);
|
|
5921
5918
|
|
|
5922
5919
|
/**
|
|
5923
|
-
* List DNS zone
|
|
5924
|
-
*
|
|
5920
|
+
* List name servers within a DNS zone. Retrieve a list of name servers within
|
|
5921
|
+
* a DNS zone and their optional glue records.
|
|
5925
5922
|
*
|
|
5926
5923
|
* @param request - The request {@link ListDNSZoneNameserversRequest}
|
|
5927
5924
|
* @returns A Promise of ListDNSZoneNameserversResponse
|
|
@@ -5933,8 +5930,8 @@ let API$j = class API extends API$q {
|
|
|
5933
5930
|
}, unmarshalListDNSZoneNameserversResponse);
|
|
5934
5931
|
|
|
5935
5932
|
/**
|
|
5936
|
-
* Update DNS zone
|
|
5937
|
-
* glue records.
|
|
5933
|
+
* Update name servers within a DNS zone. Update name servers within a DNS
|
|
5934
|
+
* zone and set optional glue records.
|
|
5938
5935
|
*
|
|
5939
5936
|
* @param request - The request {@link UpdateDNSZoneNameserversRequest}
|
|
5940
5937
|
* @returns A Promise of UpdateDNSZoneNameserversResponse
|
|
@@ -5947,8 +5944,8 @@ let API$j = class API extends API$q {
|
|
|
5947
5944
|
}, unmarshalUpdateDNSZoneNameserversResponse);
|
|
5948
5945
|
|
|
5949
5946
|
/**
|
|
5950
|
-
* Clear DNS zone
|
|
5951
|
-
*
|
|
5947
|
+
* Clear records within a DNS zone. Delete all records within a DNS zone that
|
|
5948
|
+
* has default name servers.<br/> All edits will be versioned.
|
|
5952
5949
|
*
|
|
5953
5950
|
* @param request - The request {@link ClearDNSZoneRecordsRequest}
|
|
5954
5951
|
* @returns A Promise of ClearDNSZoneRecordsResponse
|
|
@@ -5959,7 +5956,8 @@ let API$j = class API extends API$q {
|
|
|
5959
5956
|
}, unmarshalClearDNSZoneRecordsResponse);
|
|
5960
5957
|
|
|
5961
5958
|
/**
|
|
5962
|
-
* Export raw DNS zone.
|
|
5959
|
+
* Export a raw DNS zone. Export a DNS zone with default name servers, in a
|
|
5960
|
+
* specific format.
|
|
5963
5961
|
*
|
|
5964
5962
|
* @param request - The request {@link ExportRawDNSZoneRequest}
|
|
5965
5963
|
* @returns A Promise of Blob
|
|
@@ -5972,8 +5970,8 @@ let API$j = class API extends API$q {
|
|
|
5972
5970
|
});
|
|
5973
5971
|
|
|
5974
5972
|
/**
|
|
5975
|
-
* Import raw DNS zone. Import and replace records from a
|
|
5976
|
-
*
|
|
5973
|
+
* Import a raw DNS zone. Import and replace the format of records from a
|
|
5974
|
+
* given provider, with default name servers.
|
|
5977
5975
|
*
|
|
5978
5976
|
* @param request - The request {@link ImportRawDNSZoneRequest}
|
|
5979
5977
|
* @returns A Promise of ImportRawDNSZoneResponse
|
|
@@ -5986,8 +5984,8 @@ let API$j = class API extends API$q {
|
|
|
5986
5984
|
}, unmarshalImportRawDNSZoneResponse);
|
|
5987
5985
|
|
|
5988
5986
|
/**
|
|
5989
|
-
* Import
|
|
5990
|
-
*
|
|
5987
|
+
* Import a DNS zone from another provider. Import and replace the format of
|
|
5988
|
+
* records from a given provider, with default name servers.
|
|
5991
5989
|
*
|
|
5992
5990
|
* @param request - The request {@link ImportProviderDNSZoneRequest}
|
|
5993
5991
|
* @returns A Promise of ImportProviderDNSZoneResponse
|
|
@@ -6000,8 +5998,9 @@ let API$j = class API extends API$q {
|
|
|
6000
5998
|
}, unmarshalImportProviderDNSZoneResponse);
|
|
6001
5999
|
|
|
6002
6000
|
/**
|
|
6003
|
-
* Refresh DNS zone. Refresh SOA DNS zone
|
|
6004
|
-
* and
|
|
6001
|
+
* Refresh a DNS zone. Refresh an SOA DNS zone to reload the records in the
|
|
6002
|
+
* DNS zone and update the SOA serial. You can recreate the given DNS zone and
|
|
6003
|
+
* its sub DNS zone if needed.
|
|
6005
6004
|
*
|
|
6006
6005
|
* @param request - The request {@link RefreshDNSZoneRequest}
|
|
6007
6006
|
* @returns A Promise of RefreshDNSZoneResponse
|
|
@@ -6019,9 +6018,9 @@ let API$j = class API extends API$q {
|
|
|
6019
6018
|
}, unmarshalListDNSZoneVersionsResponse);
|
|
6020
6019
|
|
|
6021
6020
|
/**
|
|
6022
|
-
* List DNS zone
|
|
6023
|
-
* version count is 100
|
|
6024
|
-
* version will be deleted after each new modification.
|
|
6021
|
+
* List versions of a DNS zone. Retrieve a list of a DNS zone's versions.<br/>
|
|
6022
|
+
* The maximum version count is 100. If the count reaches this limit, the
|
|
6023
|
+
* oldest version will be deleted after each new modification.
|
|
6025
6024
|
*
|
|
6026
6025
|
* @param request - The request {@link ListDNSZoneVersionsRequest}
|
|
6027
6026
|
* @returns A Promise of ListDNSZoneVersionsResponse
|
|
@@ -6034,8 +6033,8 @@ let API$j = class API extends API$q {
|
|
|
6034
6033
|
}, unmarshalListDNSZoneVersionRecordsResponse);
|
|
6035
6034
|
|
|
6036
6035
|
/**
|
|
6037
|
-
* List
|
|
6038
|
-
* zone version.
|
|
6036
|
+
* List records from a given version of a specific DNS zone. Retrieve a list
|
|
6037
|
+
* of records from a specific DNS zone version.
|
|
6039
6038
|
*
|
|
6040
6039
|
* @param request - The request {@link ListDNSZoneVersionRecordsRequest}
|
|
6041
6040
|
* @returns A Promise of ListDNSZoneVersionRecordsResponse
|
|
@@ -6043,8 +6042,8 @@ let API$j = class API extends API$q {
|
|
|
6043
6042
|
listDNSZoneVersionRecords = request => enrichForPagination('records', this.pageOfListDNSZoneVersionRecords, request);
|
|
6044
6043
|
|
|
6045
6044
|
/**
|
|
6046
|
-
*
|
|
6047
|
-
* version.
|
|
6045
|
+
* Access differences from a specific DNS zone version. Access a previous DNS
|
|
6046
|
+
* zone version to see the differences from another specific version.
|
|
6048
6047
|
*
|
|
6049
6048
|
* @param request - The request {@link GetDNSZoneVersionDiffRequest}
|
|
6050
6049
|
* @returns A Promise of GetDNSZoneVersionDiffResponse
|
|
@@ -6055,7 +6054,8 @@ let API$j = class API extends API$q {
|
|
|
6055
6054
|
}, unmarshalGetDNSZoneVersionDiffResponse);
|
|
6056
6055
|
|
|
6057
6056
|
/**
|
|
6058
|
-
* Restore DNS zone version. Restore and activate a
|
|
6057
|
+
* Restore a DNS zone version. Restore and activate a version of a specific
|
|
6058
|
+
* DNS zone.
|
|
6059
6059
|
*
|
|
6060
6060
|
* @param request - The request {@link RestoreDNSZoneVersionRequest}
|
|
6061
6061
|
* @returns A Promise of RestoreDNSZoneVersionResponse
|
|
@@ -6068,7 +6068,8 @@ let API$j = class API extends API$q {
|
|
|
6068
6068
|
}, unmarshalRestoreDNSZoneVersionResponse);
|
|
6069
6069
|
|
|
6070
6070
|
/**
|
|
6071
|
-
* Get
|
|
6071
|
+
* Get a DNS zone's TLS certificate. Get the DNS zone's TLS certificate. If
|
|
6072
|
+
* you do not have a certificate, the ouptut returns `no certificate found`.
|
|
6072
6073
|
*
|
|
6073
6074
|
* @param request - The request {@link GetSSLCertificateRequest}
|
|
6074
6075
|
* @returns A Promise of SSLCertificate
|
|
@@ -6088,7 +6089,8 @@ let API$j = class API extends API$q {
|
|
|
6088
6089
|
waitForSSLCertificate = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!SSL_CERTIFICATE_TRANSIENT_STATUSES.includes(res.status))), this.getSSLCertificate, request, options);
|
|
6089
6090
|
|
|
6090
6091
|
/**
|
|
6091
|
-
* Create or
|
|
6092
|
+
* Create or get the DNS zone's TLS certificate. Create a new TLS certificate
|
|
6093
|
+
* or retrieve information about an existing TLS certificate.
|
|
6092
6094
|
*
|
|
6093
6095
|
* @param request - The request {@link CreateSSLCertificateRequest}
|
|
6094
6096
|
* @returns A Promise of SSLCertificate
|
|
@@ -6106,7 +6108,8 @@ let API$j = class API extends API$q {
|
|
|
6106
6108
|
}, unmarshalListSSLCertificatesResponse);
|
|
6107
6109
|
|
|
6108
6110
|
/**
|
|
6109
|
-
* List
|
|
6111
|
+
* List a user's TLS certificates. List all the TLS certificates a user has
|
|
6112
|
+
* created, specified by the user's Project ID and the DNS zone.
|
|
6110
6113
|
*
|
|
6111
6114
|
* @param request - The request {@link ListSSLCertificatesRequest}
|
|
6112
6115
|
* @returns A Promise of ListSSLCertificatesResponse
|
|
@@ -6114,7 +6117,9 @@ let API$j = class API extends API$q {
|
|
|
6114
6117
|
listSSLCertificates = request => enrichForPagination('certificates', this.pageOfListSSLCertificates, request);
|
|
6115
6118
|
|
|
6116
6119
|
/**
|
|
6117
|
-
* Delete an TLS certificate
|
|
6120
|
+
* Delete a TLS certificate. Delete an existing TLS certificate specified by
|
|
6121
|
+
* its DNS zone. Deleting a TLS certificate is permanent and cannot be
|
|
6122
|
+
* undone.
|
|
6118
6123
|
*
|
|
6119
6124
|
* @param request - The request {@link DeleteSSLCertificateRequest}
|
|
6120
6125
|
* @returns A Promise of DeleteSSLCertificateResponse
|
|
@@ -6125,7 +6130,8 @@ let API$j = class API extends API$q {
|
|
|
6125
6130
|
}, unmarshalDeleteSSLCertificateResponse);
|
|
6126
6131
|
|
|
6127
6132
|
/**
|
|
6128
|
-
* Get the DNS zone TSIG
|
|
6133
|
+
* Get the DNS zone's TSIG key. Retrieve information about the TSIG key of a
|
|
6134
|
+
* given DNS zone to allow AXFR requests.
|
|
6129
6135
|
*
|
|
6130
6136
|
* @param request - The request {@link GetDNSZoneTsigKeyRequest}
|
|
6131
6137
|
* @returns A Promise of GetDNSZoneTsigKeyResponse
|
|
@@ -6136,7 +6142,8 @@ let API$j = class API extends API$q {
|
|
|
6136
6142
|
}, unmarshalGetDNSZoneTsigKeyResponse);
|
|
6137
6143
|
|
|
6138
6144
|
/**
|
|
6139
|
-
* Delete the DNS zone TSIG
|
|
6145
|
+
* Delete the DNS zone's TSIG key. Delete an existing TSIG key specified by
|
|
6146
|
+
* its DNS zone. Deleting a TSIG key is permanent and cannot be undone.
|
|
6140
6147
|
*
|
|
6141
6148
|
* @param request - The request {@link DeleteDNSZoneTsigKeyRequest}
|
|
6142
6149
|
*/
|
|
@@ -6678,13 +6685,14 @@ const jsonContentHeaders$g = {
|
|
|
6678
6685
|
'Content-Type': 'application/json; charset=utf-8'
|
|
6679
6686
|
};
|
|
6680
6687
|
|
|
6681
|
-
/** Flexible IP API. */
|
|
6688
|
+
/** Elastic Metal - Flexible IP API. */
|
|
6682
6689
|
let API$i = class API extends API$q {
|
|
6683
6690
|
/** Lists the available zones of the API. */
|
|
6684
6691
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1'];
|
|
6685
6692
|
|
|
6686
6693
|
/**
|
|
6687
|
-
* Create a
|
|
6694
|
+
* Create a new flexible IP. Generate a new flexible IP within a given zone,
|
|
6695
|
+
* specifying its configuration including Project ID and description.
|
|
6688
6696
|
*
|
|
6689
6697
|
* @param request - The request {@link CreateFlexibleIPRequest}
|
|
6690
6698
|
* @returns A Promise of FlexibleIP
|
|
@@ -6697,7 +6705,9 @@ let API$i = class API extends API$q {
|
|
|
6697
6705
|
}, unmarshalFlexibleIP);
|
|
6698
6706
|
|
|
6699
6707
|
/**
|
|
6700
|
-
* Get
|
|
6708
|
+
* Get an existing flexible IP. Retrieve information about an existing
|
|
6709
|
+
* flexible IP, specified by its ID and zone. Its full details, including
|
|
6710
|
+
* Project ID, description and status, are returned in the response object.
|
|
6701
6711
|
*
|
|
6702
6712
|
* @param request - The request {@link GetFlexibleIPRequest}
|
|
6703
6713
|
* @returns A Promise of FlexibleIP
|
|
@@ -6722,7 +6732,7 @@ let API$i = class API extends API$q {
|
|
|
6722
6732
|
}, unmarshalListFlexibleIPsResponse);
|
|
6723
6733
|
|
|
6724
6734
|
/**
|
|
6725
|
-
* List
|
|
6735
|
+
* List flexible IPs. List all flexible IPs within a given zone.
|
|
6726
6736
|
*
|
|
6727
6737
|
* @param request - The request {@link ListFlexibleIPsRequest}
|
|
6728
6738
|
* @returns A Promise of ListFlexibleIPsResponse
|
|
@@ -6730,7 +6740,9 @@ let API$i = class API extends API$q {
|
|
|
6730
6740
|
listFlexibleIPs = (request = {}) => enrichForPagination('flexibleIps', this.pageOfListFlexibleIPs, request);
|
|
6731
6741
|
|
|
6732
6742
|
/**
|
|
6733
|
-
* Update
|
|
6743
|
+
* Update an existing flexible IP. Update the parameters of an existing
|
|
6744
|
+
* flexible IP, specified by its ID and zone. These parameters include tags
|
|
6745
|
+
* and description.
|
|
6734
6746
|
*
|
|
6735
6747
|
* @param request - The request {@link UpdateFlexibleIPRequest}
|
|
6736
6748
|
* @returns A Promise of FlexibleIP
|
|
@@ -6743,7 +6755,9 @@ let API$i = class API extends API$q {
|
|
|
6743
6755
|
}, unmarshalFlexibleIP);
|
|
6744
6756
|
|
|
6745
6757
|
/**
|
|
6746
|
-
* Delete
|
|
6758
|
+
* Delete an existing flexible IP. Delete an existing flexible IP, specified
|
|
6759
|
+
* by its ID and zone. Note that deleting a flexible IP is permanent and
|
|
6760
|
+
* cannot be undone.
|
|
6747
6761
|
*
|
|
6748
6762
|
* @param request - The request {@link DeleteFlexibleIPRequest}
|
|
6749
6763
|
*/
|
|
@@ -6753,7 +6767,8 @@ let API$i = class API extends API$q {
|
|
|
6753
6767
|
});
|
|
6754
6768
|
|
|
6755
6769
|
/**
|
|
6756
|
-
* Attach
|
|
6770
|
+
* Attach an existing flexible IP to a server. Attach an existing flexible IP
|
|
6771
|
+
* to a specified Elastic Metal server.
|
|
6757
6772
|
*
|
|
6758
6773
|
* @param request - The request {@link AttachFlexibleIPRequest}
|
|
6759
6774
|
* @returns A Promise of AttachFlexibleIPsResponse
|
|
@@ -6766,7 +6781,8 @@ let API$i = class API extends API$q {
|
|
|
6766
6781
|
}, unmarshalAttachFlexibleIPsResponse);
|
|
6767
6782
|
|
|
6768
6783
|
/**
|
|
6769
|
-
* Detach
|
|
6784
|
+
* Detach an existing flexible IP from a server. Detach an existing flexible
|
|
6785
|
+
* IP from a specified Elastic Metal server.
|
|
6770
6786
|
*
|
|
6771
6787
|
* @param request - The request {@link DetachFlexibleIPRequest}
|
|
6772
6788
|
* @returns A Promise of DetachFlexibleIPsResponse
|
|
@@ -6779,7 +6795,8 @@ let API$i = class API extends API$q {
|
|
|
6779
6795
|
}, unmarshalDetachFlexibleIPsResponse);
|
|
6780
6796
|
|
|
6781
6797
|
/**
|
|
6782
|
-
* Generate a virtual MAC on
|
|
6798
|
+
* Generate a virtual MAC address on an existing flexible IP. Generate a
|
|
6799
|
+
* virtual MAC (Media Access Control) address on an existing flexible IP.
|
|
6783
6800
|
*
|
|
6784
6801
|
* @param request - The request {@link GenerateMACAddrRequest}
|
|
6785
6802
|
* @returns A Promise of FlexibleIP
|
|
@@ -6792,8 +6809,9 @@ let API$i = class API extends API$q {
|
|
|
6792
6809
|
}, unmarshalFlexibleIP);
|
|
6793
6810
|
|
|
6794
6811
|
/**
|
|
6795
|
-
* Duplicate a
|
|
6796
|
-
*
|
|
6812
|
+
* Duplicate a virtual MAC address to another flexible IP. Duplicate a virtual
|
|
6813
|
+
* MAC address from a given flexible IP to another flexible IP attached to the
|
|
6814
|
+
* same server.
|
|
6797
6815
|
*
|
|
6798
6816
|
* @param request - The request {@link DuplicateMACAddrRequest}
|
|
6799
6817
|
* @returns A Promise of FlexibleIP
|
|
@@ -6806,8 +6824,9 @@ let API$i = class API extends API$q {
|
|
|
6806
6824
|
}, unmarshalFlexibleIP);
|
|
6807
6825
|
|
|
6808
6826
|
/**
|
|
6809
|
-
*
|
|
6810
|
-
*
|
|
6827
|
+
* Relocate an existing virtual MAC address to a different flexible IP.
|
|
6828
|
+
* Relocate a virtual MAC (Media Access Control) address from an existing
|
|
6829
|
+
* flexible IP to a different flexible IP.
|
|
6811
6830
|
*
|
|
6812
6831
|
* @param request - The request {@link MoveMACAddrRequest}
|
|
6813
6832
|
* @returns A Promise of FlexibleIP
|
|
@@ -6820,7 +6839,8 @@ let API$i = class API extends API$q {
|
|
|
6820
6839
|
}, unmarshalFlexibleIP);
|
|
6821
6840
|
|
|
6822
6841
|
/**
|
|
6823
|
-
*
|
|
6842
|
+
* Detach a given virtual MAC address from an existing flexible IP. Detach a
|
|
6843
|
+
* given MAC (Media Access Control) address from an existing flexible IP.
|
|
6824
6844
|
*
|
|
6825
6845
|
* @param request - The request {@link DeleteMACAddrRequest}
|
|
6826
6846
|
*/
|
|
@@ -10342,7 +10362,7 @@ let API$f = class API extends API$q {
|
|
|
10342
10362
|
}, unmarshalListServersTypesResponse);
|
|
10343
10363
|
|
|
10344
10364
|
/**
|
|
10345
|
-
* List
|
|
10365
|
+
* List volume types. List all volume types and their technical details.
|
|
10346
10366
|
*
|
|
10347
10367
|
* @param request - The request {@link ListVolumesTypesRequest}
|
|
10348
10368
|
* @returns A Promise of ListVolumesTypesResponse
|
|
@@ -10431,7 +10451,7 @@ let API$f = class API extends API$q {
|
|
|
10431
10451
|
* preserve your local volumes, you should use the `archive` action instead of
|
|
10432
10452
|
* `terminate`. Similarly, if you want to keep your block storage volumes, you
|
|
10433
10453
|
* must first detach them before issuing the `terminate` command. For more
|
|
10434
|
-
* information, read the [Volumes](#volumes-
|
|
10454
|
+
* information, read the [Volumes](#path-volumes-list-volumes) documentation.
|
|
10435
10455
|
*
|
|
10436
10456
|
* @param request - The request {@link ServerActionRequest}
|
|
10437
10457
|
* @returns A Promise of ServerActionResponse
|
|
@@ -11968,9 +11988,9 @@ const jsonContentHeaders$c = {
|
|
|
11968
11988
|
};
|
|
11969
11989
|
|
|
11970
11990
|
/**
|
|
11971
|
-
* IoT API.
|
|
11991
|
+
* IoT Hub API.
|
|
11972
11992
|
*
|
|
11973
|
-
* This API allows you to manage IoT hubs and devices. IoT API.
|
|
11993
|
+
* This API allows you to manage IoT hubs and devices. IoT Hub API.
|
|
11974
11994
|
*/
|
|
11975
11995
|
let API$e = class API extends API$q {
|
|
11976
11996
|
/** Lists the available regions of the API. */
|
|
@@ -11982,7 +12002,9 @@ let API$e = class API extends API$q {
|
|
|
11982
12002
|
}, unmarshalListHubsResponse);
|
|
11983
12003
|
|
|
11984
12004
|
/**
|
|
11985
|
-
* List hubs.
|
|
12005
|
+
* List hubs. List all Hubs in the specified zone. By default, returned Hubs
|
|
12006
|
+
* are ordered by creation date in ascending order, though this can be
|
|
12007
|
+
* modified via the `order_by` field.
|
|
11986
12008
|
*
|
|
11987
12009
|
* @param request - The request {@link ListHubsRequest}
|
|
11988
12010
|
* @returns A Promise of ListHubsResponse
|
|
@@ -11990,7 +12012,8 @@ let API$e = class API extends API$q {
|
|
|
11990
12012
|
listHubs = (request = {}) => enrichForPagination('hubs', this.pageOfListHubs, request);
|
|
11991
12013
|
|
|
11992
12014
|
/**
|
|
11993
|
-
* Create a hub.
|
|
12015
|
+
* Create a hub. Create a new Hub in the targeted region, specifying its
|
|
12016
|
+
* configuration including name and product plan.
|
|
11994
12017
|
*
|
|
11995
12018
|
* @param request - The request {@link CreateHubRequest}
|
|
11996
12019
|
* @returns A Promise of Hub
|
|
@@ -12003,7 +12026,9 @@ let API$e = class API extends API$q {
|
|
|
12003
12026
|
}, unmarshalHub);
|
|
12004
12027
|
|
|
12005
12028
|
/**
|
|
12006
|
-
* Get a hub.
|
|
12029
|
+
* Get a hub. Retrieve information about an existing IoT Hub, specified by its
|
|
12030
|
+
* Hub ID. Its full details, including name, status and endpoint, are returned
|
|
12031
|
+
* in the response object.
|
|
12007
12032
|
*
|
|
12008
12033
|
* @param request - The request {@link GetHubRequest}
|
|
12009
12034
|
* @returns A Promise of Hub
|
|
@@ -12023,7 +12048,8 @@ let API$e = class API extends API$q {
|
|
|
12023
12048
|
waitForHub = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!HUB_TRANSIENT_STATUSES.includes(res.status))), this.getHub, request, options);
|
|
12024
12049
|
|
|
12025
12050
|
/**
|
|
12026
|
-
* Update a hub.
|
|
12051
|
+
* Update a hub. Update the parameters of an existing IoT Hub, specified by
|
|
12052
|
+
* its Hub ID.
|
|
12027
12053
|
*
|
|
12028
12054
|
* @param request - The request {@link UpdateHubRequest}
|
|
12029
12055
|
* @returns A Promise of Hub
|
|
@@ -12036,7 +12062,7 @@ let API$e = class API extends API$q {
|
|
|
12036
12062
|
}, unmarshalHub);
|
|
12037
12063
|
|
|
12038
12064
|
/**
|
|
12039
|
-
* Enable a hub.
|
|
12065
|
+
* Enable a hub. Enable an existing IoT Hub, specified by its Hub ID.
|
|
12040
12066
|
*
|
|
12041
12067
|
* @param request - The request {@link EnableHubRequest}
|
|
12042
12068
|
* @returns A Promise of Hub
|
|
@@ -12049,7 +12075,7 @@ let API$e = class API extends API$q {
|
|
|
12049
12075
|
}, unmarshalHub);
|
|
12050
12076
|
|
|
12051
12077
|
/**
|
|
12052
|
-
* Disable a hub.
|
|
12078
|
+
* Disable a hub. Disable an existing IoT Hub, specified by its Hub ID.
|
|
12053
12079
|
*
|
|
12054
12080
|
* @param request - The request {@link DisableHubRequest}
|
|
12055
12081
|
* @returns A Promise of Hub
|
|
@@ -12062,7 +12088,8 @@ let API$e = class API extends API$q {
|
|
|
12062
12088
|
}, unmarshalHub);
|
|
12063
12089
|
|
|
12064
12090
|
/**
|
|
12065
|
-
* Delete a hub.
|
|
12091
|
+
* Delete a hub. Delete an existing IoT Hub, specified by its Hub ID. Deleting
|
|
12092
|
+
* a Hub is permanent, and cannot be undone.
|
|
12066
12093
|
*
|
|
12067
12094
|
* @param request - The request {@link DeleteHubRequest}
|
|
12068
12095
|
*/
|
|
@@ -12073,7 +12100,8 @@ let API$e = class API extends API$q {
|
|
|
12073
12100
|
});
|
|
12074
12101
|
|
|
12075
12102
|
/**
|
|
12076
|
-
* Get a hub's metrics.
|
|
12103
|
+
* Get a hub's metrics. Get the metrics of an existing IoT Hub, specified by
|
|
12104
|
+
* its Hub ID.
|
|
12077
12105
|
*
|
|
12078
12106
|
* @deprecated
|
|
12079
12107
|
* @param request - The request {@link GetHubMetricsRequest}
|
|
@@ -12086,7 +12114,8 @@ let API$e = class API extends API$q {
|
|
|
12086
12114
|
}, unmarshalGetHubMetricsResponse);
|
|
12087
12115
|
|
|
12088
12116
|
/**
|
|
12089
|
-
* Set the certificate authority of a hub.
|
|
12117
|
+
* Set the certificate authority of a hub. Set a particular PEM-encoded
|
|
12118
|
+
* certificate, specified by the Hub ID.
|
|
12090
12119
|
*
|
|
12091
12120
|
* @param request - The request {@link SetHubCARequest}
|
|
12092
12121
|
* @returns A Promise of Hub
|
|
@@ -12099,7 +12128,8 @@ let API$e = class API extends API$q {
|
|
|
12099
12128
|
}, unmarshalHub);
|
|
12100
12129
|
|
|
12101
12130
|
/**
|
|
12102
|
-
* Get the certificate authority of a hub.
|
|
12131
|
+
* Get the certificate authority of a hub. Get information for a particular
|
|
12132
|
+
* PEM-encoded certificate, specified by the Hub ID.
|
|
12103
12133
|
*
|
|
12104
12134
|
* @param request - The request {@link GetHubCARequest}
|
|
12105
12135
|
* @returns A Promise of GetHubCAResponse
|
|
@@ -12115,7 +12145,9 @@ let API$e = class API extends API$q {
|
|
|
12115
12145
|
}, unmarshalListDevicesResponse);
|
|
12116
12146
|
|
|
12117
12147
|
/**
|
|
12118
|
-
* List devices.
|
|
12148
|
+
* List devices. List all devices in the specified region. By default,
|
|
12149
|
+
* returned devices are ordered by creation date in ascending order, though
|
|
12150
|
+
* this can be modified via the `order_by` field.
|
|
12119
12151
|
*
|
|
12120
12152
|
* @param request - The request {@link ListDevicesRequest}
|
|
12121
12153
|
* @returns A Promise of ListDevicesResponse
|
|
@@ -12123,7 +12155,7 @@ let API$e = class API extends API$q {
|
|
|
12123
12155
|
listDevices = (request = {}) => enrichForPagination('devices', this.pageOfListDevices, request);
|
|
12124
12156
|
|
|
12125
12157
|
/**
|
|
12126
|
-
* Add a device.
|
|
12158
|
+
* Add a device. Attach a device to a given Hub.
|
|
12127
12159
|
*
|
|
12128
12160
|
* @param request - The request {@link CreateDeviceRequest}
|
|
12129
12161
|
* @returns A Promise of CreateDeviceResponse
|
|
@@ -12136,7 +12168,9 @@ let API$e = class API extends API$q {
|
|
|
12136
12168
|
}, unmarshalCreateDeviceResponse);
|
|
12137
12169
|
|
|
12138
12170
|
/**
|
|
12139
|
-
* Get a device.
|
|
12171
|
+
* Get a device. Retrieve information about an existing device, specified by
|
|
12172
|
+
* its device ID. Its full details, including name, status and ID, are
|
|
12173
|
+
* returned in the response object.
|
|
12140
12174
|
*
|
|
12141
12175
|
* @param request - The request {@link GetDeviceRequest}
|
|
12142
12176
|
* @returns A Promise of Device
|
|
@@ -12147,7 +12181,8 @@ let API$e = class API extends API$q {
|
|
|
12147
12181
|
}, unmarshalDevice);
|
|
12148
12182
|
|
|
12149
12183
|
/**
|
|
12150
|
-
* Update a device.
|
|
12184
|
+
* Update a device. Update the parameters of an existing device, specified by
|
|
12185
|
+
* its device ID.
|
|
12151
12186
|
*
|
|
12152
12187
|
* @param request - The request {@link UpdateDeviceRequest}
|
|
12153
12188
|
* @returns A Promise of Device
|
|
@@ -12160,7 +12195,7 @@ let API$e = class API extends API$q {
|
|
|
12160
12195
|
}, unmarshalDevice);
|
|
12161
12196
|
|
|
12162
12197
|
/**
|
|
12163
|
-
* Enable a device.
|
|
12198
|
+
* Enable a device. Enable a specific device, specified by its device ID.
|
|
12164
12199
|
*
|
|
12165
12200
|
* @param request - The request {@link EnableDeviceRequest}
|
|
12166
12201
|
* @returns A Promise of Device
|
|
@@ -12173,7 +12208,7 @@ let API$e = class API extends API$q {
|
|
|
12173
12208
|
}, unmarshalDevice);
|
|
12174
12209
|
|
|
12175
12210
|
/**
|
|
12176
|
-
* Disable a device.
|
|
12211
|
+
* Disable a device. Disable an existing device, specified by its device ID.
|
|
12177
12212
|
*
|
|
12178
12213
|
* @param request - The request {@link DisableDeviceRequest}
|
|
12179
12214
|
* @returns A Promise of Device
|
|
@@ -12186,7 +12221,8 @@ let API$e = class API extends API$q {
|
|
|
12186
12221
|
}, unmarshalDevice);
|
|
12187
12222
|
|
|
12188
12223
|
/**
|
|
12189
|
-
* Renew a device certificate.
|
|
12224
|
+
* Renew a device certificate. Renew the certificate of an existing device,
|
|
12225
|
+
* specified by its device ID.
|
|
12190
12226
|
*
|
|
12191
12227
|
* @param request - The request {@link RenewDeviceCertificateRequest}
|
|
12192
12228
|
* @returns A Promise of RenewDeviceCertificateResponse
|
|
@@ -12199,7 +12235,8 @@ let API$e = class API extends API$q {
|
|
|
12199
12235
|
}, unmarshalRenewDeviceCertificateResponse);
|
|
12200
12236
|
|
|
12201
12237
|
/**
|
|
12202
|
-
* Set a custom certificate on a device.
|
|
12238
|
+
* Set a custom certificate on a device. Switch the existing certificate of a
|
|
12239
|
+
* given device with an EM-encoded custom certificate.
|
|
12203
12240
|
*
|
|
12204
12241
|
* @param request - The request {@link SetDeviceCertificateRequest}
|
|
12205
12242
|
* @returns A Promise of SetDeviceCertificateResponse
|
|
@@ -12212,7 +12249,9 @@ let API$e = class API extends API$q {
|
|
|
12212
12249
|
}, unmarshalSetDeviceCertificateResponse);
|
|
12213
12250
|
|
|
12214
12251
|
/**
|
|
12215
|
-
* Get a device's certificate.
|
|
12252
|
+
* Get a device's certificate. Get information for a particular PEM-encoded
|
|
12253
|
+
* certificate, specified by the device ID. The response returns full details
|
|
12254
|
+
* of the device, including its type of certificate.
|
|
12216
12255
|
*
|
|
12217
12256
|
* @param request - The request {@link GetDeviceCertificateRequest}
|
|
12218
12257
|
* @returns A Promise of GetDeviceCertificateResponse
|
|
@@ -12223,7 +12262,8 @@ let API$e = class API extends API$q {
|
|
|
12223
12262
|
}, unmarshalGetDeviceCertificateResponse);
|
|
12224
12263
|
|
|
12225
12264
|
/**
|
|
12226
|
-
* Remove a device.
|
|
12265
|
+
* Remove a device. Remove a specific device from the specific Hub it is
|
|
12266
|
+
* attached to.
|
|
12227
12267
|
*
|
|
12228
12268
|
* @param request - The request {@link DeleteDeviceRequest}
|
|
12229
12269
|
*/
|
|
@@ -12233,7 +12273,8 @@ let API$e = class API extends API$q {
|
|
|
12233
12273
|
});
|
|
12234
12274
|
|
|
12235
12275
|
/**
|
|
12236
|
-
* Get a device's metrics.
|
|
12276
|
+
* Get a device's metrics. Get the metrics of an existing device, specified by
|
|
12277
|
+
* its device ID.
|
|
12237
12278
|
*
|
|
12238
12279
|
* @deprecated
|
|
12239
12280
|
* @param request - The request {@link GetDeviceMetricsRequest}
|
|
@@ -12251,7 +12292,9 @@ let API$e = class API extends API$q {
|
|
|
12251
12292
|
}, unmarshalListRoutesResponse$1);
|
|
12252
12293
|
|
|
12253
12294
|
/**
|
|
12254
|
-
* List routes.
|
|
12295
|
+
* List routes. List all routes in the specified region. By default, returned
|
|
12296
|
+
* routes are ordered by creation date in ascending order, though this can be
|
|
12297
|
+
* modified via the `order_by` field.
|
|
12255
12298
|
*
|
|
12256
12299
|
* @param request - The request {@link ListRoutesRequest}
|
|
12257
12300
|
* @returns A Promise of ListRoutesResponse
|
|
@@ -12259,15 +12302,15 @@ let API$e = class API extends API$q {
|
|
|
12259
12302
|
listRoutes = (request = {}) => enrichForPagination('routes', this.pageOfListRoutes, request);
|
|
12260
12303
|
|
|
12261
12304
|
/**
|
|
12262
|
-
* Create a route. Multiple
|
|
12305
|
+
* Create a route. Multiple kinds of routes can be created, such as:
|
|
12263
12306
|
*
|
|
12264
|
-
* - Database Route
|
|
12307
|
+
* - Database Route Create a route that will record subscribed MQTT messages
|
|
12265
12308
|
* into your database. <b>You need to manage the database by yourself</b>.
|
|
12266
12309
|
* - REST Route. Create a route that will call a REST API on received subscribed
|
|
12267
12310
|
* MQTT messages.
|
|
12268
12311
|
* - S3 Routes. Create a route that will put subscribed MQTT messages into an S3
|
|
12269
|
-
* bucket. You need to create the bucket yourself and grant
|
|
12270
|
-
*
|
|
12312
|
+
* bucket. You need to create the bucket yourself and grant write access.
|
|
12313
|
+
* Granting can be done with s3cmd (`s3cmd setacl s3://<my-bucket>
|
|
12271
12314
|
* --acl-grant=write:555c69c3-87d0-4bf8-80f1-99a2f757d031:555c69c3-87d0-4bf8-80f1-99a2f757d031`).
|
|
12272
12315
|
*
|
|
12273
12316
|
* @param request - The request {@link CreateRouteRequest}
|
|
@@ -12281,7 +12324,8 @@ let API$e = class API extends API$q {
|
|
|
12281
12324
|
}, unmarshalRoute$1);
|
|
12282
12325
|
|
|
12283
12326
|
/**
|
|
12284
|
-
* Update a route.
|
|
12327
|
+
* Update a route. Update the parameters of an existing route, specified by
|
|
12328
|
+
* its route ID.
|
|
12285
12329
|
*
|
|
12286
12330
|
* @param request - The request {@link UpdateRouteRequest}
|
|
12287
12331
|
* @returns A Promise of Route
|
|
@@ -12294,7 +12338,9 @@ let API$e = class API extends API$q {
|
|
|
12294
12338
|
}, unmarshalRoute$1);
|
|
12295
12339
|
|
|
12296
12340
|
/**
|
|
12297
|
-
* Get a route.
|
|
12341
|
+
* Get a route. Get information for a particular route, specified by the route
|
|
12342
|
+
* ID. The response returns full details of the route, including its type, the
|
|
12343
|
+
* topic it subscribes to and its configuration.
|
|
12298
12344
|
*
|
|
12299
12345
|
* @param request - The request {@link GetRouteRequest}
|
|
12300
12346
|
* @returns A Promise of Route
|
|
@@ -12305,7 +12351,8 @@ let API$e = class API extends API$q {
|
|
|
12305
12351
|
}, unmarshalRoute$1);
|
|
12306
12352
|
|
|
12307
12353
|
/**
|
|
12308
|
-
* Delete a route.
|
|
12354
|
+
* Delete a route. Delete an existing route, specified by its route ID.
|
|
12355
|
+
* Deleting a route is permanent, and cannot be undone.
|
|
12309
12356
|
*
|
|
12310
12357
|
* @param request - The request {@link DeleteRouteRequest}
|
|
12311
12358
|
*/
|
|
@@ -12320,7 +12367,7 @@ let API$e = class API extends API$q {
|
|
|
12320
12367
|
}, unmarshalListNetworksResponse);
|
|
12321
12368
|
|
|
12322
12369
|
/**
|
|
12323
|
-
* List the
|
|
12370
|
+
* List the networks.
|
|
12324
12371
|
*
|
|
12325
12372
|
* @param request - The request {@link ListNetworksRequest}
|
|
12326
12373
|
* @returns A Promise of ListNetworksResponse
|
|
@@ -12328,7 +12375,9 @@ let API$e = class API extends API$q {
|
|
|
12328
12375
|
listNetworks = (request = {}) => enrichForPagination('networks', this.pageOfListNetworks, request);
|
|
12329
12376
|
|
|
12330
12377
|
/**
|
|
12331
|
-
* Create a new
|
|
12378
|
+
* Create a new network. Create a new network for an existing hub. Beside the
|
|
12379
|
+
* default network, you can add networks for different data providers.
|
|
12380
|
+
* Possible network types are Sigfox and REST.
|
|
12332
12381
|
*
|
|
12333
12382
|
* @param request - The request {@link CreateNetworkRequest}
|
|
12334
12383
|
* @returns A Promise of CreateNetworkResponse
|
|
@@ -12341,7 +12390,9 @@ let API$e = class API extends API$q {
|
|
|
12341
12390
|
}, unmarshalCreateNetworkResponse);
|
|
12342
12391
|
|
|
12343
12392
|
/**
|
|
12344
|
-
* Retrieve a specific
|
|
12393
|
+
* Retrieve a specific network. Retrieve an existing network, specified by its
|
|
12394
|
+
* network ID. The response returns full details of the network, including its
|
|
12395
|
+
* type, the topic prefix and its endpoint.
|
|
12345
12396
|
*
|
|
12346
12397
|
* @param request - The request {@link GetNetworkRequest}
|
|
12347
12398
|
* @returns A Promise of Network
|
|
@@ -12352,7 +12403,8 @@ let API$e = class API extends API$q {
|
|
|
12352
12403
|
}, unmarshalNetwork);
|
|
12353
12404
|
|
|
12354
12405
|
/**
|
|
12355
|
-
* Delete a Network.
|
|
12406
|
+
* Delete a Network. Delete an existing network, specified by its network ID.
|
|
12407
|
+
* Deleting a network is permanent, and cannot be undone.
|
|
12356
12408
|
*
|
|
12357
12409
|
* @param request - The request {@link DeleteNetworkRequest}
|
|
12358
12410
|
*/
|
|
@@ -12834,7 +12886,7 @@ const jsonContentHeaders$b = {
|
|
|
12834
12886
|
'Content-Type': 'application/json; charset=utf-8'
|
|
12835
12887
|
};
|
|
12836
12888
|
|
|
12837
|
-
/**
|
|
12889
|
+
/** Kubernetes API. */
|
|
12838
12890
|
let API$d = class API extends API$q {
|
|
12839
12891
|
/** Lists the available regions of the API. */
|
|
12840
12892
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
@@ -16384,10 +16436,7 @@ const marshalPermissions = (request, defaults) => ({
|
|
|
16384
16436
|
const marshalCreateCredentialRequest = (request, defaults) => ({
|
|
16385
16437
|
name: request.name || randomName('mnq'),
|
|
16386
16438
|
namespace_id: request.namespaceId,
|
|
16387
|
-
|
|
16388
|
-
param: 'permissions',
|
|
16389
|
-
value: request.permissions ? marshalPermissions(request.permissions) : undefined
|
|
16390
|
-
}])
|
|
16439
|
+
permissions: request.permissions ? marshalPermissions(request.permissions) : undefined
|
|
16391
16440
|
});
|
|
16392
16441
|
const marshalCreateNamespaceRequest$1 = (request, defaults) => ({
|
|
16393
16442
|
name: request.name || randomName('mnq'),
|
|
@@ -16396,10 +16445,7 @@ const marshalCreateNamespaceRequest$1 = (request, defaults) => ({
|
|
|
16396
16445
|
});
|
|
16397
16446
|
const marshalUpdateCredentialRequest = (request, defaults) => ({
|
|
16398
16447
|
name: request.name,
|
|
16399
|
-
|
|
16400
|
-
param: 'permissions',
|
|
16401
|
-
value: request.permissions ? marshalPermissions(request.permissions) : undefined
|
|
16402
|
-
}])
|
|
16448
|
+
permissions: request.permissions ? marshalPermissions(request.permissions) : undefined
|
|
16403
16449
|
});
|
|
16404
16450
|
const marshalUpdateNamespaceRequest$1 = (request, defaults) => ({
|
|
16405
16451
|
name: request.name,
|
|
@@ -16412,10 +16458,10 @@ const jsonContentHeaders$9 = {
|
|
|
16412
16458
|
};
|
|
16413
16459
|
|
|
16414
16460
|
/**
|
|
16415
|
-
*
|
|
16461
|
+
* Messaging and Queuing API.
|
|
16416
16462
|
*
|
|
16417
|
-
* This API allows you to manage Scaleway Messaging and Queueing brokers.
|
|
16418
|
-
* API
|
|
16463
|
+
* This API allows you to manage Scaleway Messaging and Queueing brokers.
|
|
16464
|
+
* Messaging and Queuing API.
|
|
16419
16465
|
*/
|
|
16420
16466
|
let API$9 = class API extends API$q {
|
|
16421
16467
|
/** Lists the available regions of the API. */
|
|
@@ -18960,11 +19006,7 @@ const jsonContentHeaders$6 = {
|
|
|
18960
19006
|
'Content-Type': 'application/json; charset=utf-8'
|
|
18961
19007
|
};
|
|
18962
19008
|
|
|
18963
|
-
/**
|
|
18964
|
-
* Registry API.
|
|
18965
|
-
*
|
|
18966
|
-
* Container registry API. Registry API.
|
|
18967
|
-
*/
|
|
19009
|
+
/** Container Registry API. */
|
|
18968
19010
|
let API$6 = class API extends API$q {
|
|
18969
19011
|
/** Lists the available regions of the API. */
|
|
18970
19012
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
@@ -18975,7 +19017,11 @@ let API$6 = class API extends API$q {
|
|
|
18975
19017
|
}, unmarshalListNamespacesResponse);
|
|
18976
19018
|
|
|
18977
19019
|
/**
|
|
18978
|
-
* List all
|
|
19020
|
+
* List namespaces. List all namespaces in a specified region. By default, the
|
|
19021
|
+
* namespaces listed are ordered by creation date in ascending order. This can
|
|
19022
|
+
* be modified via the order_by field. You can also define additional
|
|
19023
|
+
* parameters for your query, such as the `instance_id` and `project_id`
|
|
19024
|
+
* parameters.
|
|
18979
19025
|
*
|
|
18980
19026
|
* @param request - The request {@link ListNamespacesRequest}
|
|
18981
19027
|
* @returns A Promise of ListNamespacesResponse
|
|
@@ -18983,7 +19029,10 @@ let API$6 = class API extends API$q {
|
|
|
18983
19029
|
listNamespaces = (request = {}) => enrichForPagination('namespaces', this.pageOfListNamespaces, request);
|
|
18984
19030
|
|
|
18985
19031
|
/**
|
|
18986
|
-
* Get a namespace.
|
|
19032
|
+
* Get a namespace. Retrieve information about a given namespace, specified by
|
|
19033
|
+
* its `namespace_id` and region. Full details about the namespace, such as
|
|
19034
|
+
* `description`, `project_id`, `status`, `endpoint`, `is_public`, `size`, and
|
|
19035
|
+
* `image_count` are returned in the response.
|
|
18987
19036
|
*
|
|
18988
19037
|
* @param request - The request {@link GetNamespaceRequest}
|
|
18989
19038
|
* @returns A Promise of Namespace
|
|
@@ -19003,7 +19052,10 @@ let API$6 = class API extends API$q {
|
|
|
19003
19052
|
waitForNamespace = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!NAMESPACE_TRANSIENT_STATUSES.includes(res.status))), this.getNamespace, request, options);
|
|
19004
19053
|
|
|
19005
19054
|
/**
|
|
19006
|
-
* Create a new namespace.
|
|
19055
|
+
* Create a namespace. Create a new Container Registry namespace. You must
|
|
19056
|
+
* specify the namespace name and region in which you want it to be created.
|
|
19057
|
+
* Optionally, you can specify the `project_id` and `is_public` in the request
|
|
19058
|
+
* payload.
|
|
19007
19059
|
*
|
|
19008
19060
|
* @param request - The request {@link CreateNamespaceRequest}
|
|
19009
19061
|
* @returns A Promise of Namespace
|
|
@@ -19016,8 +19068,9 @@ let API$6 = class API extends API$q {
|
|
|
19016
19068
|
}, unmarshalNamespace);
|
|
19017
19069
|
|
|
19018
19070
|
/**
|
|
19019
|
-
* Update
|
|
19020
|
-
*
|
|
19071
|
+
* Update a namespace. Update the parameters of a given namespace, specified
|
|
19072
|
+
* by its `namespace_id` and `region`. You can update the `description` and
|
|
19073
|
+
* `is_public` parameters.
|
|
19021
19074
|
*
|
|
19022
19075
|
* @param request - The request {@link UpdateNamespaceRequest}
|
|
19023
19076
|
* @returns A Promise of Namespace
|
|
@@ -19030,8 +19083,9 @@ let API$6 = class API extends API$q {
|
|
|
19030
19083
|
}, unmarshalNamespace);
|
|
19031
19084
|
|
|
19032
19085
|
/**
|
|
19033
|
-
* Delete
|
|
19034
|
-
*
|
|
19086
|
+
* Delete a namespace. Delete a given namespace. You must specify, in the
|
|
19087
|
+
* endpoint, the `region` and `namespace_id` parameters of the namespace you
|
|
19088
|
+
* want to delete.
|
|
19035
19089
|
*
|
|
19036
19090
|
* @param request - The request {@link DeleteNamespaceRequest}
|
|
19037
19091
|
* @returns A Promise of Namespace
|
|
@@ -19047,7 +19101,10 @@ let API$6 = class API extends API$q {
|
|
|
19047
19101
|
}, unmarshalListImagesResponse);
|
|
19048
19102
|
|
|
19049
19103
|
/**
|
|
19050
|
-
* List all
|
|
19104
|
+
* List images. List all images in a specified region. By default, the images
|
|
19105
|
+
* listed are ordered by creation date in ascending order. This can be
|
|
19106
|
+
* modified via the order_by field. You can also define additional parameters
|
|
19107
|
+
* for your query, such as the `namespace_id` and `project_id` parameters.
|
|
19051
19108
|
*
|
|
19052
19109
|
* @param request - The request {@link ListImagesRequest}
|
|
19053
19110
|
* @returns A Promise of ListImagesResponse
|
|
@@ -19055,7 +19112,10 @@ let API$6 = class API extends API$q {
|
|
|
19055
19112
|
listImages = (request = {}) => enrichForPagination('images', this.pageOfListImages, request);
|
|
19056
19113
|
|
|
19057
19114
|
/**
|
|
19058
|
-
* Get
|
|
19115
|
+
* Get an image. Retrieve information about a given container image, specified
|
|
19116
|
+
* by its `image_id` and region. Full details about the image, such as `name`,
|
|
19117
|
+
* `namespace_id`, `status`, `visibility`, and `size` are returned in the
|
|
19118
|
+
* response.
|
|
19059
19119
|
*
|
|
19060
19120
|
* @param request - The request {@link GetImageRequest}
|
|
19061
19121
|
* @returns A Promise of Image
|
|
@@ -19075,7 +19135,8 @@ let API$6 = class API extends API$q {
|
|
|
19075
19135
|
waitForImage = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!IMAGE_TRANSIENT_STATUSES.includes(res.status))), this.getImage, request, options);
|
|
19076
19136
|
|
|
19077
19137
|
/**
|
|
19078
|
-
* Update an
|
|
19138
|
+
* Update an image. Update the parameters of a given image, specified by its
|
|
19139
|
+
* `image_id` and `region`. You can update the `visibility` parameter.
|
|
19079
19140
|
*
|
|
19080
19141
|
* @param request - The request {@link UpdateImageRequest}
|
|
19081
19142
|
* @returns A Promise of Image
|
|
@@ -19088,7 +19149,8 @@ let API$6 = class API extends API$q {
|
|
|
19088
19149
|
}, unmarshalImage);
|
|
19089
19150
|
|
|
19090
19151
|
/**
|
|
19091
|
-
* Delete an image. Delete
|
|
19152
|
+
* Delete an image. Delete a given image. You must specify, in the endpoint,
|
|
19153
|
+
* the `region` and `image_id` parameters of the image you want to delete.
|
|
19092
19154
|
*
|
|
19093
19155
|
* @param request - The request {@link DeleteImageRequest}
|
|
19094
19156
|
* @returns A Promise of Image
|
|
@@ -19104,7 +19166,10 @@ let API$6 = class API extends API$q {
|
|
|
19104
19166
|
}, unmarshalListTagsResponse);
|
|
19105
19167
|
|
|
19106
19168
|
/**
|
|
19107
|
-
* List all
|
|
19169
|
+
* List tags. List all tags for a given image, specified by region. By
|
|
19170
|
+
* default, the tags listed are ordered by creation date in ascending order.
|
|
19171
|
+
* This can be modified via the order_by field. You can also define additional
|
|
19172
|
+
* parameters for your query, such as the `name`.
|
|
19108
19173
|
*
|
|
19109
19174
|
* @param request - The request {@link ListTagsRequest}
|
|
19110
19175
|
* @returns A Promise of ListTagsResponse
|
|
@@ -19112,7 +19177,9 @@ let API$6 = class API extends API$q {
|
|
|
19112
19177
|
listTags = request => enrichForPagination('tags', this.pageOfListTags, request);
|
|
19113
19178
|
|
|
19114
19179
|
/**
|
|
19115
|
-
* Get a tag.
|
|
19180
|
+
* Get a tag. Retrieve information about a given image tag, specified by its
|
|
19181
|
+
* `tag_id` and region. Full details about the tag, such as `name`,
|
|
19182
|
+
* `image_id`, `status`, and `digest` are returned in the response.
|
|
19116
19183
|
*
|
|
19117
19184
|
* @param request - The request {@link GetTagRequest}
|
|
19118
19185
|
* @returns A Promise of Tag
|
|
@@ -19132,7 +19199,8 @@ let API$6 = class API extends API$q {
|
|
|
19132
19199
|
waitForTag = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!TAG_TRANSIENT_STATUSES.includes(res.status))), this.getTag, request, options);
|
|
19133
19200
|
|
|
19134
19201
|
/**
|
|
19135
|
-
* Delete a tag. Delete
|
|
19202
|
+
* Delete a tag. Delete a given image tag. You must specify, in the endpoint,
|
|
19203
|
+
* the `region` and `tag_id` parameters of the tag you want to delete.
|
|
19136
19204
|
*
|
|
19137
19205
|
* @param request - The request {@link DeleteTagRequest}
|
|
19138
19206
|
* @returns A Promise of Tag
|
|
@@ -19262,10 +19330,10 @@ const jsonContentHeaders$5 = {
|
|
|
19262
19330
|
};
|
|
19263
19331
|
|
|
19264
19332
|
/**
|
|
19265
|
-
* Secret Manager API
|
|
19333
|
+
* Secret Manager API.
|
|
19266
19334
|
*
|
|
19267
|
-
* This API allows you to conveniently store, access and
|
|
19268
|
-
*
|
|
19335
|
+
* Secret Manager API. This API allows you to conveniently store, access and
|
|
19336
|
+
* share sensitive data.
|
|
19269
19337
|
*/
|
|
19270
19338
|
let API$5 = class API extends API$q {
|
|
19271
19339
|
/** Lists the available regions of the API. */
|
|
@@ -19901,11 +19969,7 @@ const jsonContentHeaders$3 = {
|
|
|
19901
19969
|
'Content-Type': 'application/json; charset=utf-8'
|
|
19902
19970
|
};
|
|
19903
19971
|
|
|
19904
|
-
/**
|
|
19905
|
-
* Transactional Email API documentation.
|
|
19906
|
-
*
|
|
19907
|
-
* Tem. Transactional Email API documentation.
|
|
19908
|
-
*/
|
|
19972
|
+
/** Transactional Email API. */
|
|
19909
19973
|
let API$3 = class API extends API$q {
|
|
19910
19974
|
/** Lists the available regions of the API. */
|
|
19911
19975
|
static LOCALITIES = ['fr-par'];
|