LicenseConfiguration

Struct LicenseConfiguration 

Source
pub struct LicenseConfiguration {
Show 15 fields pub automated_discovery_information: Option<AutomatedDiscoveryInformation>, pub consumed_license_summary_list: Option<Vec<ConsumedLicenseSummary>>, pub consumed_licenses: Option<i64>, pub description: Option<String>, pub license_configuration_arn: Option<String>, pub license_configuration_id: Option<String>, pub license_count: Option<i64>, pub license_count_hard_limit: Option<bool>, pub license_counting_type: Option<String>, pub license_rules: Option<Vec<String>>, pub managed_resource_summary_list: Option<Vec<ManagedResourceSummary>>, pub name: Option<String>, pub owner_account_id: Option<String>, pub product_information_list: Option<Vec<ProductInformation>>, pub status: Option<String>,
}
Expand description

A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), host affinity (how long a VM must be associated with a host), and the number of licenses purchased and used.

Fields§

§automated_discovery_information: Option<AutomatedDiscoveryInformation>

Automated discovery information.

§consumed_license_summary_list: Option<Vec<ConsumedLicenseSummary>>

Summaries for licenses consumed by various resources.

§consumed_licenses: Option<i64>

Number of licenses consumed.

§description: Option<String>

Description of the license configuration.

§license_configuration_arn: Option<String>

Amazon Resource Name (ARN) of the license configuration.

§license_configuration_id: Option<String>

Unique ID of the license configuration.

§license_count: Option<i64>

Number of licenses managed by the license configuration.

§license_count_hard_limit: Option<bool>

Number of available licenses as a hard limit.

§license_counting_type: Option<String>

Dimension to use to track the license inventory.

§license_rules: Option<Vec<String>>

License rules.

§managed_resource_summary_list: Option<Vec<ManagedResourceSummary>>

Summaries for managed resources.

§name: Option<String>

Name of the license configuration.

§owner_account_id: Option<String>

Account ID of the license configuration's owner.

§product_information_list: Option<Vec<ProductInformation>>

Product information.

§status: Option<String>

Status of the license configuration.

Trait Implementations§

Source§

impl Clone for LicenseConfiguration

Source§

fn clone(&self) -> LicenseConfiguration

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LicenseConfiguration

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for LicenseConfiguration

Source§

fn default() -> LicenseConfiguration

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for LicenseConfiguration

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for LicenseConfiguration

Source§

fn eq(&self, other: &LicenseConfiguration) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for LicenseConfiguration

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,