pub struct CreateAzureTarget {Show 17 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 key: Option<String>,
pub max_versions: Option<String>,
pub name: 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 use_gw_cloud_identity: Option<bool>,
}Expand description
CreateAzureTarget : createAzureTarget is a command that creates a new target. [Deprecated: Use target-create-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
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
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
use_gw_cloud_identity: Option<bool>Use the GW’s Cloud IAM [Deprecated: Use connection-type=cloud-identity]
Implementations§
Source§impl CreateAzureTarget
impl CreateAzureTarget
Sourcepub fn new(name: String) -> CreateAzureTarget
pub fn new(name: String) -> CreateAzureTarget
createAzureTarget is a command that creates a new target. [Deprecated: Use target-create-azure command]
Trait Implementations§
Source§impl Clone for CreateAzureTarget
impl Clone for CreateAzureTarget
Source§fn clone(&self) -> CreateAzureTarget
fn clone(&self) -> CreateAzureTarget
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 CreateAzureTarget
impl Debug for CreateAzureTarget
Source§impl Default for CreateAzureTarget
impl Default for CreateAzureTarget
Source§fn default() -> CreateAzureTarget
fn default() -> CreateAzureTarget
Source§impl<'de> Deserialize<'de> for CreateAzureTarget
impl<'de> Deserialize<'de> for CreateAzureTarget
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 CreateAzureTarget
impl PartialEq for CreateAzureTarget
Source§fn eq(&self, other: &CreateAzureTarget) -> bool
fn eq(&self, other: &CreateAzureTarget) -> bool
self and other values to be equal, and is used by ==.