Struct aws_sdk_licensemanager::operation::create_license_configuration::CreateLicenseConfigurationInput
source · #[non_exhaustive]pub struct CreateLicenseConfigurationInput {
pub name: Option<String>,
pub description: Option<String>,
pub license_counting_type: Option<LicenseCountingType>,
pub license_count: Option<i64>,
pub license_count_hard_limit: Option<bool>,
pub license_rules: Option<Vec<String>>,
pub tags: Option<Vec<Tag>>,
pub disassociate_when_not_found: Option<bool>,
pub product_information_list: Option<Vec<ProductInformation>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>Name of the license configuration.
description: Option<String>Description of the license configuration.
license_counting_type: Option<LicenseCountingType>Dimension used to track the license inventory.
license_count: Option<i64>Number of licenses managed by the license configuration.
license_count_hard_limit: Option<bool>Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.
license_rules: Option<Vec<String>>License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). The available rules vary by dimension, as follows.
-
Coresdimension:allowedTenancy|licenseAffinityToHost|maximumCores|minimumCores -
Instancesdimension:allowedTenancy|maximumCores|minimumCores|maximumSockets|minimumSockets|maximumVcpus|minimumVcpus -
Socketsdimension:allowedTenancy|licenseAffinityToHost|maximumSockets|minimumSockets -
vCPUsdimension:allowedTenancy|honorVcpuOptimization|maximumVcpus|minimumVcpus
The unit for licenseAffinityToHost is days and the range is 1 to 180. The possible values for allowedTenancy are EC2-Default, EC2-DedicatedHost, and EC2-DedicatedInstance. The possible values for honorVcpuOptimization are True and False.
Tags to add to the license configuration.
disassociate_when_not_found: Option<bool>When true, disassociates a resource when software is uninstalled.
product_information_list: Option<Vec<ProductInformation>>Product information.
Implementations§
source§impl CreateLicenseConfigurationInput
impl CreateLicenseConfigurationInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Description of the license configuration.
sourcepub fn license_counting_type(&self) -> Option<&LicenseCountingType>
pub fn license_counting_type(&self) -> Option<&LicenseCountingType>
Dimension used to track the license inventory.
sourcepub fn license_count(&self) -> Option<i64>
pub fn license_count(&self) -> Option<i64>
Number of licenses managed by the license configuration.
sourcepub fn license_count_hard_limit(&self) -> Option<bool>
pub fn license_count_hard_limit(&self) -> Option<bool>
Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.
sourcepub fn license_rules(&self) -> Option<&[String]>
pub fn license_rules(&self) -> Option<&[String]>
License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). The available rules vary by dimension, as follows.
-
Coresdimension:allowedTenancy|licenseAffinityToHost|maximumCores|minimumCores -
Instancesdimension:allowedTenancy|maximumCores|minimumCores|maximumSockets|minimumSockets|maximumVcpus|minimumVcpus -
Socketsdimension:allowedTenancy|licenseAffinityToHost|maximumSockets|minimumSockets -
vCPUsdimension:allowedTenancy|honorVcpuOptimization|maximumVcpus|minimumVcpus
The unit for licenseAffinityToHost is days and the range is 1 to 180. The possible values for allowedTenancy are EC2-Default, EC2-DedicatedHost, and EC2-DedicatedInstance. The possible values for honorVcpuOptimization are True and False.
Tags to add to the license configuration.
sourcepub fn disassociate_when_not_found(&self) -> Option<bool>
pub fn disassociate_when_not_found(&self) -> Option<bool>
When true, disassociates a resource when software is uninstalled.
sourcepub fn product_information_list(&self) -> Option<&[ProductInformation]>
pub fn product_information_list(&self) -> Option<&[ProductInformation]>
Product information.
source§impl CreateLicenseConfigurationInput
impl CreateLicenseConfigurationInput
sourcepub fn builder() -> CreateLicenseConfigurationInputBuilder
pub fn builder() -> CreateLicenseConfigurationInputBuilder
Creates a new builder-style object to manufacture CreateLicenseConfigurationInput.
Trait Implementations§
source§impl Clone for CreateLicenseConfigurationInput
impl Clone for CreateLicenseConfigurationInput
source§fn clone(&self) -> CreateLicenseConfigurationInput
fn clone(&self) -> CreateLicenseConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq<CreateLicenseConfigurationInput> for CreateLicenseConfigurationInput
impl PartialEq<CreateLicenseConfigurationInput> for CreateLicenseConfigurationInput
source§fn eq(&self, other: &CreateLicenseConfigurationInput) -> bool
fn eq(&self, other: &CreateLicenseConfigurationInput) -> bool
self and other values to be equal, and is used
by ==.