pub fn new(http_client: Arc<dyn HttpClient>) -> Self {
        Self {
            http_client,
            object_id: None,
            client_id: None,
            msi_res_id: None,
        }
    }
/// Creates a new `ImdsManagedIdentityCredential` using the given `HttpClient`.
Creates a new `ImdsManagedIdentityCredential` using the given `HttpClient`.
Creates a new ` ImdsManagedIdentityCredential ` using the given ` HttpClient ` .
pub fn new(http_client: Arc<dyn HttpClient>) -> Self {
        Self {
            http_client,
            object_id: None,
            client_id: None,
            msi_res_id: None,
        }
    }
pub fn new ( http_client : Arc < dyn HttpClient > ) -> Self { Self { http_client , object_id : None , client_id : None , msi_res_id : None , } }
Creates a new `ImdsManagedIdentityCredential` using the given `HttpClient`.
Creates a new ` ImdsManagedIdentityCredential ` using the given ` HttpClient ` .
http_client
Arc<dyn HttpClient>