pub struct MonitoringGetDestinationResponse {
pub destination: Option<MonitoringGetDestinationResponseDestination>,
}Expand description
MonitoringGetDestinationResponse
JSON schema
{
"properties": {
"destination": {
"type": "object",
"properties": {
"config": {
"description": "OpenSearch destination configuration with `credentials` omitted.",
"type": "object",
"properties": {
"cluster_name": {
"description": "Name of a managed OpenSearch cluster.",
"examples": [
"managed_dbaas_cluster"
],
"type": "string"
},
"cluster_uuid": {
"description": "A unique identifier for a managed OpenSearch cluster.",
"examples": [
"85148069-7e35-4999-80bd-6fa1637ca385"
],
"type": "string"
},
"endpoint": {
"description": "host of the OpenSearch cluster",
"examples": [
"example.com"
],
"type": "string"
},
"id": {
"description": "A unique identifier for a configuration.",
"examples": [
"41078d41-165c-4cff-9f0a-19536e3e3d49"
],
"type": "string"
},
"index_name": {
"description": "OpenSearch index to send logs to.",
"examples": [
"logs"
],
"type": "string"
},
"retention_days": {
"description": "Number of days to retain logs in OpenSearch.",
"default": 14,
"examples": [
14
],
"type": "integer"
}
}
},
"id": {
"description": "A unique identifier for a destination.",
"examples": [
"01f30bfa-319a-4769-ba95-9d43971fb514"
],
"type": "string"
},
"name": {
"description": "destination name",
"examples": [
"managed_opensearch_cluster"
],
"type": "string"
},
"type": {
"description": "The destination type. `opensearch_dbaas` for a DigitalOcean managed OpenSearch\ncluster or `opensearch_ext` for an externally managed one.\n",
"examples": [
"opensearch_dbaas"
],
"type": "string",
"enum": [
"opensearch_dbaas",
"opensearch_ext"
]
}
}
}
}
}Fields§
§destination: Option<MonitoringGetDestinationResponseDestination>Trait Implementations§
Source§impl Clone for MonitoringGetDestinationResponse
impl Clone for MonitoringGetDestinationResponse
Source§fn clone(&self) -> MonitoringGetDestinationResponse
fn clone(&self) -> MonitoringGetDestinationResponse
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<'de> Deserialize<'de> for MonitoringGetDestinationResponse
impl<'de> Deserialize<'de> for MonitoringGetDestinationResponse
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 From<&MonitoringGetDestinationResponse> for MonitoringGetDestinationResponse
impl From<&MonitoringGetDestinationResponse> for MonitoringGetDestinationResponse
Source§fn from(value: &MonitoringGetDestinationResponse) -> Self
fn from(value: &MonitoringGetDestinationResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MonitoringGetDestinationResponse
impl RefUnwindSafe for MonitoringGetDestinationResponse
impl Send for MonitoringGetDestinationResponse
impl Sync for MonitoringGetDestinationResponse
impl Unpin for MonitoringGetDestinationResponse
impl UnsafeUnpin for MonitoringGetDestinationResponse
impl UnwindSafe for MonitoringGetDestinationResponse
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