pub struct SshPublicKeyArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> SshPublicKeyArgsBuilder<S>
impl<S: State> SshPublicKeyArgsBuilder<S>
sourcepub fn build_struct(self) -> SshPublicKeyArgswhere
S: IsComplete,
pub fn build_struct(self) -> SshPublicKeyArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> SshPublicKeyArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> SshPublicKeyArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SshPublicKeyArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SshPublicKeyArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> SshPublicKeyArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> SshPublicKeyArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SshPublicKeyArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SshPublicKeyArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn public_key(
self,
value: impl Into<Output<String>>,
) -> SshPublicKeyArgsBuilder<SetPublicKey<S>>where
S::PublicKey: IsUnset,
pub fn public_key(
self,
value: impl Into<Output<String>>,
) -> SshPublicKeyArgsBuilder<SetPublicKey<S>>where
S::PublicKey: IsUnset,
Required.
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.
sourcepub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> SshPublicKeyArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
pub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> SshPublicKeyArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
Required.
The name of the Resource Group where the SSH Public Key should exist. Changing this forces a new SSH Public Key to be created.
Auto Trait Implementations§
impl<S> Freeze for SshPublicKeyArgsBuilder<S>
impl<S> RefUnwindSafe for SshPublicKeyArgsBuilder<S>
impl<S> Send for SshPublicKeyArgsBuilder<S>
impl<S> Sync for SshPublicKeyArgsBuilder<S>
impl<S> Unpin for SshPublicKeyArgsBuilder<S>
impl<S> UnwindSafe for SshPublicKeyArgsBuilder<S>
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