pub struct Alias {
pub name: String,
pub indexes: Vec<String>,
pub extra: HashMap<String, Value>,
}Expand description
Azure AI Search Alias definition
Aliases provide stable endpoint names that point to one or more indexes, enabling zero-downtime reindexing by swapping which index an alias points to.
Fields§
§name: String§indexes: Vec<String>§extra: HashMap<String, Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Alias
impl<'de> Deserialize<'de> for Alias
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 Resource for Alias
impl Resource for Alias
Source§fn kind() -> ResourceKind
fn kind() -> ResourceKind
Returns the resource kind
Source§fn dependencies(&self) -> Vec<(ResourceKind, String)>
fn dependencies(&self) -> Vec<(ResourceKind, String)>
Returns dependencies on other resources (resource kind, name)
Source§fn volatile_fields() -> &'static [&'static str]
fn volatile_fields() -> &'static [&'static str]
Returns fields that should be stripped during normalization (pull and push).
These are truly transient or sensitive: OData metadata, secrets, credentials.
Source§fn read_only_fields() -> &'static [&'static str]
fn read_only_fields() -> &'static [&'static str]
Returns fields that are read-only — Azure returns them in GET but rejects
them in PUT. These are kept in local files for documentation (e.g. showing
which resources are connected) but stripped before pushing to Azure.
Source§fn identity_key() -> &'static str
fn identity_key() -> &'static str
Returns the identity key for array sorting within this resource type
Source§fn immutable_fields() -> &'static [&'static str]
fn immutable_fields() -> &'static [&'static str]
Returns fields that are immutable after creation
Auto Trait Implementations§
impl Freeze for Alias
impl RefUnwindSafe for Alias
impl Send for Alias
impl Sync for Alias
impl Unpin for Alias
impl UnwindSafe for Alias
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