pub struct ResolvedBinding {
pub name: String,
pub kind: TargetKind,
pub physical_name: String,
pub arm_id: Option<String>,
pub subscription: Option<String>,
pub resource_group: Option<String>,
pub location: Option<String>,
pub endpoint: Option<String>,
pub principal_id: Option<String>,
pub resolved_at: String,
}Expand description
A binding resolved against Azure, cached so later runs don’t have to
re-discover it. Written by rigg env resolve (a later task); read by
anything that needs a physical name, ARM id, or endpoint for a binding.
Fields§
§name: StringThe binding’s name in its environment. ARM resolution has no way to
know it, so ArmClient::resolve_binding/resolve_target fill this
with the ARM resource name; the caller that knows which binding it
asked about overwrites it with the binding name before caching.
kind: TargetKind§physical_name: String§arm_id: Option<String>§subscription: Option<String>§resource_group: Option<String>§location: Option<String>§endpoint: Option<String>§principal_id: Option<String>Principal id of the resource’s system-assigned managed identity, when applicable (filled in for identity bindings by a later task).
resolved_at: StringRFC3339 timestamp of when this resolution was captured.
Trait Implementations§
Source§impl Clone for ResolvedBinding
impl Clone for ResolvedBinding
Source§fn clone(&self) -> ResolvedBinding
fn clone(&self) -> ResolvedBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResolvedBinding
impl Debug for ResolvedBinding
Source§impl<'de> Deserialize<'de> for ResolvedBinding
impl<'de> Deserialize<'de> for ResolvedBinding
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
Auto Trait Implementations§
impl Freeze for ResolvedBinding
impl RefUnwindSafe for ResolvedBinding
impl Send for ResolvedBinding
impl Sync for ResolvedBinding
impl Unpin for ResolvedBinding
impl UnsafeUnpin for ResolvedBinding
impl UnwindSafe for ResolvedBinding
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