diff --git a/main.c b/main.c index c6fe2ce..428c057 100644 --- a/main.c +++ b/main.c @@ -47,7 +47,7 @@ #define OAPI_RAW_OUTPUT 1 -#define OAPI_CLI_VERSION "0.4.0" +#define OAPI_CLI_VERSION "0.5.0" #define OAPI_CLI_UAGENT "oapi-cli/"OAPI_CLI_VERSION"; osc-sdk-c/" diff --git a/osc-sdk-C b/osc-sdk-C index c464c55..85c8d94 160000 --- a/osc-sdk-C +++ b/osc-sdk-C @@ -1 +1 @@ -Subproject commit c464c554958555c67a3bb6c7ca71af7272f2a131 +Subproject commit 85c8d94391e10271ebc3489e4bd322fa588112df diff --git a/osc_sdk.c b/osc_sdk.c index cfc0930..5ae45ca 100644 --- a/osc_sdk.c +++ b/osc_sdk.c @@ -670,9 +670,9 @@ static const char *calls_descriptions[] = { , "Usage: oapi-cli CreateSubnet --IpRange=iprange --NetId=netid [OPTIONS]\n" "Creates a Subnet in an existing Net.\nTo create a Subnet in a Net, you have to \n" "provide the ID of the Net and the IP range for the Subnet (its network range). \n" "Once the Subnet is created, you cannot modify its IP range.\nFor more \n" "information, see [About \n" "Nets](https://docs.outscale.com/en/userguide/About-Nets.html).\n" "\nRequired Argument: IpRange, NetId \n" , - "Usage: oapi-cli CreateSnapshotExportTask --OsuExport=osuexport --SnapshotId=snapshotid [OPTIONS]\n" "Exports a snapshot to an OUTSCALE Object Storage (OOS) bucket.\nThis action \n" "enables you to create a backup of your snapshot or to copy it to another \n" "account. You, or other accounts you send a pre-signed URL to, can then download \n" "this snapshot from the bucket using the [CreateSnapshot](#createsnapshot) \n" "method.\nThis procedure enables you to copy a snapshot between accounts within \n" "the same Region or in different Regions. To copy a snapshot within the same \n" "Region, you can also use the [CreateSnapshot](#createsnapshot) direct method. \n" "The copy of the source snapshot is independent and belongs to you.\nFor more \n" "information, see [About \n" "Snapshots](https://docs.outscale.com/en/userguide/About-Snapshots.html).\n" "\nRequired Argument: OsuExport, SnapshotId \n" + "Usage: oapi-cli CreateSnapshotExportTask --OsuExport=osuexport --SnapshotId=snapshotid [OPTIONS]\n" "Exports a snapshot to an OUTSCALE Object Storage (OOS) bucket that belongs to \n" "you. This action enables you to create a backup of your snapshot.\nYou can \n" "share this snapshot with others accounts by granting permission to read it via \n" "pre-signed URLs or Access Control Lists (ACLs). For more information, see \n" "[Managing Access to Your Buckets and \n" "Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-\n" "and-Objects.html).\nFor more information, see [About \n" "Snapshots](https://docs.outscale.com/en/userguide/About-Snapshots.html).\n" "\nRequired Argument: OsuExport, SnapshotId \n" , - "Usage: oapi-cli CreateSnapshot [OPTIONS]\n" "Creates a snapshot. Snapshots are point-in-time images of a volume that you can \n" "use to back up your data or to create replicas of this volume.\nYou can use \n" "this method in three different ways:\n* **Creating from a volume**: You create \n" "a snapshot from one of your volumes.\n* **Copying a snapshot**: You copy an \n" "existing snapshot. The source snapshot can be one of your own snapshots, or a \n" "snapshot owned by another account that has granted you permission via the \n" "[UpdateSnapshot](#updatesnapshot) method.\n* **Importing from a bucket**: You \n" "import a snapshot located in an OUTSCALE Object Storage (OOS) bucket. First, \n" "the owner of the source snapshot must export it to the bucket by using the \n" "[CreateSnapshotExportTask](#createsnapshotexporttask) method. Then, they must \n" "grant you permission to read the snapshot via a pre-signed URL or Access \n" "Control Lists. For more information, see [Managing Access to Your Buckets and \n" "Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-\n" "and-Objects.html).\n\n**[NOTE]**\nIn case of excessive use of the snapshot \n" "creation feature on the same volume over a short period of time, 3DS OUTSCALE \n" "reserves the right to temporarily block the feature.\n\nFor more information, \n" "see [About \n" "Snapshots](https://docs.outscale.com/en/userguide/About-Snapshots.html).\n" "\nRequired Argument: \n" + "Usage: oapi-cli CreateSnapshot [OPTIONS]\n" "Creates a snapshot. Snapshots are point-in-time images of a volume that you can \n" "use to back up your data or to create replicas of this volume.\nYou can use \n" "this method in three different ways:\n* **Creating from a volume**: You create \n" "a snapshot from one of your volumes.\n* **Copying a snapshot**: You copy an \n" "existing snapshot. The source snapshot can be one of your own snapshots, or a \n" "snapshot owned by another account that has granted you permission via the \n" "[UpdateSnapshot](#updatesnapshot) method.\n* **Importing from a bucket**: You \n" "import a snapshot located in an OUTSCALE Object Storage (OOS) bucket. First, \n" "the owner of the source snapshot must export it to a bucket by using the \n" "[CreateSnapshotExportTask](#createsnapshotexporttask) method. Then, they must \n" "grant you permission to read the snapshot via a pre-signed URL or Access \n" "Control Lists. For more information, see [Managing Access to Your Buckets and \n" "Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-\n" "and-Objects.html).\n\n**[NOTE]**\nIn case of excessive use of the snapshot \n" "creation feature on the same volume over a short period of time, 3DS OUTSCALE \n" "reserves the right to temporarily block the feature.\n\nFor more information, \n" "see [About \n" "Snapshots](https://docs.outscale.com/en/userguide/About-Snapshots.html).\n" "\nRequired Argument: \n" , "Usage: oapi-cli CreateServerCertificate --Body=body --PrivateKey=privatekey --Name=name [OPTIONS]\n" "Creates a server certificate and its matching private key.\nThese elements can \n" "be used with other services (for example, to configure SSL termination on load \n" "balancers).\nYou can also specify the chain of intermediate certification \n" "authorities if your certificate is not directly signed by a root one. You can \n" "specify multiple intermediate certification authorities in the \n" "`CertificateChain` parameter. To do so, concatenate all certificates in the \n" "correct order (the first certificate must be the authority of your certificate, \n" "the second must be the authority of the first one, and so on).\nThe private key \n" "must be a RSA key in PKCS1 form. To check this, open the PEM file and ensure \n" "its header reads as follows: BEGIN RSA PRIVATE KEY.\n[IMPORTANT]\nThis private \n" "key must not be protected by a password or a passphrase.\nFor more information, \n" "see [About Server Certificates in \n" "EIM](https://docs.outscale.com/en/userguide/About-Server-Certificates-in-EIM.htm\n" "l).\n" "\nRequired Argument: Body, PrivateKey, Name \n" , @@ -696,7 +696,7 @@ static const char *calls_descriptions[] = { , "Usage: oapi-cli CreateNetPeering --AccepterNetId=accepternetid --SourceNetId=sourcenetid [OPTIONS]\n" "Requests a Net peering between a Net you own and a peer Net that belongs to you \n" "or another account.\nThis action creates a Net peering that remains in the \n" "`pending-acceptance` state until it is accepted by the owner of the peer Net. \n" "If the owner of the peer Net does not accept the request within 7 days, the \n" "state of the Net peering becomes `expired`. For more information, see \n" "[AcceptNetPeering](#acceptnetpeering).\n\n**[IMPORTANT]**\n* Peered Nets must \n" "contain at least one virtual machine (VM) each before the creation of the Net \n" "peering.\n* The two Nets must not have overlapping IP ranges. Otherwise, the \n" "Net peering is in the `failed` state.\n* A peering connection between two Nets \n" "works both ways. Therefore, you do not need to create a B-to-A connection if an \n" "A-to-B connection is created and accepted.\n\nFor more information, see [About \n" "Net Peerings](https://docs.outscale.com/en/userguide/About-Net-Peerings.html).\n" "\nRequired Argument: AccepterNetId, SourceNetId \n" , - "Usage: oapi-cli CreateNetAccessPoint --ServiceName=servicename --NetId=netid [OPTIONS]\n" "Creates a Net access point to access an OUTSCALE service from this Net without \n" "using the Internet and public IPs.\nYou specify the service using its name. For \n" "more information about the available services, see \n" "[ReadNetAccessPointServices](#readnetaccesspointservices).\nTo control the \n" "routing of traffic between the Net and the specified service, you can specify \n" "one or more route tables. Virtual machines placed in Subnets associated with \n" "the specified route table thus use the Net access point to access the service. \n" "When you specify a route table, a route is automatically added to it with the \n" "destination set to the prefix list ID of the service, and the target set to the \n" "ID of the access point.\nFor more information, see [About Net Access \n" "Points](https://docs.outscale.com/en/userguide/About-Net-Access-Points.html).\n" "\nRequired Argument: ServiceName, NetId \n" + "Usage: oapi-cli CreateNetAccessPoint --ServiceName=servicename --NetId=netid [OPTIONS]\n" "Creates a Net access point to access an OUTSCALE service from this Net without \n" "using the Internet and public IPs.\nYou specify the service using its name. For \n" "more information about the available services, see \n" "[ReadNetAccessPointServices](#readnetaccesspointservices). \nTo control the \n" "routing of traffic between the Net and the specified service, you can specify \n" "one or more route tables. Virtual machines placed in Subnets associated with \n" "the specified route table thus use the Net access point to access the service. \n" "When you specify a route table, a route is automatically added to it with the \n" "destination set to the prefix list ID of the service, and the target set to the \n" "ID of the access point.\nWhen a Net access point is created, a public IP is \n" "automatically allocated to your account and used for the Net access point. This \n" "public IP is not connected to the Internet. It is counted in your quota, but it \n" "is not billed. \nFor more information, see [About Net Access \n" "Points](https://docs.outscale.com/en/userguide/About-Net-Access-Points.html).\n" "\nRequired Argument: ServiceName, NetId \n" , "Usage: oapi-cli CreateNet --IpRange=iprange [OPTIONS]\n" "Creates a Net with a specified IP range.\nThe IP range (network range) of your \n" "Net must be between a /28 netmask (16 IPs) and a /16 netmask (65536 IPs).\nFor \n" "more information, see [About \n" "Nets](https://docs.outscale.com/en/userguide/About-Nets.html).\n" "\nRequired Argument: IpRange \n" , @@ -888,8 +888,7 @@ static const char *calls_args_descriptions[] = { "--DryRun: bool\n" " If true, checks whether you have the required permissions to perform the action.\n" "--IsSourceDestChecked: bool\n" - " (Net only) If true, the source/destination check is enabled. If false, it is disabled. This \n" - " value must be false for a NAT VM to perform network address translation (NAT) in a Net.\n" + " (Net only) If true, the source/destination check is enabled. If false, it is disabled.\n" "--KeypairName: string\n" " The name of a keypair you want to associate with the VM.\nWhen you replace the keypair of a \n" " VM with another one, the metadata of the VM is modified to reflect the new public key, but \n" @@ -1410,7 +1409,7 @@ static const char *calls_args_descriptions[] = { " --Filters.ClientGatewayIds: array string\n" " The IDs of the client gateways.\n" " --Filters.ConnectionTypes: array string\n" - " The types of the VPN connections (only `ipsec.1` is supported).\n" + " The types of the VPN connections (always `ipsec.1`).\n" " --Filters.RouteDestinationIpRanges: array string\n" " The destination IP ranges.\n" " --Filters.States: array string\n" @@ -1445,15 +1444,15 @@ static const char *calls_args_descriptions[] = { "--Filters: ref FiltersVolume\n" " One or more filters.\n" " --Filters.CreationDates: array string\n" - " The dates and times of creation of the volumes, in ISO 8601 date-time \n" - " format (for example, `2020-06-30T00:00:00.000Z`).\n" + " The dates and times at which the volumes were created, in ISO 8601 \n" + " date-time format (for example, `2020-06-30T00:00:00.000Z`).\n" " --Filters.LinkVolumeDeleteOnVmDeletion: bool\n" " Whether the volumes are deleted or not when terminating the VMs.\n" " --Filters.LinkVolumeDeviceNames: array string\n" " The VM device names.\n" " --Filters.LinkVolumeLinkDates: array string\n" - " The dates and times of creation of the volumes, in ISO 8601 date-time \n" - " format (for example, `2020-06-30T00:00:00.000Z`).\n" + " The dates and times at which the volumes were attached, in ISO 8601 \n" + " date-time format (for example, `2020-06-30T00:00:00.000Z`).\n" " --Filters.LinkVolumeLinkStates: array string\n" " The attachment states of the volumes (`attaching` \\| `detaching` \\| \n" " `attached` \\| `detached`).\n" @@ -1714,7 +1713,7 @@ static const char *calls_args_descriptions[] = { "--DryRun: bool\n" " If true, checks whether you have the required permissions to perform the action.\n" "--Filters: ref FiltersVmTemplate\n" - " null\n" + " One or more filters.\n" " --Filters.CpuCores: array integer\n" " The number of vCores.\n" " --Filters.CpuGenerations: array string\n" @@ -1774,7 +1773,7 @@ static const char *calls_args_descriptions[] = { "--Filters: ref FiltersVirtualGateway\n" " One or more filters.\n" " --Filters.ConnectionTypes: array string\n" - " The types of the virtual gateways (only `ipsec.1` is supported).\n" + " The types of the virtual gateways (always `ipsec.1`).\n" " --Filters.LinkNetIds: array string\n" " The IDs of the Nets the virtual gateways are attached to.\n" " --Filters.LinkStates: array string\n" @@ -2736,8 +2735,8 @@ static const char *calls_args_descriptions[] = { " --Filters.ClientGatewayIds: array string\n" " The IDs of the client gateways.\n" " --Filters.ConnectionTypes: array string\n" - " The types of communication tunnels used by the client gateways (only \n" - " `ipsec.1` is supported).\n" + " The types of communication tunnels used by the client gateways (always \n" + " `ipsec.1`).\n" " --Filters.PublicIps: array string\n" " The public IPv4 addresses of the client gateways.\n" " --Filters.States: array string\n" @@ -2905,7 +2904,8 @@ static const char *calls_args_descriptions[] = { "--PolicyDocument: string\n" " The policy document, corresponding to a JSON string that contains the policy. For more \n" " information, see [EIM Reference \n" - " Information](https://docs.outscale.com/en/userguide/EIM-Reference-Information.html).\n" + " Information](https://docs.outscale.com/en/userguide/EIM-Reference-Information.html) and \n" + " [EIM Policy Generator](https://docs.outscale.com/en/userguide/EIM-Policy-Generator.html).\n" "--PolicyName: string\n" " The name of the policy.\n" "--UserGroupName: string\n" @@ -3353,7 +3353,7 @@ static const char *calls_args_descriptions[] = { "--ClientGatewayId: string\n" " The ID of the client gateway.\n" "--ConnectionType: string\n" - " The type of VPN connection (only `ipsec.1` is supported).\n" + " The type of VPN connection (always `ipsec.1`).\n" "--DryRun: bool\n" " If true, checks whether you have the required permissions to perform the action.\n" "--StaticRoutesOnly: bool\n" @@ -3575,7 +3575,7 @@ static const char *calls_args_descriptions[] = { " The ID of the VM template used to launch VMs in the VM group.\n" , "--ConnectionType: string\n" - " The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported).\n" + " The type of VPN connection supported by the virtual gateway (always `ipsec.1`).\n" "--DryRun: bool\n" " If true, checks whether you have the required permissions to perform the action.\n" , @@ -3796,7 +3796,8 @@ static const char *calls_args_descriptions[] = { "--Document: string\n" " The policy document, corresponding to a JSON string that contains the policy. For more \n" " information, see [EIM Reference \n" - " Information](https://docs.outscale.com/en/userguide/EIM-Reference-Information.html).\n" + " Information](https://docs.outscale.com/en/userguide/EIM-Reference-Information.html) and \n" + " [EIM Policy Generator](https://docs.outscale.com/en/userguide/EIM-Policy-Generator.html).\n" "--PolicyOrn: string\n" " The OUTSCALE Resource Name (ORN) of the policy. For more information, see [Resource \n" " Identifiers](https://docs.outscale.com/en/userguide/Resource-Identifiers.html).\n" @@ -3809,7 +3810,8 @@ static const char *calls_args_descriptions[] = { "--Document: string\n" " The policy document, corresponding to a JSON string that contains the policy. For more \n" " information, see [EIM Reference \n" - " Information](https://docs.outscale.com/en/userguide/EIM-Reference-Information.html).\n" + " Information](https://docs.outscale.com/en/userguide/EIM-Reference-Information.html) and \n" + " [EIM Policy Generator](https://docs.outscale.com/en/userguide/EIM-Policy-Generator.html).\n" "--DryRun: bool\n" " If true, checks whether you have the required permissions to perform the action.\n" "--Path: string\n" @@ -3895,7 +3897,7 @@ static const char *calls_args_descriptions[] = { "--LoadBalancerName: string\n" " The name of the load balancer for which you want to create a policy.\n" "--PolicyName: string\n" - " The name of the policy. This name must be unique and consist of alphanumeric characters and \n" + " The unique name of the policy, with a maximum length of 32 alphanumeric characters and \n" " dashes (-).\n" "--PolicyType: string\n" " The type of stickiness policy you want to create: `app` or `load_balancer`.\n" @@ -3946,8 +3948,8 @@ static const char *calls_args_descriptions[] = { " (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_\n" " outscale_resource_names_orns).\n" "--LoadBalancerName: string\n" - " The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but \n" - " cannot start or end with a hyphen).\n" + " The unique name of the load balancer, with a maximum length of 32 alphanumeric characters \n" + " and dashes (-). This name must not start or end with a dash.\n" "--LoadBalancerType: string\n" " The type of load balancer: `internet-facing` or `internal`. Use this parameter only for \n" " load balancers in a Net.\n" @@ -4187,8 +4189,8 @@ static const char *calls_args_descriptions[] = { " and `4294967295`. If you do not have an ASN, you can choose one between 64512 and 65534, or \n" " between 4200000000 and 4294967294.\n" "--ConnectionType: string\n" - " The communication protocol used to establish tunnel with your client gateway (only \n" - " `ipsec.1` is supported).\n" + " The communication protocol used to establish tunnel with your client gateway (always \n" + " `ipsec.1`).\n" "--DryRun: bool\n" " If true, checks whether you have the required permissions to perform the action.\n" "--PublicIp: string\n" diff --git a/osc_sdk.h b/osc_sdk.h index 19da5dd..e9d09ce 100644 --- a/osc_sdk.h +++ b/osc_sdk.h @@ -77,8 +77,8 @@ struct osc_str { #define OSC_ENV_FREE_AK_SK (OSC_ENV_FREE_AK | OSC_ENV_FREE_SK) -#define OSC_API_VERSION "1.29.3" -#define OSC_SDK_VERSION 0X001000 +#define OSC_API_VERSION "1.30.0" +#define OSC_SDK_VERSION 0X001100 enum osc_auth_method { OSC_AKSK_METHOD, @@ -149,15 +149,15 @@ struct access_key { */ char *access_key_id; /* - * The date and time (UTC) of creation of the access key. + * The date and time (UTC) at which the access key was created. */ char *creation_date; /* - * The date (UTC) at which the access key expires. + * The date and time (UTC) at which the access key expires. */ char *expiration_date; /* - * The date and time (UTC) of the last modification of the access key. + * The date and time (UTC) at which the access key was last modified. */ char *last_modification_date; /* @@ -173,7 +173,7 @@ struct access_key_secret_key { */ char *access_key_id; /* - * The date and time (UTC) of creation of the access key. + * The date and time (UTC) at which the access key was created. */ char *creation_date; /* @@ -181,11 +181,11 @@ struct access_key_secret_key { */ char *expiration_date; /* - * The date and time (UTC) of the last modification of the access key. + * The date and time (UTC) at which the access key was last modified. */ char *last_modification_date; /* - * The access key that enables you to send requests. + * The secret key that enables you to send requests. */ char *secret_key; /* @@ -380,8 +380,8 @@ struct bsu_created { int is_set_delete_on_vm_deletion; int delete_on_vm_deletion; /* - * The date and time (UTC) of attachment of the volume to the VM, in ISO - * 8601 date-time format. + * The date and time (UTC) at which the volume was attached to the VM, + * in ISO 8601 date-time format. */ char *link_date; /* @@ -402,9 +402,9 @@ struct block_device_mapping_created { * the * volume is not deleted when terminating the VM. * --Bsu.LinkDate: string - * The date and time (UTC) of attachment of the volume to the VM, in - * ISO - * 8601 date-time format. + * The date and time (UTC) at which the volume was attached to the + * VM, in + * ISO 8601 date-time format. * --Bsu.State: string * The state of the volume. * --Bsu.VolumeId: string @@ -756,8 +756,8 @@ struct client_gateway { */ char *client_gateway_id; /* - * The type of communication tunnel used by the client gateway (only - * `ipsec.1` is supported). + * The type of communication tunnel used by the client gateway (always + * `ipsec.1`). */ char *connection_type; /* @@ -1225,8 +1225,8 @@ struct filters_client_gateway { char *client_gateway_ids_str; char **client_gateway_ids; /* - * The types of communication tunnels used by the client gateways (only - * `ipsec.1` is supported). + * The types of communication tunnels used by the client gateways + * (always `ipsec.1`). */ char *connection_types_str; char **connection_types; @@ -2490,7 +2490,7 @@ struct filters_user_group { struct filters_virtual_gateway { /* - * The types of the virtual gateways (only `ipsec.1` is supported). + * The types of the virtual gateways (always `ipsec.1`). */ char *connection_types_str; char **connection_types; @@ -3093,8 +3093,8 @@ struct filters_vms_state { struct filters_volume { /* - * The dates and times of creation of the volumes, in ISO 8601 date-time - * format (for example, `2020-06-30T00:00:00.000Z`). + * The dates and times at which the volumes were created, in ISO 8601 + * date-time format (for example, `2020-06-30T00:00:00.000Z`). */ char *creation_dates_str; char **creation_dates; @@ -3109,8 +3109,8 @@ struct filters_volume { char *link_volume_device_names_str; char **link_volume_device_names; /* - * The dates and times of creation of the volumes, in ISO 8601 date-time - * format (for example, `2020-06-30T00:00:00.000Z`). + * The dates and times at which the volumes were attached, in ISO 8601 + * date-time format (for example, `2020-06-30T00:00:00.000Z`). */ char *link_volume_link_dates_str; char **link_volume_link_dates; @@ -3188,7 +3188,7 @@ struct filters_vpn_connection { char *client_gateway_ids_str; char **client_gateway_ids; /* - * The types of the VPN connections (only `ipsec.1` is supported). + * The types of the VPN connections (always `ipsec.1`). */ char *connection_types_str; char **connection_types; @@ -3278,7 +3278,7 @@ struct flexible_gpu { struct flexible_gpu_catalog { /* - * The generations of VMs that the fGPU is compatible with. + * The processor generations that the fGPUs are compatible with. */ char *generations_str; char **generations; @@ -3440,7 +3440,7 @@ struct image { int nb_block_device_mappings; struct block_device_mapping_image *block_device_mappings; /* - * The date and time (UTC) of creation of the OMI. + * The date and time (UTC) at which the OMI was created. */ char *creation_date; /* @@ -3595,7 +3595,9 @@ struct inline_policy { * The policy document, corresponding to a JSON string that contains the * policy. For more information, see [EIM Reference * Information](https://docs.outscale.com/en/userguide/EIM-Reference-Info - * rmation.html). + * rmation.html) and [EIM Policy + * Generator](https://docs.outscale.com/en/userguide/EIM-Policy-Generator + * .html). */ char *body; /* @@ -3807,7 +3809,7 @@ struct link_route_table { struct linked_policy { /* - * The date and time (UTC) of creation of the linked policy. + * The date and time (UTC) at which the linked policy was created. */ char *creation_date; /* @@ -4589,8 +4591,7 @@ struct nic { char *description; /* * (Net only) If true, the source/destination check is enabled. If - * false, it is disabled. This value must be false for a NAT VM to - * perform network address translation (NAT) in a Net. + * false, it is disabled. */ int is_set_is_source_dest_checked; int is_source_dest_checked; @@ -4783,8 +4784,7 @@ struct nic_light { char *description; /* * (Net only) If true, the source/destination check is enabled. If - * false, it is disabled. This value must be false for a NAT VM to - * perform network address translation (NAT) in a Net. + * false, it is disabled. */ int is_set_is_source_dest_checked; int is_source_dest_checked; @@ -5069,7 +5069,7 @@ struct placement { struct policy { /* - * The date and time (UTC) of creation of the policy. + * The date and time (UTC) at which the policy was created. */ char *creation_date; /* @@ -5120,11 +5120,13 @@ struct policy_version { * The policy document, corresponding to a JSON string that contains the * policy. For more information, see [EIM Reference * Information](https://docs.outscale.com/en/userguide/EIM-Reference-Info - * rmation.html). + * rmation.html) and [EIM Policy + * Generator](https://docs.outscale.com/en/userguide/EIM-Policy-Generator + * .html). */ char *body; /* - * The date and time (UTC) of creation of the version. + * The date and time (UTC) at which the version was created. */ char *creation_date; /* @@ -5782,7 +5784,7 @@ struct security_groups_member { struct server_certificate { /* - * The date at which the server certificate expires. + * The date on which the server certificate expires. */ char *expiration_date; /* @@ -5805,7 +5807,7 @@ struct server_certificate { */ char *path; /* - * The date at which the server certificate has been uploaded. + * The date on which the server certificate has been uploaded. */ char *upload_date; }; @@ -5836,7 +5838,7 @@ struct snapshot { */ char *account_id; /* - * The date and time (UTC) of creation of the snapshot. + * The date and time (UTC) at which the snapshot was created. */ char *creation_date; /* @@ -6110,8 +6112,8 @@ struct vgw_telemetry { struct virtual_gateway { /* - * The type of VPN connection supported by the virtual gateway (only - * `ipsec.1` is supported). + * The type of VPN connection supported by the virtual gateway (always + * `ipsec.1`). */ char *connection_type; /* @@ -6164,9 +6166,9 @@ struct vm { * false, the * volume is not deleted when terminating the VM. * --BlockDeviceMappings.INDEX.Bsu.LinkDate: string - * The date and time (UTC) of attachment of the volume to the - * VM, in ISO - * 8601 date-time format. + * The date and time (UTC) at which the volume was attached to + * the VM, in + * ISO 8601 date-time format. * --BlockDeviceMappings.INDEX.Bsu.State: string * The state of the volume. * --BlockDeviceMappings.INDEX.Bsu.VolumeId: string @@ -6188,7 +6190,7 @@ struct vm { */ char *client_token; /* - * The date and time (UTC) of creation of the VM. + * The date and time (UTC) at which the VM was created. */ char *creation_date; /* @@ -6207,8 +6209,7 @@ struct vm { char *image_id; /* * (Net only) If true, the source/destination check is enabled. If - * false, it is disabled. This value must be false for a NAT VM to - * perform network address translation (NAT) in a Net. + * false, it is disabled. */ int is_set_is_source_dest_checked; int is_source_dest_checked; @@ -6241,9 +6242,7 @@ struct vm { * --Nics.INDEX.IsSourceDestChecked: bool * (Net only) If true, the source/destination check is enabled. If * false, - * it is disabled. This value must be false for a NAT VM to perform - * network - * address translation (NAT) in a Net. + * it is disabled. * --Nics.INDEX.LinkNic: ref LinkNicLight * Information about the network interface card (NIC). * --Nics.INDEX.LinkNic.DeleteOnVmDeletion: bool @@ -6423,7 +6422,7 @@ struct vm { struct vm_group { /* - * The date and time (UTC) of creation of the VM group. + * The date and time (UTC) at which the VM group was created. */ char *creation_date; /* @@ -6445,6 +6444,8 @@ struct vm_group { char *security_group_ids_str; char **security_group_ids; /* + * The state of the VM group (`pending` \\| `available` \\| `scaling up` + * \\| `scaling down` \\| `deleting` \\| `deleted`). */ char *state; /* @@ -6549,7 +6550,7 @@ struct vm_template { */ char *cpu_performance; /* - * The date and time (UTC) of creation of the VM template. + * The date and time (UTC) at which the VM was created. */ char *creation_date; /* @@ -6644,7 +6645,7 @@ struct vm_type { struct volume { /* - * The date and time (UTC) of creation of the volume. + * The date and time (UTC) at which the volume was created. */ char *creation_date; /* @@ -7281,8 +7282,7 @@ struct osc_update_vm_arg { int dry_run; /* * (Net only) If true, the source/destination check is enabled. If - * false, it is disabled. This value must be false for a NAT VM to - * perform network address translation (NAT) in a Net. + * false, it is disabled. */ int is_set_is_source_dest_checked; int is_source_dest_checked; @@ -8455,7 +8455,7 @@ struct osc_read_vpn_connections_arg { * --Filters.ClientGatewayIds: array string * The IDs of the client gateways. * --Filters.ConnectionTypes: array string - * The types of the VPN connections (only `ipsec.1` is supported). + * The types of the VPN connections (always `ipsec.1`). * --Filters.RouteDestinationIpRanges: array string * The destination IP ranges. * --Filters.States: array string @@ -8511,17 +8511,17 @@ struct osc_read_volumes_arg { /* * One or more filters. * --Filters.CreationDates: array string - * The dates and times of creation of the volumes, in ISO 8601 - * date-time - * format (for example, `2020-06-30T00:00:00.000Z`). + * The dates and times at which the volumes were created, in ISO + * 8601 + * date-time format (for example, `2020-06-30T00:00:00.000Z`). * --Filters.LinkVolumeDeleteOnVmDeletion: bool * Whether the volumes are deleted or not when terminating the VMs. * --Filters.LinkVolumeDeviceNames: array string * The VM device names. * --Filters.LinkVolumeLinkDates: array string - * The dates and times of creation of the volumes, in ISO 8601 - * date-time - * format (for example, `2020-06-30T00:00:00.000Z`). + * The dates and times at which the volumes were attached, in ISO + * 8601 + * date-time format (for example, `2020-06-30T00:00:00.000Z`). * --Filters.LinkVolumeLinkStates: array string * The attachment states of the volumes (`attaching` \\| `detaching` * \\| @@ -8893,7 +8893,7 @@ struct osc_read_vm_templates_arg { int is_set_dry_run; int dry_run; /* - * See 'filters' type documentation + * One or more filters. * --Filters.CpuCores: array integer * The number of vCores. * --Filters.CpuGenerations: array string @@ -8979,7 +8979,7 @@ struct osc_read_virtual_gateways_arg { /* * One or more filters. * --Filters.ConnectionTypes: array string - * The types of the virtual gateways (only `ipsec.1` is supported). + * The types of the virtual gateways (always `ipsec.1`). * --Filters.LinkNetIds: array string * The IDs of the Nets the virtual gateways are attached to. * --Filters.LinkStates: array string @@ -10752,8 +10752,8 @@ struct osc_read_client_gateways_arg { * The IDs of the client gateways. * --Filters.ConnectionTypes: array string * The types of communication tunnels used by the client gateways - * (only - * `ipsec.1` is supported). + * (always + * `ipsec.1`). * --Filters.PublicIps: array string * The public IPv4 addresses of the client gateways. * --Filters.States: array string @@ -11055,7 +11055,9 @@ struct osc_put_user_group_policy_arg { * The policy document, corresponding to a JSON string that contains the * policy. For more information, see [EIM Reference * Information](https://docs.outscale.com/en/userguide/EIM-Reference-Info - * rmation.html). + * rmation.html) and [EIM Policy + * Generator](https://docs.outscale.com/en/userguide/EIM-Policy-Generator + * .html). */ char *policy_document; /* @@ -12175,7 +12177,7 @@ struct osc_create_vpn_connection_arg { */ char *client_gateway_id; /* - * The type of VPN connection (only `ipsec.1` is supported). + * The type of VPN connection (always `ipsec.1`). */ char *connection_type; /* @@ -12590,8 +12592,8 @@ struct osc_create_vm_group_arg { struct osc_create_virtual_gateway_arg { /* Required: connection_type */ /* - * The type of VPN connection supported by the virtual gateway (only - * `ipsec.1` is supported). + * The type of VPN connection supported by the virtual gateway (always + * `ipsec.1`). */ char *connection_type; /* @@ -13043,7 +13045,9 @@ struct osc_create_policy_version_arg { * The policy document, corresponding to a JSON string that contains the * policy. For more information, see [EIM Reference * Information](https://docs.outscale.com/en/userguide/EIM-Reference-Info - * rmation.html). + * rmation.html) and [EIM Policy + * Generator](https://docs.outscale.com/en/userguide/EIM-Policy-Generator + * .html). */ char *document; /* @@ -13071,7 +13075,9 @@ struct osc_create_policy_arg { * The policy document, corresponding to a JSON string that contains the * policy. For more information, see [EIM Reference * Information](https://docs.outscale.com/en/userguide/EIM-Reference-Info - * rmation.html). + * rmation.html) and [EIM Policy + * Generator](https://docs.outscale.com/en/userguide/EIM-Policy-Generator + * .html). */ char *document; /* @@ -13267,7 +13273,7 @@ struct osc_create_load_balancer_policy_arg { */ char *load_balancer_name; /* - * The name of the policy. This name must be unique and consist of + * The unique name of the policy, with a maximum length of 32 * alphanumeric characters and dashes (-). */ char *policy_name; @@ -13357,8 +13363,9 @@ struct osc_create_load_balancer_arg { int nb_listeners; struct listener_for_creation *listeners; /* - * The unique name of the load balancer (32 alphanumeric or hyphen - * characters maximum, but cannot start or end with a hyphen). + * The unique name of the load balancer, with a maximum length of 32 + * alphanumeric characters and dashes (-). This name must not start or + * end with a dash. */ char *load_balancer_name; /* @@ -13824,7 +13831,7 @@ struct osc_create_client_gateway_arg { int bgp_asn; /* * The communication protocol used to establish tunnel with your client - * gateway (only `ipsec.1` is supported). + * gateway (always `ipsec.1`). */ char *connection_type; /* diff --git a/version b/version index 1d0ba9e..8f0916f 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.4.0 +0.5.0