pub struct BastionHostArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> BastionHostArgsBuilder<S>
impl<S: State> BastionHostArgsBuilder<S>
sourcepub fn build_struct(self) -> BastionHostArgswhere
S: IsComplete,
pub fn build_struct(self) -> BastionHostArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn copy_paste_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> BastionHostArgsBuilder<SetCopyPasteEnabled<S>>where
S::CopyPasteEnabled: IsUnset,
pub fn copy_paste_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> BastionHostArgsBuilder<SetCopyPasteEnabled<S>>where
S::CopyPasteEnabled: IsUnset,
sourcepub fn maybe_copy_paste_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BastionHostArgsBuilder<SetCopyPasteEnabled<S>>where
S::CopyPasteEnabled: IsUnset,
pub fn maybe_copy_paste_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BastionHostArgsBuilder<SetCopyPasteEnabled<S>>where
S::CopyPasteEnabled: IsUnset,
sourcepub fn file_copy_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> BastionHostArgsBuilder<SetFileCopyEnabled<S>>where
S::FileCopyEnabled: IsUnset,
pub fn file_copy_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> BastionHostArgsBuilder<SetFileCopyEnabled<S>>where
S::FileCopyEnabled: IsUnset,
sourcepub fn maybe_file_copy_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BastionHostArgsBuilder<SetFileCopyEnabled<S>>where
S::FileCopyEnabled: IsUnset,
pub fn maybe_file_copy_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BastionHostArgsBuilder<SetFileCopyEnabled<S>>where
S::FileCopyEnabled: IsUnset,
sourcepub fn ip_configuration(
self,
value: impl Into<Output<Option<BastionHostIpConfiguration>>>,
) -> BastionHostArgsBuilder<SetIpConfiguration<S>>where
S::IpConfiguration: IsUnset,
pub fn ip_configuration(
self,
value: impl Into<Output<Option<BastionHostIpConfiguration>>>,
) -> BastionHostArgsBuilder<SetIpConfiguration<S>>where
S::IpConfiguration: IsUnset,
sourcepub fn maybe_ip_configuration(
self,
value: Option<impl Into<Output<Option<BastionHostIpConfiguration>>>>,
) -> BastionHostArgsBuilder<SetIpConfiguration<S>>where
S::IpConfiguration: IsUnset,
pub fn maybe_ip_configuration(
self,
value: Option<impl Into<Output<Option<BastionHostIpConfiguration>>>>,
) -> BastionHostArgsBuilder<SetIpConfiguration<S>>where
S::IpConfiguration: IsUnset,
sourcepub fn ip_connect_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> BastionHostArgsBuilder<SetIpConnectEnabled<S>>where
S::IpConnectEnabled: IsUnset,
pub fn ip_connect_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> BastionHostArgsBuilder<SetIpConnectEnabled<S>>where
S::IpConnectEnabled: IsUnset,
sourcepub fn maybe_ip_connect_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BastionHostArgsBuilder<SetIpConnectEnabled<S>>where
S::IpConnectEnabled: IsUnset,
pub fn maybe_ip_connect_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BastionHostArgsBuilder<SetIpConnectEnabled<S>>where
S::IpConnectEnabled: IsUnset,
sourcepub fn kerberos_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> BastionHostArgsBuilder<SetKerberosEnabled<S>>where
S::KerberosEnabled: IsUnset,
pub fn kerberos_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> BastionHostArgsBuilder<SetKerberosEnabled<S>>where
S::KerberosEnabled: IsUnset,
sourcepub fn maybe_kerberos_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BastionHostArgsBuilder<SetKerberosEnabled<S>>where
S::KerberosEnabled: IsUnset,
pub fn maybe_kerberos_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BastionHostArgsBuilder<SetKerberosEnabled<S>>where
S::KerberosEnabled: IsUnset,
sourcepub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> BastionHostArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> BastionHostArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Review Azure Bastion Host FAQ for supported locations.
sourcepub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BastionHostArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BastionHostArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Review Azure Bastion Host FAQ for supported locations.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> BastionHostArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> BastionHostArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BastionHostArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BastionHostArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> BastionHostArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
pub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> BastionHostArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
Required.
The name of the resource group in which to create the Bastion Host. Changing this forces a new resource to be created.
sourcepub fn scale_units(
self,
value: impl Into<Output<Option<i32>>>,
) -> BastionHostArgsBuilder<SetScaleUnits<S>>where
S::ScaleUnits: IsUnset,
pub fn scale_units(
self,
value: impl Into<Output<Option<i32>>>,
) -> BastionHostArgsBuilder<SetScaleUnits<S>>where
S::ScaleUnits: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
The number of scale units with which to provision the Bastion Host. Possible values are between 2
and 50
. Defaults to 2
.
Note:
scale_units
only can be changed whensku
isStandard
orPremium
.scale_units
is always2
whensku
isBasic
.
sourcepub fn maybe_scale_units(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> BastionHostArgsBuilder<SetScaleUnits<S>>where
S::ScaleUnits: IsUnset,
pub fn maybe_scale_units(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> BastionHostArgsBuilder<SetScaleUnits<S>>where
S::ScaleUnits: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
The number of scale units with which to provision the Bastion Host. Possible values are between 2
and 50
. Defaults to 2
.
Note:
scale_units
only can be changed whensku
isStandard
orPremium
.scale_units
is always2
whensku
isBasic
.