pub struct AzureMetadata { /* private fields */ }Implementations§
Source§impl AzureMetadata
impl AzureMetadata
pub fn new<T: QueryEnv>(query: T) -> Option<Self>
pub fn new_function<T: QueryEnv>(query: T) -> Option<Self>
pub fn get_resource_id(&self) -> &str
pub fn get_subscription_id(&self) -> &str
pub fn get_site_name(&self) -> &str
pub fn get_resource_group(&self) -> &str
pub fn get_extension_version(&self) -> &str
pub fn get_operating_system(&self) -> &str
pub fn get_instance_name(&self) -> &str
pub fn get_instance_id(&self) -> &str
pub fn get_site_type(&self) -> &str
pub fn get_site_kind(&self) -> &str
pub fn get_runtime(&self) -> &str
pub fn get_runtime_version(&self) -> &str
pub fn get_function_runtime_version(&self) -> &str
Returns Azure App Services tags as an iterator of (tag_name, tag_value) tuples. These tags are specific to Azure App Services.
Returns Azure Functions tags as an iterator of (tag_name, tag_value) tuples. These tags are specific to Azure Functions.
Trait Implementations§
Source§impl Default for AzureMetadata
impl Default for AzureMetadata
Source§fn default() -> AzureMetadata
fn default() -> AzureMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AzureMetadata
impl RefUnwindSafe for AzureMetadata
impl Send for AzureMetadata
impl Sync for AzureMetadata
impl Unpin for AzureMetadata
impl UnsafeUnpin for AzureMetadata
impl UnwindSafe for AzureMetadata
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