pub struct ProviderResourceType {
pub resource_type: Option<String>,
pub locations: Vec<String>,
pub location_mappings: Vec<ProviderExtendedLocation>,
pub aliases: Vec<Alias>,
pub api_versions: Vec<String>,
pub default_api_version: Option<String>,
pub zone_mappings: Vec<ZoneMapping>,
pub api_profiles: Vec<ApiProfile>,
pub capabilities: Option<String>,
pub properties: Option<Value>,
}
Expand description
Resource type managed by the resource provider.
Fields§
§resource_type: Option<String>
The resource type.
locations: Vec<String>
The collection of locations where this resource type can be created.
location_mappings: Vec<ProviderExtendedLocation>
The location mappings that are supported by this resource type.
aliases: Vec<Alias>
The aliases that are supported by this resource type.
api_versions: Vec<String>
The API version.
default_api_version: Option<String>
The default API version.
zone_mappings: Vec<ZoneMapping>
§api_profiles: Vec<ApiProfile>
The API profiles for the resource provider.
capabilities: Option<String>
The additional capabilities offered by this resource type.
properties: Option<Value>
The properties.
Implementations§
Trait Implementations§
source§impl Clone for ProviderResourceType
impl Clone for ProviderResourceType
source§fn clone(&self) -> ProviderResourceType
fn clone(&self) -> ProviderResourceType
Returns a copy 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 ProviderResourceType
impl Debug for ProviderResourceType
source§impl Default for ProviderResourceType
impl Default for ProviderResourceType
source§fn default() -> ProviderResourceType
fn default() -> ProviderResourceType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ProviderResourceType
impl<'de> Deserialize<'de> for ProviderResourceType
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<ProviderResourceType> for ProviderResourceType
impl PartialEq<ProviderResourceType> for ProviderResourceType
source§fn eq(&self, other: &ProviderResourceType) -> bool
fn eq(&self, other: &ProviderResourceType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.