pub struct SshPublicKeyArgs {
pub location: Output<Option<String>>,
pub name: Output<Option<String>>,
pub public_key: Output<String>,
pub resource_group_name: Output<String>,
pub tags: Output<Option<HashMap<String, String>>>,
}
Fields§
§location: Output<Option<String>>
The Azure Region where the SSH Public Key should exist. Changing this forces a new SSH Public Key to be created.
name: Output<Option<String>>
The name which should be used for this SSH Public Key. Changing this forces a new SSH Public Key to be created.
public_key: Output<String>
SSH public key used to authenticate to a virtual machine through ssh. the provided public key needs to be at least 2048-bit and in ssh-rsa format.
resource_group_name: Output<String>
The name of the Resource Group where the SSH Public Key should exist. Changing this forces a new SSH Public Key to be created.
A mapping of tags which should be assigned to the SSH Public Key.
Implementations§
source§impl SshPublicKeyArgs
impl SshPublicKeyArgs
sourcepub fn builder() -> SshPublicKeyArgsBuilder
pub fn builder() -> SshPublicKeyArgsBuilder
Create an instance of SshPublicKeyArgs
using the builder syntax
Trait Implementations§
source§impl Clone for SshPublicKeyArgs
impl Clone for SshPublicKeyArgs
source§fn clone(&self) -> SshPublicKeyArgs
fn clone(&self) -> SshPublicKeyArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SshPublicKeyArgs
impl RefUnwindSafe for SshPublicKeyArgs
impl Send for SshPublicKeyArgs
impl Sync for SshPublicKeyArgs
impl Unpin for SshPublicKeyArgs
impl UnwindSafe for SshPublicKeyArgs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)