Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK v1.22.0 #909

Merged
merged 1 commit into from
Mar 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion api_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.24.0
1.25.0
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.22.0

- SDK update for Outscale API v1.25.0

# 1.21.0

- SDK update for Outscale API v1.24.0
Expand Down
4 changes: 2 additions & 2 deletions osc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ An OpenAPI description of the OUTSCALE API is also available in this [GitHub rep
## Overview
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.

- API version: 1.24
- Package version: 1.21.0
- API version: 1.25
- Package version: 1.22.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation
Expand Down
80 changes: 46 additions & 34 deletions osc/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ info:
url: https://opensource.org/licenses/BSD-3-Clause
termsOfService: https://en.outscale.com/terms-of-service/
title: 3DS OUTSCALE API
version: "1.24"
version: "1.25"
servers:
- url: https://api.{region}.outscale.com/api/v1
variables:
Expand Down Expand Up @@ -905,19 +905,20 @@ paths:
- SecurityGroup
/CreateSecurityGroupRule:
description: |-
Configures the rules for a security group.<br />
The modifications are effective at virtual machine (VM) level as quickly as possible, but a small delay may occur.<br /><br />
Adds one or more rules to a security group.<br />
Use the `SecurityGroupId` parameter to specify the security group for which you want to create a rule.<br />
Use the `Flow` parameter to specify if you want an inbound rule or an outbound rule.<br /><br />
An inbound rule allows the security group to receive traffic:
* Either from a specific IP range (`IpRange` parameter) on a specific port range (`FromPortRange` and `ToPortRange` parameters) and specific protocol (`IpProtocol` parameter).
* Or from another specific security group (`SecurityGroupAccountIdToLink` and `SecurityGroupNameToLink` parameters).<br />

You can add one or more egress rules to a security group for use with a Net.<br />
It allows VMs to send traffic to either one or more destination IP ranges or destination security groups for the same Net.<br />
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 />
(Net only) An outbound rule works similarly but allows the security group to send traffic rather than receive traffic.<br />

You can also add one or more ingress rules to a security group.<br />
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 />
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 />
Alternatively, you can use the `Rules` parameter to add several rules at the same time.

**[NOTE]**<br />
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].
* The modifications are effective as quickly as possible, but a small delay may occur.<br />
* 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].
post:
operationId: CreateSecurityGroupRule
requestBody:
Expand Down Expand Up @@ -4812,8 +4813,9 @@ paths:
- FlexibleGpu
/UpdateImage:
description: |-
Modifies the specified attribute of an OUTSCALE machine image (OMI).<br />
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).
Modifies the access permissions for an OUTSCALE machine image (OMI).<br />
You must specify either the `Additions` or the `Removals` parameter.<br />
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).
post:
operationId: UpdateImage
requestBody:
Expand Down Expand Up @@ -5073,7 +5075,8 @@ paths:
/UpdateSnapshot:
description: |-
Modifies the permissions for a specified snapshot.<br />
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.
You must specify either the `Additions` or the `Removals` parameter.<br />
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).
post:
operationId: UpdateSnapshot
requestBody:
Expand Down Expand Up @@ -5188,7 +5191,8 @@ paths:
- Vm
/UpdateVolume:
description: |-
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 />
Modifies the specified attributes of a volume.<br />
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 />

