diff --git a/openstack_cli/src/container_infrastructure_management/v1/cluster/create.rs b/openstack_cli/src/container_infrastructure_management/v1/cluster/create.rs index 9da8442b2..b8c2a9c79 100644 --- a/openstack_cli/src/container_infrastructure_management/v1/cluster/create.rs +++ b/openstack_cli/src/container_infrastructure_management/v1/cluster/create.rs @@ -352,22 +352,38 @@ impl ClusterCommand { // Set Request.labels data if let Some(arg) = &self.labels { - ep_builder.labels(arg.iter().cloned()); + let mut data: Vec<(String, create::Labels)> = Vec::new(); + for (k, v) in arg.iter() { + data.push((k.clone(), serde_json::from_str(v)?)); + } + ep_builder.labels(data.into_iter()); } // Set Request.labels_added data if let Some(arg) = &self.labels_added { - ep_builder.labels_added(arg.iter().cloned()); + let mut data: Vec<(String, create::LabelsAdded)> = Vec::new(); + for (k, v) in arg.iter() { + data.push((k.clone(), serde_json::from_str(v)?)); + } + ep_builder.labels_added(data.into_iter()); } // Set Request.labels_overridden data if let Some(arg) = &self.labels_overridden { - ep_builder.labels_overridden(arg.iter().cloned()); + let mut data: Vec<(String, create::LabelsOverridden)> = Vec::new(); + for (k, v) in arg.iter() { + data.push((k.clone(), serde_json::from_str(v)?)); + } + ep_builder.labels_overridden(data.into_iter()); } // Set Request.labels_skipped data if let Some(arg) = &self.labels_skipped { - ep_builder.labels_skipped(arg.iter().cloned()); + let mut data: Vec<(String, create::LabelsSkipped)> = Vec::new(); + for (k, v) in arg.iter() { + data.push((k.clone(), serde_json::from_str(v)?)); + } + ep_builder.labels_skipped(data.into_iter()); } // Set Request.links data diff --git a/openstack_cli/src/container_infrastructure_management/v1/cluster/nodegroup/create.rs b/openstack_cli/src/container_infrastructure_management/v1/cluster/nodegroup/create.rs index 25e627b9b..19e15fc20 100644 --- a/openstack_cli/src/container_infrastructure_management/v1/cluster/nodegroup/create.rs +++ b/openstack_cli/src/container_infrastructure_management/v1/cluster/nodegroup/create.rs @@ -220,22 +220,38 @@ impl NodegroupCommand { // Set Request.labels data if let Some(arg) = &self.labels { - ep_builder.labels(arg.iter().cloned()); + let mut data: Vec<(String, create::Labels)> = Vec::new(); + for (k, v) in arg.iter() { + data.push((k.clone(), serde_json::from_str(v)?)); + } + ep_builder.labels(data.into_iter()); } // Set Request.labels_added data if let Some(arg) = &self.labels_added { - ep_builder.labels_added(arg.iter().cloned()); + let mut data: Vec<(String, create::LabelsAdded)> = Vec::new(); + for (k, v) in arg.iter() { + data.push((k.clone(), serde_json::from_str(v)?)); + } + ep_builder.labels_added(data.into_iter()); } // Set Request.labels_overridden data if let Some(arg) = &self.labels_overridden { - ep_builder.labels_overridden(arg.iter().cloned()); + let mut data: Vec<(String, create::LabelsOverridden)> = Vec::new(); + for (k, v) in arg.iter() { + data.push((k.clone(), serde_json::from_str(v)?)); + } + ep_builder.labels_overridden(data.into_iter()); } // Set Request.labels_skipped data if let Some(arg) = &self.labels_skipped { - ep_builder.labels_skipped(arg.iter().cloned()); + let mut data: Vec<(String, create::LabelsSkipped)> = Vec::new(); + for (k, v) in arg.iter() { + data.push((k.clone(), serde_json::from_str(v)?)); + } + ep_builder.labels_skipped(data.into_iter()); } // Set Request.links data diff --git a/openstack_cli/src/container_infrastructure_management/v1/clustertemplate/create.rs b/openstack_cli/src/container_infrastructure_management/v1/clustertemplate/create.rs index a29b2cd87..79fcc7f3b 100644 --- a/openstack_cli/src/container_infrastructure_management/v1/clustertemplate/create.rs +++ b/openstack_cli/src/container_infrastructure_management/v1/clustertemplate/create.rs @@ -387,7 +387,11 @@ impl ClustertemplateCommand { // Set Request.labels data if let Some(arg) = &self.labels { - ep_builder.labels(arg.iter().cloned()); + let mut data: Vec<(String, create::Labels)> = Vec::new(); + for (k, v) in arg.iter() { + data.push((k.clone(), serde_json::from_str(v)?)); + } + ep_builder.labels(data.into_iter()); } // Set Request.links data diff --git a/openstack_cli/src/dns/v2/zone/create.rs b/openstack_cli/src/dns/v2/zone/create.rs index 6060b4435..4e6eada0d 100644 --- a/openstack_cli/src/dns/v2/zone/create.rs +++ b/openstack_cli/src/dns/v2/zone/create.rs @@ -56,7 +56,8 @@ pub struct ZoneCommand { #[arg(help_heading = "Body parameters", long)] description: Option, - /// e-mail for the zone. Used in SOA records for the zone + /// e-mail for the zone. Used in SOA records for the zone. Mandatory for + /// PRIMARY zones, forbidden for SECONDARY zones. #[arg(help_heading = "Body parameters", long)] email: Option, diff --git a/openstack_cli/src/dns/v2/zone/set.rs b/openstack_cli/src/dns/v2/zone/set.rs index fd39cfade..ee7cb1bb8 100644 --- a/openstack_cli/src/dns/v2/zone/set.rs +++ b/openstack_cli/src/dns/v2/zone/set.rs @@ -50,7 +50,8 @@ pub struct ZoneCommand { #[arg(help_heading = "Body parameters", long)] description: Option, - /// e-mail for the zone. Used in SOA records for the zone + /// e-mail for the zone. Used in SOA records for the zone. Forbidden for + /// SECONDARY zones. #[arg(help_heading = "Body parameters", long)] email: Option, diff --git a/openstack_cli/src/identity/v3/endpoint/set.rs b/openstack_cli/src/identity/v3/endpoint/set.rs index f8a838666..9f2c634a9 100644 --- a/openstack_cli/src/identity/v3/endpoint/set.rs +++ b/openstack_cli/src/identity/v3/endpoint/set.rs @@ -88,9 +88,9 @@ struct Endpoint { #[arg(help_heading = "Body parameters", long, action = clap::ArgAction::SetTrue, conflicts_with = "description")] no_description: bool, - /// Indicates whether the endpoint appears in the service catalog -false. - /// The endpoint does not appear in the service catalog. -true. The - /// endpoint appears in the service catalog. + /// Indicates whether the endpoint appears in the service catalog: - + /// `false`. The endpoint does not appear in the service catalog. - `true`. + /// The endpoint appears in the service catalog. #[arg(action=clap::ArgAction::Set, help_heading = "Body parameters", long)] enabled: Option, diff --git a/openstack_cli/src/identity/v3/os_federation/identity_provider/protocol/create.rs b/openstack_cli/src/identity/v3/os_federation/identity_provider/protocol/create.rs index c2557f9b6..d86c7b366 100644 --- a/openstack_cli/src/identity/v3/os_federation/identity_provider/protocol/create.rs +++ b/openstack_cli/src/identity/v3/os_federation/identity_provider/protocol/create.rs @@ -35,7 +35,7 @@ use openstack_types::identity::v3::os_federation::identity_provider::protocol::r /// Create protocol for an IDP. /// -/// PUT /OS-Federation/identity_providers/{idp_id}/protocols/{protocol_id} +/// PUT /OS-FEDERATION/identity_providers/{idp_id}/protocols/{protocol_id} #[derive(Args)] pub struct ProtocolCommand { /// Request Query parameters diff --git a/openstack_cli/src/identity/v3/os_federation/identity_provider/protocol/set.rs b/openstack_cli/src/identity/v3/os_federation/identity_provider/protocol/set.rs index 74acdbad0..563c7fc03 100644 --- a/openstack_cli/src/identity/v3/os_federation/identity_provider/protocol/set.rs +++ b/openstack_cli/src/identity/v3/os_federation/identity_provider/protocol/set.rs @@ -84,10 +84,6 @@ struct Protocol { #[arg(help_heading = "Body parameters", long)] remote_id_attribute: Option, - - /// Set explicit NULL for the remote_id_attribute - #[arg(help_heading = "Body parameters", long, action = clap::ArgAction::SetTrue, conflicts_with = "remote_id_attribute")] - no_remote_id_attribute: bool, } impl ProtocolCommand { @@ -119,9 +115,7 @@ impl ProtocolCommand { protocol_builder.mapping_id(&args.mapping_id); if let Some(val) = &args.remote_id_attribute { - protocol_builder.remote_id_attribute(Some(val.into())); - } else if args.no_remote_id_attribute { - protocol_builder.remote_id_attribute(None); + protocol_builder.remote_id_attribute(val); } ep_builder.protocol( diff --git a/openstack_sdk/src/api/container_infrastructure_management/v1/cluster/create.rs b/openstack_sdk/src/api/container_infrastructure_management/v1/cluster/create.rs index b14f8bc16..d7103c372 100644 --- a/openstack_sdk/src/api/container_infrastructure_management/v1/cluster/create.rs +++ b/openstack_sdk/src/api/container_infrastructure_management/v1/cluster/create.rs @@ -37,6 +37,38 @@ pub enum HealthStatus { Unknown, } +#[derive(Debug, Deserialize, Clone, Serialize)] +#[serde(untagged)] +pub enum Labels<'a> { + F1(bool), + F2(i32), + F3(Cow<'a, str>), +} + +#[derive(Debug, Deserialize, Clone, Serialize)] +#[serde(untagged)] +pub enum LabelsAdded<'a> { + F1(bool), + F2(i32), + F3(Cow<'a, str>), +} + +#[derive(Debug, Deserialize, Clone, Serialize)] +#[serde(untagged)] +pub enum LabelsOverridden<'a> { + F1(bool), + F2(i32), + F3(Cow<'a, str>), +} + +#[derive(Debug, Deserialize, Clone, Serialize)] +#[serde(untagged)] +pub enum LabelsSkipped<'a> { + F1(bool), + F2(i32), + F3(Cow<'a, str>), +} + /// A link representation. #[derive(Builder, Debug, Deserialize, Clone, Serialize)] #[builder(setter(strip_option))] @@ -191,16 +223,16 @@ pub struct Request<'a> { /// way to pass additional parameters that are specific to a cluster /// driver. #[builder(default, private, setter(into, name = "_labels"))] - pub(crate) labels: Option, Cow<'a, str>>>, + pub(crate) labels: Option, Labels<'a>>>, #[builder(default, private, setter(into, name = "_labels_added"))] - pub(crate) labels_added: Option, Cow<'a, str>>>, + pub(crate) labels_added: Option, LabelsAdded<'a>>>, #[builder(default, private, setter(into, name = "_labels_overridden"))] - pub(crate) labels_overridden: Option, Cow<'a, str>>>, + pub(crate) labels_overridden: Option, LabelsOverridden<'a>>>, #[builder(default, private, setter(into, name = "_labels_skipped"))] - pub(crate) labels_skipped: Option, Cow<'a, str>>>, + pub(crate) labels_skipped: Option, LabelsSkipped<'a>>>, #[builder(default, setter(into))] pub(crate) links: Option>>, @@ -310,7 +342,7 @@ impl<'a> RequestBuilder<'a> { where I: Iterator, K: Into>, - V: Into>, + V: Into>, { self.labels .get_or_insert(None) @@ -323,7 +355,7 @@ impl<'a> RequestBuilder<'a> { where I: Iterator, K: Into>, - V: Into>, + V: Into>, { self.labels_added .get_or_insert(None) @@ -336,7 +368,7 @@ impl<'a> RequestBuilder<'a> { where I: Iterator, K: Into>, - V: Into>, + V: Into>, { self.labels_overridden .get_or_insert(None) @@ -349,7 +381,7 @@ impl<'a> RequestBuilder<'a> { where I: Iterator, K: Into>, - V: Into>, + V: Into>, { self.labels_skipped .get_or_insert(None) diff --git a/openstack_sdk/src/api/container_infrastructure_management/v1/cluster/nodegroup/create.rs b/openstack_sdk/src/api/container_infrastructure_management/v1/cluster/nodegroup/create.rs index 5369bd3a4..644e7ea9c 100644 --- a/openstack_sdk/src/api/container_infrastructure_management/v1/cluster/nodegroup/create.rs +++ b/openstack_sdk/src/api/container_infrastructure_management/v1/cluster/nodegroup/create.rs @@ -34,6 +34,38 @@ use serde::Serialize; use std::borrow::Cow; use std::collections::BTreeMap; +#[derive(Debug, Deserialize, Clone, Serialize)] +#[serde(untagged)] +pub enum Labels<'a> { + F1(bool), + F2(i32), + F3(Cow<'a, str>), +} + +#[derive(Debug, Deserialize, Clone, Serialize)] +#[serde(untagged)] +pub enum LabelsAdded<'a> { + F1(bool), + F2(i32), + F3(Cow<'a, str>), +} + +#[derive(Debug, Deserialize, Clone, Serialize)] +#[serde(untagged)] +pub enum LabelsOverridden<'a> { + F1(bool), + F2(i32), + F3(Cow<'a, str>), +} + +#[derive(Debug, Deserialize, Clone, Serialize)] +#[serde(untagged)] +pub enum LabelsSkipped<'a> { + F1(bool), + F2(i32), + F3(Cow<'a, str>), +} + /// A link representation. #[derive(Builder, Debug, Deserialize, Clone, Serialize)] #[builder(setter(strip_option))] @@ -124,16 +156,16 @@ pub struct Request<'a> { pub(crate) is_default: Option>, #[builder(default, private, setter(into, name = "_labels"))] - pub(crate) labels: Option, Cow<'a, str>>>, + pub(crate) labels: Option, Labels<'a>>>, #[builder(default, private, setter(into, name = "_labels_added"))] - pub(crate) labels_added: Option, Cow<'a, str>>>, + pub(crate) labels_added: Option, LabelsAdded<'a>>>, #[builder(default, private, setter(into, name = "_labels_overridden"))] - pub(crate) labels_overridden: Option, Cow<'a, str>>>, + pub(crate) labels_overridden: Option, LabelsOverridden<'a>>>, #[builder(default, private, setter(into, name = "_labels_skipped"))] - pub(crate) labels_skipped: Option, Cow<'a, str>>>, + pub(crate) labels_skipped: Option, LabelsSkipped<'a>>>, #[builder(default, setter(into))] pub(crate) links: Option>>, @@ -195,7 +227,7 @@ impl<'a> RequestBuilder<'a> { where I: Iterator, K: Into>, - V: Into>, + V: Into>, { self.labels .get_or_insert(None) @@ -208,7 +240,7 @@ impl<'a> RequestBuilder<'a> { where I: Iterator, K: Into>, - V: Into>, + V: Into>, { self.labels_added .get_or_insert(None) @@ -221,7 +253,7 @@ impl<'a> RequestBuilder<'a> { where I: Iterator, K: Into>, - V: Into>, + V: Into>, { self.labels_overridden .get_or_insert(None) @@ -234,7 +266,7 @@ impl<'a> RequestBuilder<'a> { where I: Iterator, K: Into>, - V: Into>, + V: Into>, { self.labels_skipped .get_or_insert(None) diff --git a/openstack_sdk/src/api/container_infrastructure_management/v1/clustertemplate/create.rs b/openstack_sdk/src/api/container_infrastructure_management/v1/clustertemplate/create.rs index 753c87f87..13fdc44e6 100644 --- a/openstack_sdk/src/api/container_infrastructure_management/v1/clustertemplate/create.rs +++ b/openstack_sdk/src/api/container_infrastructure_management/v1/clustertemplate/create.rs @@ -33,6 +33,14 @@ pub enum Coe { Kubernetes, } +#[derive(Debug, Deserialize, Clone, Serialize)] +#[serde(untagged)] +pub enum Labels<'a> { + F1(bool), + F2(i32), + F3(Cow<'a, str>), +} + /// A link representation. #[derive(Builder, Debug, Deserialize, Clone, Serialize)] #[builder(setter(strip_option))] @@ -185,7 +193,7 @@ pub struct Request<'a> { /// way to pass additional parameters that are specific to a cluster /// driver. #[builder(default, private, setter(into, name = "_labels"))] - pub(crate) labels: Option, Cow<'a, str>>>, + pub(crate) labels: Option, Labels<'a>>>, #[builder(default, setter(into))] pub(crate) links: Option>>, @@ -290,7 +298,7 @@ impl<'a> RequestBuilder<'a> { where I: Iterator, K: Into>, - V: Into>, + V: Into>, { self.labels .get_or_insert(None) diff --git a/openstack_sdk/src/api/dns/v2/zone/create.rs b/openstack_sdk/src/api/dns/v2/zone/create.rs index dec83b1bf..215f7d7cb 100644 --- a/openstack_sdk/src/api/dns/v2/zone/create.rs +++ b/openstack_sdk/src/api/dns/v2/zone/create.rs @@ -50,7 +50,8 @@ pub struct Request<'a> { #[builder(default, setter(into))] pub(crate) description: Option>, - /// e-mail for the zone. Used in SOA records for the zone + /// e-mail for the zone. Used in SOA records for the zone. Mandatory for + /// PRIMARY zones, forbidden for SECONDARY zones. #[builder(default, setter(into))] pub(crate) email: Option>, diff --git a/openstack_sdk/src/api/dns/v2/zone/set.rs b/openstack_sdk/src/api/dns/v2/zone/set.rs index 8fb0b2a58..71273320c 100644 --- a/openstack_sdk/src/api/dns/v2/zone/set.rs +++ b/openstack_sdk/src/api/dns/v2/zone/set.rs @@ -31,7 +31,8 @@ pub struct Request<'a> { #[builder(default, setter(into))] pub(crate) description: Option>, - /// e-mail for the zone. Used in SOA records for the zone + /// e-mail for the zone. Used in SOA records for the zone. Forbidden for + /// SECONDARY zones. #[builder(default, setter(into))] pub(crate) email: Option>, diff --git a/openstack_sdk/src/api/identity/v3/endpoint/set.rs b/openstack_sdk/src/api/identity/v3/endpoint/set.rs index 39257a4f3..e5602a393 100644 --- a/openstack_sdk/src/api/identity/v3/endpoint/set.rs +++ b/openstack_sdk/src/api/identity/v3/endpoint/set.rs @@ -50,9 +50,9 @@ pub struct Endpoint<'a> { #[builder(default, setter(into))] pub(crate) description: Option>>, - /// Indicates whether the endpoint appears in the service catalog -false. - /// The endpoint does not appear in the service catalog. -true. The - /// endpoint appears in the service catalog. + /// Indicates whether the endpoint appears in the service catalog: - + /// `false`. The endpoint does not appear in the service catalog. - `true`. + /// The endpoint appears in the service catalog. #[serde(skip_serializing_if = "Option::is_none")] #[builder(default, setter(into))] pub(crate) enabled: Option, diff --git a/openstack_sdk/src/api/identity/v3/os_federation/identity_provider/protocol/create.rs b/openstack_sdk/src/api/identity/v3/os_federation/identity_provider/protocol/create.rs index e170cb1a0..58a14bedb 100644 --- a/openstack_sdk/src/api/identity/v3/os_federation/identity_provider/protocol/create.rs +++ b/openstack_sdk/src/api/identity/v3/os_federation/identity_provider/protocol/create.rs @@ -17,7 +17,7 @@ //! Create protocol for an IDP. //! -//! PUT /OS-Federation/identity_providers/{idp_id}/protocols/{protocol_id} +//! PUT /OS-FEDERATION/identity_providers/{idp_id}/protocols/{protocol_id} //! use derive_builder::Builder; use http::{HeaderMap, HeaderName, HeaderValue}; diff --git a/openstack_sdk/src/api/identity/v3/os_federation/identity_provider/protocol/set.rs b/openstack_sdk/src/api/identity/v3/os_federation/identity_provider/protocol/set.rs index fc85ec6ec..ad6051801 100644 --- a/openstack_sdk/src/api/identity/v3/os_federation/identity_provider/protocol/set.rs +++ b/openstack_sdk/src/api/identity/v3/os_federation/identity_provider/protocol/set.rs @@ -37,7 +37,7 @@ pub struct Protocol<'a> { #[serde(skip_serializing_if = "Option::is_none")] #[builder(default, setter(into))] - pub(crate) remote_id_attribute: Option>>, + pub(crate) remote_id_attribute: Option>, } #[derive(Builder, Debug, Clone)] diff --git a/openstack_types/data/compute/v2.103.yaml b/openstack_types/data/compute/v2.103.yaml index b48b17295..fc500dbd7 100644 --- a/openstack_types/data/compute/v2.103.yaml +++ b/openstack_types/data/compute/v2.103.yaml @@ -15556,7 +15556,6 @@ components: minimum: -1 type: integer id: - const: default description: |- The ID of the quota class. Nova supports the `default` Quota Class only. @@ -47636,16 +47635,22 @@ components: type: object type: object ServersOs_Security_GroupsListResponse: + additionalProperties: false properties: security_groups: description: |- One or more security groups objects. items: + additionalProperties: false + description: |- + Specify the `security_group` action in the request body. properties: description: description: |- Security group description. - type: string + type: + - 'null' + - string id: description: |- The ID of the security group. @@ -47659,38 +47664,98 @@ components: description: |- The list of security group rules. items: + additionalProperties: false + description: |- + A `security_group_rule` object. properties: from_port: - type: integer + description: |- + The port at start of range. + minimum: -1 + type: + - integer + - 'null' group: + additionalProperties: false + description: |- + A `group` object. Includes the `tenant_id` and the source security + group `name`. properties: name: + description: |- + The security group name. type: string + tenant_id: + description: |- + The UUID of the tenant that owns this security group. + maxLength: 255 + minLength: 1 + pattern: ^[a-zA-Z0-9-]*$ + type: string + required: [] type: object id: + description: |- + The security group rule ID. format: uuid type: string ip_protocol: - type: string + description: |- + The IP protocol. A valid value is ICMP, TCP, or UDP. + type: + - 'null' + - string ip_range: + additionalProperties: false + description: |- + An IP range object. Includes the security group rule `cidr`. + properties: + cidr: + description: |- + The CIDR for address range. + format: cidr + type: string + required: [] type: object parent_group_id: + description: |- + Security group ID. format: uuid type: string to_port: - type: integer + description: |- + The port at end of range. + minimum: -1 + type: + - integer + - 'null' + required: + - from_port + - group + - id + - ip_protocol + - ip_range + - parent_group_id + - to_port type: object type: array tenant_id: description: |- - The UUID of the tenant in a multi-tenancy cloud. - format: uuid + The UUID of the tenant that owns this security group. + maxLength: 255 + minLength: 1 + pattern: ^[a-zA-Z0-9-]*$ type: string required: + - description - id - name + - rules + - tenant_id type: object type: array + required: + - security_groups type: object ServersOs_Server_PasswordListResponse: properties: diff --git a/openstack_types/data/compute/v2.yaml b/openstack_types/data/compute/v2.yaml index b48b17295..fc500dbd7 100644 --- a/openstack_types/data/compute/v2.yaml +++ b/openstack_types/data/compute/v2.yaml @@ -15556,7 +15556,6 @@ components: minimum: -1 type: integer id: - const: default description: |- The ID of the quota class. Nova supports the `default` Quota Class only. @@ -47636,16 +47635,22 @@ components: type: object type: object ServersOs_Security_GroupsListResponse: + additionalProperties: false properties: security_groups: description: |- One or more security groups objects. items: + additionalProperties: false + description: |- + Specify the `security_group` action in the request body. properties: description: description: |- Security group description. - type: string + type: + - 'null' + - string id: description: |- The ID of the security group. @@ -47659,38 +47664,98 @@ components: description: |- The list of security group rules. items: + additionalProperties: false + description: |- + A `security_group_rule` object. properties: from_port: - type: integer + description: |- + The port at start of range. + minimum: -1 + type: + - integer + - 'null' group: + additionalProperties: false + description: |- + A `group` object. Includes the `tenant_id` and the source security + group `name`. properties: name: + description: |- + The security group name. type: string + tenant_id: + description: |- + The UUID of the tenant that owns this security group. + maxLength: 255 + minLength: 1 + pattern: ^[a-zA-Z0-9-]*$ + type: string + required: [] type: object id: + description: |- + The security group rule ID. format: uuid type: string ip_protocol: - type: string + description: |- + The IP protocol. A valid value is ICMP, TCP, or UDP. + type: + - 'null' + - string ip_range: + additionalProperties: false + description: |- + An IP range object. Includes the security group rule `cidr`. + properties: + cidr: + description: |- + The CIDR for address range. + format: cidr + type: string + required: [] type: object parent_group_id: + description: |- + Security group ID. format: uuid type: string to_port: - type: integer + description: |- + The port at end of range. + minimum: -1 + type: + - integer + - 'null' + required: + - from_port + - group + - id + - ip_protocol + - ip_range + - parent_group_id + - to_port type: object type: array tenant_id: description: |- - The UUID of the tenant in a multi-tenancy cloud. - format: uuid + The UUID of the tenant that owns this security group. + maxLength: 255 + minLength: 1 + pattern: ^[a-zA-Z0-9-]*$ type: string required: + - description - id - name + - rules + - tenant_id type: object type: array + required: + - security_groups type: object ServersOs_Server_PasswordListResponse: properties: diff --git a/openstack_types/data/container-infrastructure-management/v1.12.yaml b/openstack_types/data/container-infrastructure-management/v1.12.yaml index 10e9df8ac..519ea0da2 100644 --- a/openstack_types/data/container-infrastructure-management/v1.12.yaml +++ b/openstack_types/data/container-infrastructure-management/v1.12.yaml @@ -864,8 +864,11 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string description: |- Arbitrary labels in the form of `key=value` pairs. The accepted keys and valid values are defined in the cluster drivers. They are used as a way @@ -873,18 +876,27 @@ components: type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: @@ -1012,8 +1024,9 @@ components: value: description: |- Resource attribute’s value. - format: - type: string + type: + - integer + - string required: - op - path @@ -1148,23 +1161,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: description: |- @@ -1456,8 +1481,11 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string description: |- Arbitrary labels in the form of `key=value` pairs. The accepted keys and valid values are defined in the cluster drivers. They are used as a way @@ -1710,23 +1738,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: description: |- @@ -1854,8 +1894,9 @@ components: path: type: string value: - format: - type: string + type: + - integer + - string required: - op - path @@ -1891,23 +1932,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: @@ -2015,23 +2068,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: @@ -2139,23 +2204,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: @@ -2279,23 +2356,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: @@ -2413,23 +2502,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: @@ -2548,23 +2649,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: @@ -2677,23 +2790,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: @@ -2930,8 +3055,11 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string description: |- Arbitrary labels in the form of `key=value` pairs. The accepted keys and valid values are defined in the cluster drivers. They are used as a way @@ -3238,8 +3366,11 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string description: |- Arbitrary labels in the form of `key=value` pairs. The accepted keys and valid values are defined in the cluster drivers. They are used as a way @@ -3555,8 +3686,11 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string description: |- Arbitrary labels in the form of `key=value` pairs. The accepted keys and valid values are defined in the cluster drivers. They are used as a way @@ -4072,23 +4206,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: diff --git a/openstack_types/data/container-infrastructure-management/v1.yaml b/openstack_types/data/container-infrastructure-management/v1.yaml index 10e9df8ac..519ea0da2 100644 --- a/openstack_types/data/container-infrastructure-management/v1.yaml +++ b/openstack_types/data/container-infrastructure-management/v1.yaml @@ -864,8 +864,11 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string description: |- Arbitrary labels in the form of `key=value` pairs. The accepted keys and valid values are defined in the cluster drivers. They are used as a way @@ -873,18 +876,27 @@ components: type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: @@ -1012,8 +1024,9 @@ components: value: description: |- Resource attribute’s value. - format: - type: string + type: + - integer + - string required: - op - path @@ -1148,23 +1161,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: description: |- @@ -1456,8 +1481,11 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string description: |- Arbitrary labels in the form of `key=value` pairs. The accepted keys and valid values are defined in the cluster drivers. They are used as a way @@ -1710,23 +1738,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: description: |- @@ -1854,8 +1894,9 @@ components: path: type: string value: - format: - type: string + type: + - integer + - string required: - op - path @@ -1891,23 +1932,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: @@ -2015,23 +2068,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: @@ -2139,23 +2204,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: @@ -2279,23 +2356,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: @@ -2413,23 +2502,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: @@ -2548,23 +2649,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: @@ -2677,23 +2790,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: @@ -2930,8 +3055,11 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string description: |- Arbitrary labels in the form of `key=value` pairs. The accepted keys and valid values are defined in the cluster drivers. They are used as a way @@ -3238,8 +3366,11 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string description: |- Arbitrary labels in the form of `key=value` pairs. The accepted keys and valid values are defined in the cluster drivers. They are used as a way @@ -3555,8 +3686,11 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string description: |- Arbitrary labels in the form of `key=value` pairs. The accepted keys and valid values are defined in the cluster drivers. They are used as a way @@ -4072,23 +4206,35 @@ components: type: string labels: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_added: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_overridden: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object labels_skipped: additionalProperties: - format: - type: string + type: + - boolean + - integer + - number + - string type: object links: items: diff --git a/openstack_types/data/dns/v2.1.yaml b/openstack_types/data/dns/v2.1.yaml index e40ca6e5e..f3f49b62e 100644 --- a/openstack_types/data/dns/v2.1.yaml +++ b/openstack_types/data/dns/v2.1.yaml @@ -2228,7 +2228,8 @@ components: type: string email: description: |- - e-mail for the zone. Used in SOA records for the zone + e-mail for the zone. Used in SOA records for the zone. + Mandatory for PRIMARY zones, forbidden for SECONDARY zones. format: uuid type: string id: @@ -2344,7 +2345,8 @@ components: type: string email: description: |- - e-mail for the zone. Used in SOA records for the zone + e-mail for the zone. Used in SOA records for the zone. + Forbidden for SECONDARY zones. format: uuid type: string ttl: @@ -2390,7 +2392,8 @@ components: type: string email: description: |- - e-mail for the zone. Used in SOA records for the zone + e-mail for the zone. Used in SOA records for the zone. + Mandatory for PRIMARY zones, forbidden for SECONDARY zones. format: uuid type: string id: @@ -2532,7 +2535,8 @@ components: type: string email: description: |- - e-mail for the zone. Used in SOA records for the zone + e-mail for the zone. Used in SOA records for the zone. + Mandatory for PRIMARY zones, forbidden for SECONDARY zones. format: uuid type: string id: @@ -2676,7 +2680,8 @@ components: type: string email: description: |- - e-mail for the zone. Used in SOA records for the zone + e-mail for the zone. Used in SOA records for the zone. + Mandatory for PRIMARY zones, forbidden for SECONDARY zones. format: uuid type: string id: @@ -2828,7 +2833,8 @@ components: type: string email: description: |- - e-mail for the zone. Used in SOA records for the zone + e-mail for the zone. Used in SOA records for the zone. + Mandatory for PRIMARY zones, forbidden for SECONDARY zones. format: uuid type: string id: diff --git a/openstack_types/data/dns/v2.yaml b/openstack_types/data/dns/v2.yaml index e40ca6e5e..f3f49b62e 100644 --- a/openstack_types/data/dns/v2.yaml +++ b/openstack_types/data/dns/v2.yaml @@ -2228,7 +2228,8 @@ components: type: string email: description: |- - e-mail for the zone. Used in SOA records for the zone + e-mail for the zone. Used in SOA records for the zone. + Mandatory for PRIMARY zones, forbidden for SECONDARY zones. format: uuid type: string id: @@ -2344,7 +2345,8 @@ components: type: string email: description: |- - e-mail for the zone. Used in SOA records for the zone + e-mail for the zone. Used in SOA records for the zone. + Forbidden for SECONDARY zones. format: uuid type: string ttl: @@ -2390,7 +2392,8 @@ components: type: string email: description: |- - e-mail for the zone. Used in SOA records for the zone + e-mail for the zone. Used in SOA records for the zone. + Mandatory for PRIMARY zones, forbidden for SECONDARY zones. format: uuid type: string id: @@ -2532,7 +2535,8 @@ components: type: string email: description: |- - e-mail for the zone. Used in SOA records for the zone + e-mail for the zone. Used in SOA records for the zone. + Mandatory for PRIMARY zones, forbidden for SECONDARY zones. format: uuid type: string id: @@ -2676,7 +2680,8 @@ components: type: string email: description: |- - e-mail for the zone. Used in SOA records for the zone + e-mail for the zone. Used in SOA records for the zone. + Mandatory for PRIMARY zones, forbidden for SECONDARY zones. format: uuid type: string id: @@ -2828,7 +2833,8 @@ components: type: string email: description: |- - e-mail for the zone. Used in SOA records for the zone + e-mail for the zone. Used in SOA records for the zone. + Mandatory for PRIMARY zones, forbidden for SECONDARY zones. format: uuid type: string id: diff --git a/openstack_types/data/identity/keystone_rust.yaml b/openstack_types/data/identity/keystone_rust.yaml index 249faadf4..6092a2979 100644 --- a/openstack_types/data/identity/keystone_rust.yaml +++ b/openstack_types/data/identity/keystone_rust.yaml @@ -1,6 +1,6 @@ openapi: 3.1.0 info: - title: openstack_keystone + title: openstack-keystone description: OpenStack Keystone service license: name: Apache-2.0 @@ -2726,47 +2726,45 @@ components: type: string description: Unique ID of the associated user. Group: - allOf: - - {} - - type: object - required: - - id - - domain_id - - name - properties: - description: - type: - - string - - 'null' - description: Group description. - domain_id: - type: string - description: Group domain ID. - id: - type: string - description: Group ID. - name: - type: string - description: Group name. + type: object + required: + - domain_id + - id + - name + properties: + description: + type: + - string + - 'null' + description: Group description. + domain_id: + type: string + description: Group domain ID. + id: + type: string + description: Group ID. + name: + type: string + description: Group name. + additionalProperties: {} GroupCreate: - allOf: - - {} - - type: object - required: - - domain_id - - name - properties: - description: - type: - - string - - 'null' - description: Group description. - domain_id: - type: string - description: Group domain ID. - name: - type: string - description: Group name. + type: object + required: + - domain_id + - name + properties: + description: + type: + - string + - 'null' + description: Group description. + domain_id: + type: string + description: Group domain ID. + name: + type: string + description: Group name. + additionalProperties: {} GroupCreateRequest: type: object required: @@ -3617,6 +3615,9 @@ components: bound_claims: type: object description: Additional claims that must be present in the token. + additionalProperties: {} + propertyNames: + type: string bound_subject: type: string description: Token subject value that must be set in the token. @@ -3986,60 +3987,60 @@ components: type: string description: Project Name. ProjectCreate: - allOf: - - description: Additional project properties. - - type: object - required: - - domain_id - - enabled - - is_domain - - name - properties: - description: - type: - - string - - 'null' - description: The description of the project. - domain_id: - type: string - description: The ID of the domain for the project. - enabled: - type: boolean - description: |- - If set to true, project is enabled. If set to false, project is - disabled. - is_domain: - type: boolean - description: |- - Indicates whether the project also acts as a domain. If set to true, - this project acts as both a project and domain. As a domain, the project - provides a name space in which you can create users, groups, and other - projects. If set to false, this project behaves as a regular project - that contains only resources. Default is false. You cannot update this - parameter after you create the project. - name: - type: string - description: |- - The name of the project, which must be unique within the owning domain. - A project can have the same name as its domain. - parent_id: - type: - - string - - 'null' - description: |- - The ID of the parent of the project. + type: object + description: New project data. + required: + - domain_id + - enabled + - is_domain + - name + properties: + description: + type: + - string + - 'null' + description: The description of the project. + domain_id: + type: string + description: The ID of the domain for the project. + enabled: + type: boolean + description: |- + If set to true, project is enabled. If set to false, project is + disabled. The defaults is `true`. + is_domain: + type: boolean + description: |- + Indicates whether the project also acts as a domain. If set to true, + this project acts as both a project and domain. As a domain, the project + provides a name space in which you can create users, groups, and other + projects. If set to false, this project behaves as a regular project + that contains only resources. Default is false. You cannot update this + parameter after you create the project. + name: + type: string + description: |- + The name of the project, which must be unique within the owning domain. + A project can have the same name as its domain. + parent_id: + type: + - string + - 'null' + description: |- + The ID of the parent of the project. - If specified on project creation, this places the project within a - hierarchy and implicitly defines the owning domain, which will be the - same domain as the parent specified. If `parent_id` is not specified and - `is_domain` is false, then the project will use its owning domain as its - parent. If `is_domain` is true (i.e. the project is acting as a domain), - then `parent_id` must not specified (or if it is, it must be null) since - domains have no parents. + If specified on project creation, this places the project within a + hierarchy and implicitly defines the owning domain, which will be the + same domain as the parent specified. If `parent_id` is not specified and + `is_domain` is false, then the project will use its owning domain as its + parent. If `is_domain` is true (i.e. the project is acting as a domain), + then `parent_id` must not specified (or if it is, it must be null) since + domains have no parents. - `parent_id` is immutable, and can’t be updated after the project is - created - hence a project cannot be moved within the hierarchy. - description: New project data. + `parent_id` is immutable, and can’t be updated after the project is + created - hence a project cannot be moved within the hierarchy. + additionalProperties: + description: Additional project properties. ProjectCreateRequest: type: object description: New project creation request. @@ -4331,51 +4332,50 @@ components: - Preferred - Required Role: - allOf: - - {} - - type: object - required: - - id - - name - properties: - description: - type: - - string - - 'null' - description: Role description. - domain_id: - type: - - string - - 'null' - description: Role domain ID. - id: - type: string - description: Role ID. - name: - type: string - description: Role name. + type: object description: The role data. + required: + - id + - name + properties: + description: + type: + - string + - 'null' + description: Role description. + domain_id: + type: + - string + - 'null' + description: Role domain ID. + id: + type: string + description: Role ID. + name: + type: string + description: Role name. + additionalProperties: {} RoleCreate: - allOf: - - description: Extra attributes for the role. - - type: object - required: - - name - properties: - description: - type: - - string - - 'null' - description: The role description. - domain_id: - type: - - string - - 'null' - description: The domain ID of the role. - name: - type: string - description: The role name. + type: object description: Role create request body. + required: + - name + properties: + description: + type: + - string + - 'null' + description: The role description. + domain_id: + type: + - string + - 'null' + description: The domain ID of the role. + name: + type: string + description: The role name. + additionalProperties: + description: Extra attributes for the role. RoleList: type: object description: Roles. @@ -4387,6 +4387,24 @@ components: items: $ref: '#/components/schemas/Role' description: Collection of role objects. + RoleRef: + type: object + description: The role reference data. + required: + - id + - name + properties: + domain_id: + type: + - string + - 'null' + description: Role domain ID. + id: + type: string + description: Role ID. + name: + type: string + description: Role name. RoleResponse: type: object required: @@ -4547,7 +4565,7 @@ components: - array - 'null' items: - $ref: '#/components/schemas/Role' + $ref: '#/components/schemas/RoleRef' description: A list of role objects. system: oneOf: @@ -4604,7 +4622,7 @@ components: roles: type: array items: - $ref: '#/components/schemas/Role' + $ref: '#/components/schemas/RoleRef' description: Bound token roles. user_id: type: @@ -4637,7 +4655,7 @@ components: roles: type: array items: - $ref: '#/components/schemas/Role' + $ref: '#/components/schemas/RoleRef' description: Bound token roles. user_id: type: @@ -4697,7 +4715,7 @@ components: - array - 'null' items: - $ref: '#/components/schemas/Role' + $ref: '#/components/schemas/RoleRef' description: Bound token roles. user_id: type: @@ -4833,55 +4851,54 @@ components: format: date-time description: User password expiry date. UserCreate: - allOf: - - description: Additional user properties. - - type: object - required: - - domain_id - - name - properties: - default_project_id: - type: - - string - - 'null' - description: |- - The ID of the default project for the user. A user's default project - must not be a domain. Setting this attribute does not grant any actual - authorization on the project, and is merely provided for convenience. - Therefore, the referenced project does not need to exist within the user - domain. If the user does not have authorization to their default - project, the default project is ignored at token creation. Additionally, - if your default project is not valid, a token is issued without an - explicit scope of authorization. - domain_id: - type: string - description: User domain ID. - enabled: - type: - - boolean - - 'null' - description: |- - If the user is enabled, this value is true. If the user is disabled, - this value is false. - name: - type: string - description: The user name. Must be unique within the owning domain. - options: - oneOf: - - type: 'null' - - $ref: '#/components/schemas/UserOptions' - description: |- - The resource options for the user. Available resource options are - ignore_change_password_upon_first_use, ignore_password_expiry, - ignore_lockout_failure_attempts, lock_password, - multi_factor_auth_enabled, and multi_factor_auth_rules - ignore_user_inactivity. - password: - type: - - string - - 'null' - description: The password for the user. + type: object description: Create user data. + required: + - domain_id + - enabled + - name + properties: + default_project_id: + type: + - string + - 'null' + description: |- + The ID of the default project for the user. A user's default project + must not be a domain. Setting this attribute does not grant any actual + authorization on the project, and is merely provided for convenience. + Therefore, the referenced project does not need to exist within the user + domain. If the user does not have authorization to their default + project, the default project is ignored at token creation. Additionally, + if your default project is not valid, a token is issued without an + explicit scope of authorization. + domain_id: + type: string + description: User domain ID. + enabled: + type: boolean + description: |- + If the user is enabled, this value is true. If the user is disabled, + this value is false. + name: + type: string + description: The user name. Must be unique within the owning domain. + options: + oneOf: + - type: 'null' + - $ref: '#/components/schemas/UserOptions' + description: |- + The resource options for the user. Available resource options are + ignore_change_password_upon_first_use, ignore_password_expiry, + ignore_lockout_failure_attempts, lock_password, + multi_factor_auth_enabled, and multi_factor_auth_rules + ignore_user_inactivity. + password: + type: + - string + - 'null' + description: The password for the user. + additionalProperties: + description: Additional user properties. UserCreateRequest: type: object description: Complete create user request. diff --git a/openstack_types/data/identity/v3.14.yaml b/openstack_types/data/identity/v3.14.yaml index d50fffb2e..ad5238bcd 100644 --- a/openstack_types/data/identity/v3.14.yaml +++ b/openstack_types/data/identity/v3.14.yaml @@ -795,7 +795,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Os_FederationIdentity_ProvidersProtocolPatchRequest' + $ref: '#/components/schemas/Os_FederationIdentity_ProvidersProtocolPatch' responses: '200': content: @@ -813,14 +813,14 @@ paths: description: |- Create protocol for an IDP. - PUT /OS-Federation/identity_providers/{idp_id}/protocols/{protocol_id} + PUT /OS-FEDERATION/identity_providers/{idp_id}/protocols/{protocol_id} operationId: OS-FEDERATION/identity_providers/idp_id/protocols/protocol_id:put requestBody: content: application/json: schema: - $ref: '#/components/schemas/Os_FederationIdentity_ProvidersProtocolPutRequest' + $ref: '#/components/schemas/Os_FederationIdentity_ProvidersProtocolPut' responses: '201': content: @@ -11803,9 +11803,11 @@ components: - 'null' - string enabled: - description: Indicates whether the endpoint appears in the service - catalog -false. The endpoint does not appear in the service - catalog. -true. The endpoint appears in the service catalog. + description: |- + Indicates whether the endpoint appears in the + service catalog: - `false`. The endpoint does not appear in the + service catalog. - `true`. The endpoint appears in the service + catalog. type: boolean interface: description: |- @@ -13540,6 +13542,7 @@ components: remote_ids: description: List of the unique identity provider's remote IDs items: + maxLength: 64 type: string type: - array @@ -13641,6 +13644,7 @@ components: remote_ids: description: List of the unique identity provider's remote IDs items: + maxLength: 64 type: string type: - array @@ -13725,11 +13729,12 @@ components: type: string type: object type: object - Os_FederationIdentity_ProvidersProtocolPatchRequest: + Os_FederationIdentity_ProvidersProtocolPatch: additionalProperties: false properties: protocol: additionalProperties: false + minProperties: 1 properties: mapping_id: maxLength: 64 @@ -13737,9 +13742,7 @@ components: type: string remote_id_attribute: maxLength: 64 - type: - - 'null' - - string + type: string required: - mapping_id type: object @@ -13761,7 +13764,7 @@ components: type: string type: object type: object - Os_FederationIdentity_ProvidersProtocolPutRequest: + Os_FederationIdentity_ProvidersProtocolPut: additionalProperties: false properties: protocol: diff --git a/openstack_types/data/identity/v3.yaml b/openstack_types/data/identity/v3.yaml index d50fffb2e..ad5238bcd 100644 --- a/openstack_types/data/identity/v3.yaml +++ b/openstack_types/data/identity/v3.yaml @@ -795,7 +795,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Os_FederationIdentity_ProvidersProtocolPatchRequest' + $ref: '#/components/schemas/Os_FederationIdentity_ProvidersProtocolPatch' responses: '200': content: @@ -813,14 +813,14 @@ paths: description: |- Create protocol for an IDP. - PUT /OS-Federation/identity_providers/{idp_id}/protocols/{protocol_id} + PUT /OS-FEDERATION/identity_providers/{idp_id}/protocols/{protocol_id} operationId: OS-FEDERATION/identity_providers/idp_id/protocols/protocol_id:put requestBody: content: application/json: schema: - $ref: '#/components/schemas/Os_FederationIdentity_ProvidersProtocolPutRequest' + $ref: '#/components/schemas/Os_FederationIdentity_ProvidersProtocolPut' responses: '201': content: @@ -11803,9 +11803,11 @@ components: - 'null' - string enabled: - description: Indicates whether the endpoint appears in the service - catalog -false. The endpoint does not appear in the service - catalog. -true. The endpoint appears in the service catalog. + description: |- + Indicates whether the endpoint appears in the + service catalog: - `false`. The endpoint does not appear in the + service catalog. - `true`. The endpoint appears in the service + catalog. type: boolean interface: description: |- @@ -13540,6 +13542,7 @@ components: remote_ids: description: List of the unique identity provider's remote IDs items: + maxLength: 64 type: string type: - array @@ -13641,6 +13644,7 @@ components: remote_ids: description: List of the unique identity provider's remote IDs items: + maxLength: 64 type: string type: - array @@ -13725,11 +13729,12 @@ components: type: string type: object type: object - Os_FederationIdentity_ProvidersProtocolPatchRequest: + Os_FederationIdentity_ProvidersProtocolPatch: additionalProperties: false properties: protocol: additionalProperties: false + minProperties: 1 properties: mapping_id: maxLength: 64 @@ -13737,9 +13742,7 @@ components: type: string remote_id_attribute: maxLength: 64 - type: - - 'null' - - string + type: string required: - mapping_id type: object @@ -13761,7 +13764,7 @@ components: type: string type: object type: object - Os_FederationIdentity_ProvidersProtocolPutRequest: + Os_FederationIdentity_ProvidersProtocolPut: additionalProperties: false properties: protocol: diff --git a/openstack_types/data/network/v2.28.yaml b/openstack_types/data/network/v2.28.yaml index dc97c40c5..4c79866e3 100644 --- a/openstack_types/data/network/v2.28.yaml +++ b/openstack_types/data/network/v2.28.yaml @@ -18530,8 +18530,7 @@ components: PortsBindingsActivateActivateRequest: properties: host: - description: |- - The hostname of the system the agent is running on. + description: The hostname of the system the agent is running on. type: string type: object PortsBindingsCreateRequest: diff --git a/openstack_types/data/network/v2.yaml b/openstack_types/data/network/v2.yaml index dc97c40c5..4c79866e3 100644 --- a/openstack_types/data/network/v2.yaml +++ b/openstack_types/data/network/v2.yaml @@ -18530,8 +18530,7 @@ components: PortsBindingsActivateActivateRequest: properties: host: - description: |- - The hostname of the system the agent is running on. + description: The hostname of the system the agent is running on. type: string type: object PortsBindingsCreateRequest: diff --git a/openstack_types/data/shared-file-system/v2.95.yaml b/openstack_types/data/shared-file-system/v2.95.yaml index 55032687a..46d57dde6 100644 --- a/openstack_types/data/shared-file-system/v2.95.yaml +++ b/openstack_types/data/shared-file-system/v2.95.yaml @@ -907,7 +907,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ServicesEnsure_SharesEnsure_SharesRequest' + $ref: '#/components/schemas/ServicesEnsure_SharesEnsure_Shares_286' responses: '201': content: @@ -2004,7 +2004,7 @@ paths: tags: - share-replicas x-openstack: - max-ver: '2.66' + max-ver: '2.94' min-ver: '2.11' /share-replicas/detail: get: @@ -3208,6 +3208,8 @@ paths: description: Ok tags: - snapshots + x-openstack: + min-ver: '2.0' parameters: - $ref: '#/components/parameters/snapshots_id' put: @@ -6496,14 +6498,26 @@ components: ServiceUpdateResponse: description: Response of the services/id:put operation type: object - ServicesEnsure_SharesEnsure_SharesRequest: - description: Request of the services/ensure-shares:post operation + ServicesEnsure_SharesEnsure_Shares_286: + additionalProperties: false + properties: + ensure_shares: + additionalProperties: false + properties: + host: + description: "The host name of the manila-share binary that you want + to\nstart the ensure shares procedure in the ``host@backend`` format.\n" + type: string + required: + - host + type: object + required: + - ensure_shares type: object x-openstack: - action-name: ensure_shares + min-ver: '2.86' ServicesEnsure_SharesResponse: - description: Response of the services/ensure-shares:post operation - type: object + type: 'null' ServicesListResponse: description: Response of the services:get operation type: object @@ -7994,6 +8008,7 @@ components: additionalProperties: true properties: snapshot_id: + description: "The UUID of the share's base snapshot.\n" format: uuid type: string required: @@ -8552,7 +8567,107 @@ components: operation type: object SnapshotShowResponse: - description: Response of the snapshots/id:get operation + additionalProperties: false + properties: + snapshot: + additionalProperties: false + properties: + created_at: + description: "The date and time stamp when the resource was created + within the service's\ndatabase.\n\nThe date and time stamp format + is `ISO 8601\n`_:\n\n::\n\n\ + \ CCYY-MM-DDThh:mm:ss±hh:mm\n\nThe ``±hh:mm`` value, if included, + returns the time zone as an\noffset from UTC.\n\nFor example, ``2019-03-27T09:49:58-05:00``.\n" + type: string + description: + description: "The user defined description of the resource.\n" + type: + - 'null' + - string + id: + description: "The UUID of the snapshot.\n" + type: + - integer + - string + links: + items: + additionalProperties: false + properties: + href: + format: uri + type: string + rel: + enum: + - bookmark + - self + type: string + required: + - href + - rel + type: object + type: array + metadata: + additionalProperties: + type: string + description: "One or more metadata key and value pairs as a\ndictionary + of strings.\n" + type: object + name: + description: "The user defined name of the resource.\n" + type: + - 'null' + - string + project_id: + description: "ID of the project that the snapshot belongs to.\n" + type: string + provider_location: + description: "Provider location of the snapshot on the backend.\n" + type: + - 'null' + - string + share_id: + description: "The UUID of the source share that was used to\ncreate + the snapshot.\n" + type: string + share_proto: + description: "The file system protocol of a share snapshot. A\nvalid + value is ``NFS``, ``CIFS``, ``GlusterFS``, ``HDFS``,\n``CephFS`` or + ``MAPRFS``. ``CephFS`` is supported starting\nwith API v2.13.\n" + type: string + share_size: + description: "The share snapshot size, in GiBs.\n" + type: + - integer + - 'null' + size: + description: "The snapshot size, in GiBs.\n" + type: + - integer + - 'null' + status: + description: "The snapshot status, which can be ``available``,\n``error``, + ``creating``, ``deleting``, ``manage_starting``,\n``manage_error``, + ``unmanage_starting``, ``unmanage_error`` or\n``error_deleting``.\n" + type: string + user_id: + description: "ID of the user that the snapshot was created by.\n" + type: string + required: + - created_at + - description + - id + - links + - name + - project_id + - share_id + - share_proto + - share_size + - size + - status + - user_id + type: object + required: + - snapshot type: object SnapshotUpdateRequest: description: Request of the snapshots/id:put operation diff --git a/openstack_types/data/shared-file-system/v2.yaml b/openstack_types/data/shared-file-system/v2.yaml index 55032687a..46d57dde6 100644 --- a/openstack_types/data/shared-file-system/v2.yaml +++ b/openstack_types/data/shared-file-system/v2.yaml @@ -907,7 +907,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ServicesEnsure_SharesEnsure_SharesRequest' + $ref: '#/components/schemas/ServicesEnsure_SharesEnsure_Shares_286' responses: '201': content: @@ -2004,7 +2004,7 @@ paths: tags: - share-replicas x-openstack: - max-ver: '2.66' + max-ver: '2.94' min-ver: '2.11' /share-replicas/detail: get: @@ -3208,6 +3208,8 @@ paths: description: Ok tags: - snapshots + x-openstack: + min-ver: '2.0' parameters: - $ref: '#/components/parameters/snapshots_id' put: @@ -6496,14 +6498,26 @@ components: ServiceUpdateResponse: description: Response of the services/id:put operation type: object - ServicesEnsure_SharesEnsure_SharesRequest: - description: Request of the services/ensure-shares:post operation + ServicesEnsure_SharesEnsure_Shares_286: + additionalProperties: false + properties: + ensure_shares: + additionalProperties: false + properties: + host: + description: "The host name of the manila-share binary that you want + to\nstart the ensure shares procedure in the ``host@backend`` format.\n" + type: string + required: + - host + type: object + required: + - ensure_shares type: object x-openstack: - action-name: ensure_shares + min-ver: '2.86' ServicesEnsure_SharesResponse: - description: Response of the services/ensure-shares:post operation - type: object + type: 'null' ServicesListResponse: description: Response of the services:get operation type: object @@ -7994,6 +8008,7 @@ components: additionalProperties: true properties: snapshot_id: + description: "The UUID of the share's base snapshot.\n" format: uuid type: string required: @@ -8552,7 +8567,107 @@ components: operation type: object SnapshotShowResponse: - description: Response of the snapshots/id:get operation + additionalProperties: false + properties: + snapshot: + additionalProperties: false + properties: + created_at: + description: "The date and time stamp when the resource was created + within the service's\ndatabase.\n\nThe date and time stamp format + is `ISO 8601\n`_:\n\n::\n\n\ + \ CCYY-MM-DDThh:mm:ss±hh:mm\n\nThe ``±hh:mm`` value, if included, + returns the time zone as an\noffset from UTC.\n\nFor example, ``2019-03-27T09:49:58-05:00``.\n" + type: string + description: + description: "The user defined description of the resource.\n" + type: + - 'null' + - string + id: + description: "The UUID of the snapshot.\n" + type: + - integer + - string + links: + items: + additionalProperties: false + properties: + href: + format: uri + type: string + rel: + enum: + - bookmark + - self + type: string + required: + - href + - rel + type: object + type: array + metadata: + additionalProperties: + type: string + description: "One or more metadata key and value pairs as a\ndictionary + of strings.\n" + type: object + name: + description: "The user defined name of the resource.\n" + type: + - 'null' + - string + project_id: + description: "ID of the project that the snapshot belongs to.\n" + type: string + provider_location: + description: "Provider location of the snapshot on the backend.\n" + type: + - 'null' + - string + share_id: + description: "The UUID of the source share that was used to\ncreate + the snapshot.\n" + type: string + share_proto: + description: "The file system protocol of a share snapshot. A\nvalid + value is ``NFS``, ``CIFS``, ``GlusterFS``, ``HDFS``,\n``CephFS`` or + ``MAPRFS``. ``CephFS`` is supported starting\nwith API v2.13.\n" + type: string + share_size: + description: "The share snapshot size, in GiBs.\n" + type: + - integer + - 'null' + size: + description: "The snapshot size, in GiBs.\n" + type: + - integer + - 'null' + status: + description: "The snapshot status, which can be ``available``,\n``error``, + ``creating``, ``deleting``, ``manage_starting``,\n``manage_error``, + ``unmanage_starting``, ``unmanage_error`` or\n``error_deleting``.\n" + type: string + user_id: + description: "ID of the user that the snapshot was created by.\n" + type: string + required: + - created_at + - description + - id + - links + - name + - project_id + - share_id + - share_proto + - share_size + - size + - status + - user_id + type: object + required: + - snapshot type: object SnapshotUpdateRequest: description: Request of the snapshots/id:put operation diff --git a/openstack_types/src/compute/v2/server/security_group/response/list.rs b/openstack_types/src/compute/v2/server/security_group/response/list.rs index 118a2b006..9f44d7554 100644 --- a/openstack_types/src/compute/v2/server/security_group/response/list.rs +++ b/openstack_types/src/compute/v2/server/security_group/response/list.rs @@ -17,15 +17,12 @@ //! Response type for the GET `servers/{server_id}/os-security-groups` operation use serde::{Deserialize, Serialize}; -use serde_json::Value; -use std::collections::BTreeMap; use structable::{StructTable, StructTableOptions}; /// SecurityGroup response representation #[derive(Clone, Deserialize, Serialize, StructTable)] pub struct SecurityGroupResponse { /// Security group description. - #[serde(default)] #[structable(optional, wide)] pub description: Option, @@ -38,38 +35,42 @@ pub struct SecurityGroupResponse { pub name: String, /// The list of security group rules. - #[serde(default)] - #[structable(optional, serialize, wide)] - pub rules: Option>, + #[structable(serialize, wide)] + pub rules: Vec, - /// The UUID of the tenant in a multi-tenancy cloud. - #[serde(default)] - #[structable(optional, wide)] - pub tenant_id: Option, + /// The UUID of the tenant that owns this security group. + #[structable(wide)] + pub tenant_id: String, } +/// A `group` object. Includes the `tenant_id` and the source security group +/// `name`. /// `Group` type #[derive(Clone, Debug, Deserialize, Serialize)] pub struct Group { #[serde(default)] pub name: Option, + #[serde(default)] + pub tenant_id: Option, } +/// An IP range object. Includes the security group rule `cidr`. +/// `IpRange` type +#[derive(Clone, Debug, Deserialize, Serialize)] +pub struct IpRange { + #[serde(default)] + pub cidr: Option, +} + +/// A `security_group_rule` object. /// `Rules` type #[derive(Clone, Debug, Deserialize, Serialize)] pub struct Rules { - #[serde(default)] pub from_port: Option, - #[serde(default)] - pub group: Option, - #[serde(default)] - pub id: Option, - #[serde(default)] + pub group: Group, + pub id: String, pub ip_protocol: Option, - #[serde(default)] - pub ip_range: Option>, - #[serde(default)] - pub parent_group_id: Option, - #[serde(default)] + pub ip_range: IpRange, + pub parent_group_id: String, pub to_port: Option, } diff --git a/openstack_types/src/container_infrastructure_management/v1/cluster/nodegroup/response/create.rs b/openstack_types/src/container_infrastructure_management/v1/cluster/nodegroup/response/create.rs index c8ca880a8..adedebed8 100644 --- a/openstack_types/src/container_infrastructure_management/v1/cluster/nodegroup/response/create.rs +++ b/openstack_types/src/container_infrastructure_management/v1/cluster/nodegroup/response/create.rs @@ -53,19 +53,19 @@ pub struct NodegroupResponse { #[serde(default)] #[structable(optional, serialize)] - pub labels: Option>, + pub labels: Option>, #[serde(default)] #[structable(optional, serialize)] - pub labels_added: Option>, + pub labels_added: Option>, #[serde(default)] #[structable(optional, serialize)] - pub labels_overridden: Option>, + pub labels_overridden: Option>, #[serde(default)] #[structable(optional, serialize)] - pub labels_skipped: Option>, + pub labels_skipped: Option>, #[serde(default)] #[structable(optional, serialize)] diff --git a/openstack_types/src/container_infrastructure_management/v1/cluster/nodegroup/response/get.rs b/openstack_types/src/container_infrastructure_management/v1/cluster/nodegroup/response/get.rs index 9f14494b3..cee9972ba 100644 --- a/openstack_types/src/container_infrastructure_management/v1/cluster/nodegroup/response/get.rs +++ b/openstack_types/src/container_infrastructure_management/v1/cluster/nodegroup/response/get.rs @@ -53,19 +53,19 @@ pub struct NodegroupResponse { #[serde(default)] #[structable(optional, serialize)] - pub labels: Option>, + pub labels: Option>, #[serde(default)] #[structable(optional, serialize)] - pub labels_added: Option>, + pub labels_added: Option>, #[serde(default)] #[structable(optional, serialize)] - pub labels_overridden: Option>, + pub labels_overridden: Option>, #[serde(default)] #[structable(optional, serialize)] - pub labels_skipped: Option>, + pub labels_skipped: Option>, #[serde(default)] #[structable(optional, serialize)] diff --git a/openstack_types/src/container_infrastructure_management/v1/cluster/nodegroup/response/list.rs b/openstack_types/src/container_infrastructure_management/v1/cluster/nodegroup/response/list.rs index 85932af28..86a0c79d7 100644 --- a/openstack_types/src/container_infrastructure_management/v1/cluster/nodegroup/response/list.rs +++ b/openstack_types/src/container_infrastructure_management/v1/cluster/nodegroup/response/list.rs @@ -53,19 +53,19 @@ pub struct NodegroupResponse { #[serde(default)] #[structable(optional, serialize, wide)] - pub labels: Option>, + pub labels: Option>, #[serde(default)] #[structable(optional, serialize, wide)] - pub labels_added: Option>, + pub labels_added: Option>, #[serde(default)] #[structable(optional, serialize, wide)] - pub labels_overridden: Option>, + pub labels_overridden: Option>, #[serde(default)] #[structable(optional, serialize, wide)] - pub labels_skipped: Option>, + pub labels_skipped: Option>, #[serde(default)] #[structable(optional, wide)] diff --git a/openstack_types/src/container_infrastructure_management/v1/cluster/nodegroup/response/set.rs b/openstack_types/src/container_infrastructure_management/v1/cluster/nodegroup/response/set.rs index 9b35c419e..6511cea6a 100644 --- a/openstack_types/src/container_infrastructure_management/v1/cluster/nodegroup/response/set.rs +++ b/openstack_types/src/container_infrastructure_management/v1/cluster/nodegroup/response/set.rs @@ -53,19 +53,19 @@ pub struct NodegroupResponse { #[serde(default)] #[structable(optional, serialize)] - pub labels: Option>, + pub labels: Option>, #[serde(default)] #[structable(optional, serialize)] - pub labels_added: Option>, + pub labels_added: Option>, #[serde(default)] #[structable(optional, serialize)] - pub labels_overridden: Option>, + pub labels_overridden: Option>, #[serde(default)] #[structable(optional, serialize)] - pub labels_skipped: Option>, + pub labels_skipped: Option>, #[serde(default)] #[structable(optional, serialize)] diff --git a/openstack_types/src/container_infrastructure_management/v1/cluster/response/get.rs b/openstack_types/src/container_infrastructure_management/v1/cluster/response/get.rs index 05bfb735d..0e49e1e33 100644 --- a/openstack_types/src/container_infrastructure_management/v1/cluster/response/get.rs +++ b/openstack_types/src/container_infrastructure_management/v1/cluster/response/get.rs @@ -118,19 +118,19 @@ pub struct ClusterResponse { #[serde(default)] #[structable(optional, serialize)] - pub labels: Option>, + pub labels: Option>, #[serde(default)] #[structable(optional, serialize)] - pub labels_added: Option>, + pub labels_added: Option>, #[serde(default)] #[structable(optional, serialize)] - pub labels_overridden: Option>, + pub labels_overridden: Option>, #[serde(default)] #[structable(optional, serialize)] - pub labels_skipped: Option>, + pub labels_skipped: Option>, /// Links to the resources in question. #[serde(default)] diff --git a/openstack_types/src/container_infrastructure_management/v1/cluster/response/list.rs b/openstack_types/src/container_infrastructure_management/v1/cluster/response/list.rs index 5c9ded04e..a783f23e8 100644 --- a/openstack_types/src/container_infrastructure_management/v1/cluster/response/list.rs +++ b/openstack_types/src/container_infrastructure_management/v1/cluster/response/list.rs @@ -97,19 +97,19 @@ pub struct ClusterResponse { #[serde(default)] #[structable(optional, serialize, wide)] - pub labels: Option>, + pub labels: Option>, #[serde(default)] #[structable(optional, serialize, wide)] - pub labels_added: Option>, + pub labels_added: Option>, #[serde(default)] #[structable(optional, serialize, wide)] - pub labels_overridden: Option>, + pub labels_overridden: Option>, #[serde(default)] #[structable(optional, serialize, wide)] - pub labels_skipped: Option>, + pub labels_skipped: Option>, #[serde(default)] #[structable(optional, serialize, wide)] diff --git a/openstack_types/src/container_infrastructure_management/v1/clustertemplate/response/create.rs b/openstack_types/src/container_infrastructure_management/v1/clustertemplate/response/create.rs index ae72dacd8..07b10db19 100644 --- a/openstack_types/src/container_infrastructure_management/v1/clustertemplate/response/create.rs +++ b/openstack_types/src/container_infrastructure_management/v1/clustertemplate/response/create.rs @@ -161,7 +161,7 @@ pub struct ClustertemplateResponse { /// driver. #[serde(default)] #[structable(optional, serialize)] - pub labels: Option>, + pub labels: Option>, /// Links to the resources in question. #[serde(default)] diff --git a/openstack_types/src/container_infrastructure_management/v1/clustertemplate/response/get.rs b/openstack_types/src/container_infrastructure_management/v1/clustertemplate/response/get.rs index 5391d2b8f..44646e894 100644 --- a/openstack_types/src/container_infrastructure_management/v1/clustertemplate/response/get.rs +++ b/openstack_types/src/container_infrastructure_management/v1/clustertemplate/response/get.rs @@ -161,7 +161,7 @@ pub struct ClustertemplateResponse { /// driver. #[serde(default)] #[structable(optional, serialize)] - pub labels: Option>, + pub labels: Option>, /// Links to the resources in question. #[serde(default)] diff --git a/openstack_types/src/container_infrastructure_management/v1/clustertemplate/response/list.rs b/openstack_types/src/container_infrastructure_management/v1/clustertemplate/response/list.rs index 8a2ce2f17..39df260eb 100644 --- a/openstack_types/src/container_infrastructure_management/v1/clustertemplate/response/list.rs +++ b/openstack_types/src/container_infrastructure_management/v1/clustertemplate/response/list.rs @@ -161,7 +161,7 @@ pub struct ClustertemplateResponse { /// driver. #[serde(default)] #[structable(optional, serialize, wide)] - pub labels: Option>, + pub labels: Option>, /// The flavor of the master node for this cluster template. #[serde(default)] diff --git a/openstack_types/src/dns/v2/zone/response/create.rs b/openstack_types/src/dns/v2/zone/response/create.rs index 5ac33f422..1cae6b402 100644 --- a/openstack_types/src/dns/v2/zone/response/create.rs +++ b/openstack_types/src/dns/v2/zone/response/create.rs @@ -45,7 +45,8 @@ pub struct ZoneResponse { #[structable(optional)] pub description: Option, - /// e-mail for the zone. Used in SOA records for the zone + /// e-mail for the zone. Used in SOA records for the zone. Mandatory for + /// PRIMARY zones, forbidden for SECONDARY zones. #[serde(default)] #[structable(optional)] pub email: Option, diff --git a/openstack_types/src/dns/v2/zone/response/get.rs b/openstack_types/src/dns/v2/zone/response/get.rs index 631de3f0b..584d0c2be 100644 --- a/openstack_types/src/dns/v2/zone/response/get.rs +++ b/openstack_types/src/dns/v2/zone/response/get.rs @@ -45,7 +45,8 @@ pub struct ZoneResponse { #[structable(optional)] pub description: Option, - /// e-mail for the zone. Used in SOA records for the zone + /// e-mail for the zone. Used in SOA records for the zone. Mandatory for + /// PRIMARY zones, forbidden for SECONDARY zones. #[serde(default)] #[structable(optional)] pub email: Option, diff --git a/openstack_types/src/dns/v2/zone/response/list.rs b/openstack_types/src/dns/v2/zone/response/list.rs index c11374e6e..811be19e0 100644 --- a/openstack_types/src/dns/v2/zone/response/list.rs +++ b/openstack_types/src/dns/v2/zone/response/list.rs @@ -45,7 +45,8 @@ pub struct ZoneResponse { #[structable(optional, wide)] pub description: Option, - /// e-mail for the zone. Used in SOA records for the zone + /// e-mail for the zone. Used in SOA records for the zone. Mandatory for + /// PRIMARY zones, forbidden for SECONDARY zones. #[serde(default)] #[structable(optional, wide)] pub email: Option, diff --git a/openstack_types/src/dns/v2/zone/response/set.rs b/openstack_types/src/dns/v2/zone/response/set.rs index 6bbbea8f2..8755c681c 100644 --- a/openstack_types/src/dns/v2/zone/response/set.rs +++ b/openstack_types/src/dns/v2/zone/response/set.rs @@ -45,7 +45,8 @@ pub struct ZoneResponse { #[structable(optional)] pub description: Option, - /// e-mail for the zone. Used in SOA records for the zone + /// e-mail for the zone. Used in SOA records for the zone. Mandatory for + /// PRIMARY zones, forbidden for SECONDARY zones. #[serde(default)] #[structable(optional)] pub email: Option,