pub struct UpdateAzureTarget {Show 20 fields
pub azure_cloud: Option<String>,
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub comment: Option<String>,
pub connection_type: Option<String>,
pub description: Option<String>,
pub json: Option<bool>,
pub keep_prev_version: Option<String>,
pub key: Option<String>,
pub max_versions: Option<String>,
pub name: String,
pub new_name: Option<String>,
pub resource_group_name: Option<String>,
pub resource_name: Option<String>,
pub subscription_id: Option<String>,
pub tenant_id: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
pub update_version: Option<bool>,
pub use_gw_cloud_identity: Option<bool>,
}Expand description
UpdateAzureTarget : updateAzureTarget is a command that updates an existing target. [Deprecated: Use target-update-azure command]
Fields§
§azure_cloud: Option<String>Azure cloud environment to use. Values: AzureCloud (default), AzureUSGovernment, AzureChinaCloud.
client_id: Option<String>Azure client/application id
client_secret: Option<String>Azure client secret
comment: Option<String>Deprecated - use description
connection_type: Option<String>Type of connection [credentials/cloud-identity]
description: Option<String>Description of the object
json: Option<bool>Set output format to JSON
keep_prev_version: Option<String>Whether to keep previous version [true/false]. If not set, use default according to account settings
key: Option<String>The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
max_versions: Option<String>Set the maximum number of versions, limited by the account settings defaults.
name: StringTarget name
new_name: Option<String>New target name
resource_group_name: Option<String>The Resource Group name in your Azure subscription
resource_name: Option<String>The name of the relevant Resource
subscription_id: Option<String>Azure Subscription Id
tenant_id: Option<String>Azure tenant id
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
update_version: Option<bool>Deprecated
use_gw_cloud_identity: Option<bool>Use the GW’s Cloud IAM [Deprecated: Use connection-type=cloud-identity]
Implementations§
Source§impl UpdateAzureTarget
impl UpdateAzureTarget
Sourcepub fn new(name: String) -> UpdateAzureTarget
pub fn new(name: String) -> UpdateAzureTarget
updateAzureTarget is a command that updates an existing target. [Deprecated: Use target-update-azure command]
Trait Implementations§
Source§impl Clone for UpdateAzureTarget
impl Clone for UpdateAzureTarget
Source§fn clone(&self) -> UpdateAzureTarget
fn clone(&self) -> UpdateAzureTarget
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UpdateAzureTarget
impl Debug for UpdateAzureTarget
Source§impl Default for UpdateAzureTarget
impl Default for UpdateAzureTarget
Source§fn default() -> UpdateAzureTarget
fn default() -> UpdateAzureTarget
Source§impl<'de> Deserialize<'de> for UpdateAzureTarget
impl<'de> Deserialize<'de> for UpdateAzureTarget
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>,
Source§impl PartialEq for UpdateAzureTarget
impl PartialEq for UpdateAzureTarget
Source§fn eq(&self, other: &UpdateAzureTarget) -> bool
fn eq(&self, other: &UpdateAzureTarget) -> bool
self and other values to be equal, and is used by ==.