pub struct AzureManagedIdentity {
pub access_connector_id: String,
pub credential_id: Option<String>,
pub managed_identity_id: Option<String>,
}Expand description
The Azure managed identity configuration.
Fields§
§access_connector_id: StringThe Azure resource ID of the Azure Databricks Access Connector. Use the format /subscriptions/{guid}/resourceGroups/{rg-name}/providers/ Microsoft.Databricks/accessConnectors/{connector-name}.
credential_id: Option<String>The Databricks internal ID that represents this managed identity.
managed_identity_id: Option<String>The Azure resource ID of the managed identity. Use the format /subscriptions/{guid}/resourceGroups/{rg-name}/providers/ Microsoft.ManagedIdentity/userAssignedIdentities/{identity-name}. This is only available for user-assigned identities. For system-assigned identities, the access_connector_id is used to identify the identity. If this field is not provided, then the system-assigned identity of the Access Connector is used.
Implementations§
Source§impl AzureManagedIdentity
impl AzureManagedIdentity
Sourcepub fn credential_id(&self) -> &str
pub fn credential_id(&self) -> &str
Returns the value of credential_id, or the default value if credential_id is unset.
Sourcepub fn managed_identity_id(&self) -> &str
pub fn managed_identity_id(&self) -> &str
Returns the value of managed_identity_id, or the default value if managed_identity_id is unset.
Trait Implementations§
Source§impl Clone for AzureManagedIdentity
impl Clone for AzureManagedIdentity
Source§fn clone(&self) -> AzureManagedIdentity
fn clone(&self) -> AzureManagedIdentity
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AzureManagedIdentity
impl Debug for AzureManagedIdentity
Source§impl Default for AzureManagedIdentity
impl Default for AzureManagedIdentity
§impl<'de> Deserialize<'de> for AzureManagedIdentity
impl<'de> Deserialize<'de> for AzureManagedIdentity
§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>,
impl Eq for AzureManagedIdentity
Source§impl Hash for AzureManagedIdentity
impl Hash for AzureManagedIdentity
Source§impl Message for AzureManagedIdentity
impl Message for AzureManagedIdentity
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.