pub struct ResourceSku {
pub resource_type: Option<String>,
pub name: Option<String>,
pub tier: Option<String>,
pub size: Option<String>,
pub family: Option<String>,
pub kind: Option<String>,
pub capacity: Option<ResourceSkuCapacity>,
pub locations: Vec<String>,
pub api_versions: Vec<String>,
pub costs: Vec<ResourceSkuCosts>,
pub capabilities: Vec<ResourceSkuCapabilities>,
pub restrictions: Vec<ResourceSkuRestrictions>,
}
Expand description
Describes an available DMS SKU.
Fields§
§resource_type: Option<String>
The type of resource the SKU applies to.
name: Option<String>
The name of SKU.
tier: Option<String>
Specifies the tier of DMS in a scale set.
size: Option<String>
The Size of the SKU.
family: Option<String>
The Family of this particular SKU.
kind: Option<String>
The Kind of resources that are supported in this SKU.
capacity: Option<ResourceSkuCapacity>
Describes scaling information of a SKU.
locations: Vec<String>
The set of locations that the SKU is available.
api_versions: Vec<String>
The api versions that support this SKU.
costs: Vec<ResourceSkuCosts>
Metadata for retrieving price info.
capabilities: Vec<ResourceSkuCapabilities>
A name value pair to describe the capability.
restrictions: Vec<ResourceSkuRestrictions>
The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
Implementations§
Source§impl ResourceSku
impl ResourceSku
Trait Implementations§
Source§impl Clone for ResourceSku
impl Clone for ResourceSku
Source§fn clone(&self) -> ResourceSku
fn clone(&self) -> ResourceSku
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ResourceSku
impl Debug for ResourceSku
Source§impl Default for ResourceSku
impl Default for ResourceSku
Source§fn default() -> ResourceSku
fn default() -> ResourceSku
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResourceSku
impl<'de> Deserialize<'de> for ResourceSku
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 ResourceSku
impl PartialEq for ResourceSku
Source§impl Serialize for ResourceSku
impl Serialize for ResourceSku
impl StructuralPartialEq for ResourceSku
Auto Trait Implementations§
impl Freeze for ResourceSku
impl RefUnwindSafe for ResourceSku
impl Send for ResourceSku
impl Sync for ResourceSku
impl Unpin for ResourceSku
impl UnwindSafe for ResourceSku
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more