Skip to content

Commit a46d0af

Browse files
osc-sdk-go v1.22.0
Signed-off-by: Outscale Bot <[email protected]>
1 parent 9f02bb4 commit a46d0af

File tree

557 files changed

+627
-611
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

557 files changed

+627
-611
lines changed

api_version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.24.0
1+
1.25.0

changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.22.0
2+
3+
- SDK update for Outscale API v1.25.0
4+
15
# 1.21.0
26

37
- SDK update for Outscale API v1.24.0

osc/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ An OpenAPI description of the OUTSCALE API is also available in this [GitHub rep
1010
## Overview
1111
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.
1212

13-
- API version: 1.24
14-
- Package version: 1.21.0
13+
- API version: 1.25
14+
- Package version: 1.22.0
1515
- Build package: org.openapitools.codegen.languages.GoClientCodegen
1616

1717
## Installation

osc/api/openapi.yaml

+46-34
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ info:
1414
url: https://opensource.org/licenses/BSD-3-Clause
1515
termsOfService: https://en.outscale.com/terms-of-service/
1616
title: 3DS OUTSCALE API
17-
version: "1.24"
17+
version: "1.25"
1818
servers:
1919
- url: https://api.{region}.outscale.com/api/v1
2020
variables:
@@ -905,19 +905,20 @@ paths:
905905
- SecurityGroup
906906
/CreateSecurityGroupRule:
907907
description: |-
908-
Configures the rules for a security group.<br />
909-
The modifications are effective at virtual machine (VM) level as quickly as possible, but a small delay may occur.<br /><br />
908+
Adds one or more rules to a security group.<br />
909+
Use the `SecurityGroupId` parameter to specify the security group for which you want to create a rule.<br />
910+
Use the `Flow` parameter to specify if you want an inbound rule or an outbound rule.<br /><br />
911+
An inbound rule allows the security group to receive traffic:
912+
* Either from a specific IP range (`IpRange` parameter) on a specific port range (`FromPortRange` and `ToPortRange` parameters) and specific protocol (`IpProtocol` parameter).
913+
* Or from another specific security group (`SecurityGroupAccountIdToLink` and `SecurityGroupNameToLink` parameters).<br />
910914

911-
You can add one or more egress rules to a security group for use with a Net.<br />
912-
It allows VMs to send traffic to either one or more destination IP ranges or destination security groups for the same Net.<br />
913-
We recommend using a set of IP permissions to authorize outbound access to a destination security group. We also recommended this method to create a rule with a specific IP protocol and a specific port range. In a set of IP permissions, we recommend to specify the the protocol.<br /><br />
915+
(Net only) An outbound rule works similarly but allows the security group to send traffic rather than receive traffic.<br />
914916

915-
You can also add one or more ingress rules to a security group.<br />
916-
In the public Cloud, this action allows one or more IP ranges to access a security group for your account, or allows one or more security groups (source groups) to access a security group for your own OUTSCALE account or another one.<br />
917-
In a Net, this action allows one or more IP ranges to access a security group for your Net, or allows one or more other security groups (source groups) to access a security group for your Net. All the security groups must be for the same Net.<br /><br />
917+
Alternatively, you can use the `Rules` parameter to add several rules at the same time.
918918

919919
**[NOTE]**<br />
920-
By default, traffic between two security groups is allowed through both public and private IPs. To restrict it to private IPs only, contact our Support team: [email protected].
920+
* The modifications are effective as quickly as possible, but a small delay may occur.<br />
921+
* By default, traffic between two security groups is allowed through both public and private IPs. To restrict traffic to private IPs only, contact our Support team at [email protected].
921922
post:
922923
operationId: CreateSecurityGroupRule
923924
requestBody:
@@ -4812,8 +4813,9 @@ paths:
48124813
- FlexibleGpu
48134814
/UpdateImage:
48144815
description: |-
4815-
Modifies the specified attribute of an OUTSCALE machine image (OMI).<br />
4816-
You can specify only one attribute at a time. You can modify the permissions to access the OMI by adding or removing account IDs or groups. You can share an OMI with a user that is in the same Region. The user can create a copy of the OMI you shared, obtaining all the rights for the copy of the OMI. For more information, see [CreateImage](#createimage).
4816+
Modifies the access permissions for an OUTSCALE machine image (OMI).<br />
4817+
You must specify either the `Additions` or the `Removals` parameter.<br />
4818+
After sharing an OMI with an account, the other account can create a copy of it that they own. For more information about copying OMIs, see [CreateImage](#createimage).
48174819
post:
48184820
operationId: UpdateImage
48194821
requestBody:
@@ -5073,7 +5075,8 @@ paths:
50735075
/UpdateSnapshot:
50745076
description: |-
50755077
Modifies the permissions for a specified snapshot.<br />
5076-
You can add or remove permissions for specified account IDs or groups. You can share a snapshot with a user that is in the same Region. The user can create a copy of the snapshot you shared, obtaining all the rights for the copy of the snapshot.
5078+
You must specify either the `Additions` or the `Removals` parameter.<br />
5079+
After sharing a snapshot with an account, the other account can create a copy of it that they own. For more information about copying snapshots, see [CreateSnapshot](#createsnapshot).
50775080
post:
50785081
operationId: UpdateSnapshot
50795082
requestBody:
@@ -5188,7 +5191,8 @@ paths:
51885191
- Vm
51895192
/UpdateVolume:
51905193
description: |-
5191-
Modifies the specified attributes of a volume. Cold volumes are volumes that are attached to stopped VMs or that are detached. Hot volumes are volumes that are attached to running VMs.<br /><br />
5194+
Modifies the specified attributes of a volume.<br />
5195+
Cold volumes are volumes that are attached to stopped or stopping VMs, or that are detached. Hot volumes are volumes that are attached to running VMs.<br /><br />
51925196

51935197
**[NOTE]**<br />
51945198
When the modification is not instantaneous, the response displays the previous value. You can use the [ReadVolumes](#readvolumes) method to see the new value.
@@ -7973,16 +7977,16 @@ components:
79737977
$ref: '#/components/schemas/SecurityGroupRule'
79747978
type: array
79757979
SecurityGroupAccountIdToLink:
7976-
description: The account ID of the owner of the security group for which
7977-
you want to create a rule.
7980+
description: The account ID that owns the source or destination security
7981+
group specified in the `SecurityGroupNameToLink` parameter.
79787982
type: string
79797983
SecurityGroupId:
79807984
description: The ID of the security group for which you want to create a
79817985
rule.
79827986
type: string
79837987
SecurityGroupNameToLink:
7984-
description: The ID of the source security group. If you are in the Public
7985-
Cloud, you can also specify the name of the source security group.
7988+
description: The ID of a source or destination security group that you want
7989+
to link to the security group of the rule.
79867990
type: string
79877991
ToPortRange:
79887992
description: The end of the port range for the TCP and UDP protocols, or
@@ -10541,7 +10545,8 @@ components:
1054110545
properties:
1054210546
BgpAsn:
1054310547
description: The BGP (Border Gateway Protocol) ASN (Autonomous System Number)
10544-
on the customer's side of the DirectLink interface.
10548+
on the customer's side of the DirectLink interface. This number must be
10549+
between `64512` and `65534`.
1054510550
type: integer
1054610551
BgpKey:
1054710552
description: The BGP authentication key.
@@ -10616,7 +10621,7 @@ components:
1061610621
type: string
1061710622
Mtu:
1061810623
description: The maximum transmission unit (MTU) of the DirectLink interface,
10619-
in bytes (by default, `1500`).
10624+
in bytes (always `1500`).
1062010625
type: integer
1062110626
OutscalePrivateIp:
1062210627
description: The IP on the OUTSCALE side of the DirectLink interface.
@@ -15011,27 +15016,30 @@ components:
1501115016
type: object
1501215017
PermissionsOnResource:
1501315018
additionalProperties: false
15014-
description: Information about the users who have permissions for the resource.
15019+
description: Permissions for the resource.
1501515020
example:
1501615021
AccountIds:
1501715022
- AccountIds
1501815023
- AccountIds
1501915024
GlobalPermission: true
1502015025
properties:
1502115026
AccountIds:
15022-
description: The account ID of one or more users who have permissions for
15023-
the resource.
15027+
description: One or more account IDs that the permission is associated with.
1502415028
items:
1502515029
type: string
1502615030
type: array
1502715031
GlobalPermission:
15028-
description: If true, the resource is public. If false, the resource is
15029-
private.
15032+
description: |-
15033+
A global permission for all accounts.<br />
15034+
(Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).<br />
15035+
(Response) If true, the resource is public. If false, the resource is private.
1503015036
type: boolean
1503115037
type: object
1503215038
PermissionsOnResourceCreation:
1503315039
additionalProperties: false
15034-
description: Information about the permissions for the resource.
15040+
description: |-
15041+
Information about the permissions for the resource.<br />
15042+
Specify either the `Additions` or the `Removals` parameter.
1503515043
example:
1503615044
Additions:
1503715045
AccountIds:
@@ -19953,7 +19961,8 @@ components:
1995319961
type: string
1995419962
type: array
1995519963
SecurityGroupsMembers:
19956-
description: Information about one or more members of a security group.
19964+
description: Information about one or more source or destination security
19965+
groups.
1995719966
items:
1995819967
$ref: '#/components/schemas/SecurityGroupsMember'
1995919968
type: array
@@ -19970,20 +19979,23 @@ components:
1997019979
type: object
1997119980
SecurityGroupsMember:
1997219981
additionalProperties: false
19973-
description: Information about the member of a security group.
19982+
description: Information about a source or destination security group.
1997419983
example:
1997519984
AccountId: AccountId
1997619985
SecurityGroupName: SecurityGroupName
1997719986
SecurityGroupId: SecurityGroupId
1997819987
properties:
1997919988
AccountId:
19980-
description: The account ID of a user.
19989+
description: The account ID that owns the source or destination security
19990+
group.
1998119991
type: string
1998219992
SecurityGroupId:
19983-
description: The ID of the security group.
19993+
description: The ID of a source or destination security group that you want
19994+
to link to the security group of the rule.
1998419995
type: string
1998519996
SecurityGroupName:
19986-
description: The name of the security group.
19997+
description: (Public Cloud only) The name of a source or destination security
19998+
group that you want to link to the security group of the rule.
1998719999
type: string
1998820000
type: object
1998920001
SendResetPasswordEmailRequest:
@@ -20978,7 +20990,7 @@ components:
2097820990
type: boolean
2097920991
Mtu:
2098020992
description: The maximum transmission unit (MTU) of the DirectLink interface,
20981-
in bytes (either `1500` or `9000`).
20993+
in bytes (always `1500`).
2098220994
enum:
2098320995
- 1500
2098420996
- 9000
@@ -21934,8 +21946,8 @@ components:
2193421946
type: boolean
2193521947
KeypairName:
2193621948
description: |-
21937-
The name of the keypair.<br />
21938-
To complete the replacement, manually replace the old public key with the new public key in the ~/.ssh/authorized_keys file located in the VM. Restart the VM to apply the change.
21949+
The name of a keypair you want to associate with the VM.<br />
21950+
When you replace the keypair of a VM with another one, the metadata of the VM is modified to reflect the new public key, but the replacement is still not effective in the operating system of the VM. To complete the replacement and effectively apply the new keypair, you need to perform other actions inside the VM. For more information, see [Modifying the Keypair of an Instance](https://docs.outscale.com/en/userguide/Modifying-the-Keypair-of-an-Instance.html).
2193921951
type: string
2194021952
NestedVirtualization:
2194121953
description: (dedicated tenancy only) If true, nested virtualization is

osc/api_access_key.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Welcome to the OUTSCALE API documentation.<br /> The OUTSCALE API enables you to manage your resources in the OUTSCALE Cloud. This documentation describes the different actions available along with code examples.<br /><br /> You can learn more about errors returned by the API in the dedicated [errors page](api/errors).<br /><br /> Note that the OUTSCALE Cloud is compatible with Amazon Web Services (AWS) APIs, but there are [differences in resource names](https://docs.outscale.com/en/userguide/OUTSCALE-APIs-Reference.html) between AWS and the OUTSCALE API.<br /> You can also manage your resources using the [Cockpit](https://docs.outscale.com/en/userguide/About-Cockpit.html) web interface.<br /><br /> An OpenAPI description of the OUTSCALE API is also available in this [GitHub repository](https://github.com/outscale/osc-api).
55
*
6-
* API version: 1.24
6+
* API version: 1.25
77
* Contact: [email protected]
88
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
99
*/

osc/api_account.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Welcome to the OUTSCALE API documentation.<br /> The OUTSCALE API enables you to manage your resources in the OUTSCALE Cloud. This documentation describes the different actions available along with code examples.<br /><br /> You can learn more about errors returned by the API in the dedicated [errors page](api/errors).<br /><br /> Note that the OUTSCALE Cloud is compatible with Amazon Web Services (AWS) APIs, but there are [differences in resource names](https://docs.outscale.com/en/userguide/OUTSCALE-APIs-Reference.html) between AWS and the OUTSCALE API.<br /> You can also manage your resources using the [Cockpit](https://docs.outscale.com/en/userguide/About-Cockpit.html) web interface.<br /><br /> An OpenAPI description of the OUTSCALE API is also available in this [GitHub repository](https://github.com/outscale/osc-api).
55
*
6-
* API version: 1.24
6+
* API version: 1.25
77
* Contact: [email protected]
88
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
99
*/

osc/api_api_access_policy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Welcome to the OUTSCALE API documentation.<br /> The OUTSCALE API enables you to manage your resources in the OUTSCALE Cloud. This documentation describes the different actions available along with code examples.<br /><br /> You can learn more about errors returned by the API in the dedicated [errors page](api/errors).<br /><br /> Note that the OUTSCALE Cloud is compatible with Amazon Web Services (AWS) APIs, but there are [differences in resource names](https://docs.outscale.com/en/userguide/OUTSCALE-APIs-Reference.html) between AWS and the OUTSCALE API.<br /> You can also manage your resources using the [Cockpit](https://docs.outscale.com/en/userguide/About-Cockpit.html) web interface.<br /><br /> An OpenAPI description of the OUTSCALE API is also available in this [GitHub repository](https://github.com/outscale/osc-api).
55
*
6-
* API version: 1.24
6+
* API version: 1.25
77
* Contact: [email protected]
88
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
99
*/

osc/api_api_access_rule.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Welcome to the OUTSCALE API documentation.<br /> The OUTSCALE API enables you to manage your resources in the OUTSCALE Cloud. This documentation describes the different actions available along with code examples.<br /><br /> You can learn more about errors returned by the API in the dedicated [errors page](api/errors).<br /><br /> Note that the OUTSCALE Cloud is compatible with Amazon Web Services (AWS) APIs, but there are [differences in resource names](https://docs.outscale.com/en/userguide/OUTSCALE-APIs-Reference.html) between AWS and the OUTSCALE API.<br /> You can also manage your resources using the [Cockpit](https://docs.outscale.com/en/userguide/About-Cockpit.html) web interface.<br /><br /> An OpenAPI description of the OUTSCALE API is also available in this [GitHub repository](https://github.com/outscale/osc-api).
55
*
6-
* API version: 1.24
6+
* API version: 1.25
77
* Contact: [email protected]
88
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
99
*/

osc/api_api_log.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Welcome to the OUTSCALE API documentation.<br /> The OUTSCALE API enables you to manage your resources in the OUTSCALE Cloud. This documentation describes the different actions available along with code examples.<br /><br /> You can learn more about errors returned by the API in the dedicated [errors page](api/errors).<br /><br /> Note that the OUTSCALE Cloud is compatible with Amazon Web Services (AWS) APIs, but there are [differences in resource names](https://docs.outscale.com/en/userguide/OUTSCALE-APIs-Reference.html) between AWS and the OUTSCALE API.<br /> You can also manage your resources using the [Cockpit](https://docs.outscale.com/en/userguide/About-Cockpit.html) web interface.<br /><br /> An OpenAPI description of the OUTSCALE API is also available in this [GitHub repository](https://github.com/outscale/osc-api).
55
*
6-
* API version: 1.24
6+
* API version: 1.25
77
* Contact: [email protected]
88
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
99
*/

osc/api_ca.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Welcome to the OUTSCALE API documentation.<br /> The OUTSCALE API enables you to manage your resources in the OUTSCALE Cloud. This documentation describes the different actions available along with code examples.<br /><br /> You can learn more about errors returned by the API in the dedicated [errors page](api/errors).<br /><br /> Note that the OUTSCALE Cloud is compatible with Amazon Web Services (AWS) APIs, but there are [differences in resource names](https://docs.outscale.com/en/userguide/OUTSCALE-APIs-Reference.html) between AWS and the OUTSCALE API.<br /> You can also manage your resources using the [Cockpit](https://docs.outscale.com/en/userguide/About-Cockpit.html) web interface.<br /><br /> An OpenAPI description of the OUTSCALE API is also available in this [GitHub repository](https://github.com/outscale/osc-api).
55
*
6-
* API version: 1.24
6+
* API version: 1.25
77
* Contact: [email protected]
88
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
99
*/

osc/api_catalog.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Welcome to the OUTSCALE API documentation.<br /> The OUTSCALE API enables you to manage your resources in the OUTSCALE Cloud. This documentation describes the different actions available along with code examples.<br /><br /> You can learn more about errors returned by the API in the dedicated [errors page](api/errors).<br /><br /> Note that the OUTSCALE Cloud is compatible with Amazon Web Services (AWS) APIs, but there are [differences in resource names](https://docs.outscale.com/en/userguide/OUTSCALE-APIs-Reference.html) between AWS and the OUTSCALE API.<br /> You can also manage your resources using the [Cockpit](https://docs.outscale.com/en/userguide/About-Cockpit.html) web interface.<br /><br /> An OpenAPI description of the OUTSCALE API is also available in this [GitHub repository](https://github.com/outscale/osc-api).
55
*
6-
* API version: 1.24
6+
* API version: 1.25
77
* Contact: [email protected]
88
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
99
*/

0 commit comments

Comments
 (0)