**[NOTE]**<br />
When the modification is not instantaneous, the response displays the previous value. You can use the [ReadVolumes](#readvolumes) method to see the new value.
Expand Down Expand Up @@ -7973,16 +7977,16 @@ components:
$ref: '#/components/schemas/SecurityGroupRule'
type: array
SecurityGroupAccountIdToLink:
description: The account ID of the owner of the security group for which
you want to create a rule.
description: The account ID that owns the source or destination security
group specified in the `SecurityGroupNameToLink` parameter.
type: string
SecurityGroupId:
description: The ID of the security group for which you want to create a
rule.
type: string
SecurityGroupNameToLink:
description: The ID of the source security group. If you are in the Public
Cloud, you can also specify the name of the source security group.
description: The ID of a source or destination security group that you want
to link to the security group of the rule.
type: string
ToPortRange:
description: The end of the port range for the TCP and UDP protocols, or
Expand Down Expand Up @@ -10541,7 +10545,8 @@ components:
properties:
BgpAsn:
description: The BGP (Border Gateway Protocol) ASN (Autonomous System Number)
on the customer's side of the DirectLink interface.
on the customer's side of the DirectLink interface. This number must be
between `64512` and `65534`.
type: integer
BgpKey:
description: The BGP authentication key.
Expand Down Expand Up @@ -10616,7 +10621,7 @@ components:
type: string
Mtu:
description: The maximum transmission unit (MTU) of the DirectLink interface,
in bytes (by default, `1500`).
in bytes (always `1500`).
type: integer
OutscalePrivateIp:
description: The IP on the OUTSCALE side of the DirectLink interface.
Expand Down Expand Up @@ -15011,27 +15016,30 @@ components:
type: object
PermissionsOnResource:
additionalProperties: false
description: Information about the users who have permissions for the resource.
description: Permissions for the resource.
example:
AccountIds:
- AccountIds
- AccountIds
GlobalPermission: true
properties:
AccountIds:
description: The account ID of one or more users who have permissions for
the resource.
description: One or more account IDs that the permission is associated with.
items:
type: string
type: array
GlobalPermission:
description: If true, the resource is public. If false, the resource is
private.
description: |-
A global permission for all accounts.<br />
(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 />
(Response) If true, the resource is public. If false, the resource is private.
type: boolean
type: object
PermissionsOnResourceCreation:
additionalProperties: false
description: Information about the permissions for the resource.
description: |-
Information about the permissions for the resource.<br />
Specify either the `Additions` or the `Removals` parameter.
example:
Additions:
AccountIds:
Expand Down Expand Up @@ -19953,7 +19961,8 @@ components:
type: string
type: array
SecurityGroupsMembers:
description: Information about one or more members of a security group.
description: Information about one or more source or destination security
groups.
items:
$ref: '#/components/schemas/SecurityGroupsMember'
type: array
Expand All @@ -19970,20 +19979,23 @@ components:
type: object
SecurityGroupsMember:
additionalProperties: false
description: Information about the member of a security group.
description: Information about a source or destination security group.
example:
AccountId: AccountId
SecurityGroupName: SecurityGroupName
SecurityGroupId: SecurityGroupId
properties:
AccountId:
description: The account ID of a user.
description: The account ID that owns the source or destination security
group.
type: string
SecurityGroupId:
description: The ID of the security group.
description: The ID of a source or destination security group that you want
to link to the security group of the rule.
type: string
SecurityGroupName:
description: The name of the security group.
description: (Public Cloud only) The name of a source or destination security
group that you want to link to the security group of the rule.
type: string
type: object
SendResetPasswordEmailRequest:
Expand Down Expand Up @@ -20978,7 +20990,7 @@ components:
type: boolean
Mtu:
description: The maximum transmission unit (MTU) of the DirectLink interface,
in bytes (either `1500` or `9000`).
in bytes (always `1500`).
enum:
- 1500
- 9000
Expand Down Expand Up @@ -21934,8 +21946,8 @@ components:
type: boolean
KeypairName:
description: |-
The name of the keypair.<br />
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.
The name of a keypair you want to associate with the VM.<br />
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).
type: string
NestedVirtualization:
description: (dedicated tenancy only) If true, nested virtualization is
Expand Down
2 changes: 1 addition & 1 deletion osc/api_access_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* 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).
*
* API version: 1.24
* API version: 1.25
* Contact: [email protected]
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
Expand Down
2 changes: 1 addition & 1 deletion osc/api_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* 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).
*
* API version: 1.24
* API version: 1.25
* Contact: [email protected]
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
Expand Down
2 changes: 1 addition & 1 deletion osc/api_api_access_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* 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).
*
* API version: 1.24
* API version: 1.25
* Contact: [email protected]
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
Expand Down
2 changes: 1 addition & 1 deletion osc/api_api_access_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* 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).
*
* API version: 1.24
* API version: 1.25
* Contact: [email protected]
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
Expand Down
2 changes: 1 addition & 1 deletion osc/api_api_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* 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).
*
* API version: 1.24
* API version: 1.25
* Contact: [email protected]
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
Expand Down
2 changes: 1 addition & 1 deletion osc/api_ca.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* 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).
*
* API version: 1.24
* API version: 1.25
* Contact: [email protected]
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
Expand Down
2 changes: 1 addition & 1 deletion osc/api_catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* 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).
*
* API version: 1.24
* API version: 1.25
* Contact: [email protected]
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
Expand Down
Loading