Struct azure_mgmt_resources::package_policy_2021_06::models::DataManifestCustomResourceFunctionDefinition
source · pub struct DataManifestCustomResourceFunctionDefinition {
pub name: Option<String>,
pub fully_qualified_resource_type: Option<String>,
pub default_properties: Vec<String>,
pub allow_custom_properties: Option<bool>,
}
Expand description
The custom resource function definition.
Fields§
§name: Option<String>
The function name as it will appear in the policy rule. eg - ‘vault’.
fully_qualified_resource_type: Option<String>
The fully qualified control plane resource type that this function represents. eg - ‘Microsoft.KeyVault/vaults’.
default_properties: Vec<String>
The top-level properties that can be selected on the function’s output. eg - [ “name”, “location” ] if vault().name and vault().location are supported
allow_custom_properties: Option<bool>
A value indicating whether the custom properties within the property bag are allowed. Needs api-version to be specified in the policy rule eg - vault(‘2019-06-01’).
Implementations§
Trait Implementations§
source§impl Clone for DataManifestCustomResourceFunctionDefinition
impl Clone for DataManifestCustomResourceFunctionDefinition
source§fn clone(&self) -> DataManifestCustomResourceFunctionDefinition
fn clone(&self) -> DataManifestCustomResourceFunctionDefinition
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 Default for DataManifestCustomResourceFunctionDefinition
impl Default for DataManifestCustomResourceFunctionDefinition
source§fn default() -> DataManifestCustomResourceFunctionDefinition
fn default() -> DataManifestCustomResourceFunctionDefinition
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DataManifestCustomResourceFunctionDefinition
impl<'de> Deserialize<'de> for DataManifestCustomResourceFunctionDefinition
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<DataManifestCustomResourceFunctionDefinition> for DataManifestCustomResourceFunctionDefinition
impl PartialEq<DataManifestCustomResourceFunctionDefinition> for DataManifestCustomResourceFunctionDefinition
source§fn eq(&self, other: &DataManifestCustomResourceFunctionDefinition) -> bool
fn eq(&self, other: &DataManifestCustomResourceFunctionDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.