pub struct AvailabilitySetArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> AvailabilitySetArgsBuilder<S>
impl<S: State> AvailabilitySetArgsBuilder<S>
sourcepub fn build_struct(self) -> AvailabilitySetArgswhere
S: IsComplete,
pub fn build_struct(self) -> AvailabilitySetArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> AvailabilitySetArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> AvailabilitySetArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AvailabilitySetArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AvailabilitySetArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn managed(
self,
value: impl Into<Output<Option<bool>>>,
) -> AvailabilitySetArgsBuilder<SetManaged<S>>where
S::Managed: IsUnset,
pub fn managed(
self,
value: impl Into<Output<Option<bool>>>,
) -> AvailabilitySetArgsBuilder<SetManaged<S>>where
S::Managed: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Specifies whether the availability set is managed or not. Possible values are true
(to specify aligned) or false
(to specify classic). Default is true
. Changing this forces a new resource to be created.
sourcepub fn maybe_managed(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AvailabilitySetArgsBuilder<SetManaged<S>>where
S::Managed: IsUnset,
pub fn maybe_managed(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AvailabilitySetArgsBuilder<SetManaged<S>>where
S::Managed: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Specifies whether the availability set is managed or not. Possible values are true
(to specify aligned) or false
(to specify classic). Default is true
. Changing this forces a new resource to be created.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> AvailabilitySetArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> AvailabilitySetArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AvailabilitySetArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AvailabilitySetArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn platform_fault_domain_count(
self,
value: impl Into<Output<Option<i32>>>,
) -> AvailabilitySetArgsBuilder<SetPlatformFaultDomainCount<S>>where
S::PlatformFaultDomainCount: IsUnset,
pub fn platform_fault_domain_count(
self,
value: impl Into<Output<Option<i32>>>,
) -> AvailabilitySetArgsBuilder<SetPlatformFaultDomainCount<S>>where
S::PlatformFaultDomainCount: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
Specifies the number of fault domains that are used. Defaults to 3
. Changing this forces a new resource to be created.
NOTE: The number of Fault Domains varies depending on which Azure Region you’re using. More information about update and fault domains and how they work can be found here.
sourcepub fn maybe_platform_fault_domain_count(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> AvailabilitySetArgsBuilder<SetPlatformFaultDomainCount<S>>where
S::PlatformFaultDomainCount: IsUnset,
pub fn maybe_platform_fault_domain_count(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> AvailabilitySetArgsBuilder<SetPlatformFaultDomainCount<S>>where
S::PlatformFaultDomainCount: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
Specifies the number of fault domains that are used. Defaults to 3
. Changing this forces a new resource to be created.
NOTE: The number of Fault Domains varies depending on which Azure Region you’re using. More information about update and fault domains and how they work can be found here.
sourcepub fn platform_update_domain_count(
self,
value: impl Into<Output<Option<i32>>>,
) -> AvailabilitySetArgsBuilder<SetPlatformUpdateDomainCount<S>>where
S::PlatformUpdateDomainCount: IsUnset,
pub fn platform_update_domain_count(
self,
value: impl Into<Output<Option<i32>>>,
) -> AvailabilitySetArgsBuilder<SetPlatformUpdateDomainCount<S>>where
S::PlatformUpdateDomainCount: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
Specifies the number of update domains that are used. Defaults to 5
. Changing this forces a new resource to be created.
NOTE: The number of Update Domains varies depending on which Azure Region you’re using. More information about update and fault domains and how they work can be found here.
sourcepub fn maybe_platform_update_domain_count(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> AvailabilitySetArgsBuilder<SetPlatformUpdateDomainCount<S>>where
S::PlatformUpdateDomainCount: IsUnset,
pub fn maybe_platform_update_domain_count(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> AvailabilitySetArgsBuilder<SetPlatformUpdateDomainCount<S>>where
S::PlatformUpdateDomainCount: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
Specifies the number of update domains that are used. Defaults to 5
. Changing this forces a new resource to be created.
NOTE: The number of Update Domains varies depending on which Azure Region you’re using. More information about update and fault domains and how they work can be found here.
sourcepub fn proximity_placement_group_id(
self,
value: impl Into<Output<Option<String>>>,
) -> AvailabilitySetArgsBuilder<SetProximityPlacementGroupId<S>>where
S::ProximityPlacementGroupId: IsUnset,
pub fn proximity_placement_group_id(
self,
value: impl Into<Output<Option<String>>>,
) -> AvailabilitySetArgsBuilder<SetProximityPlacementGroupId<S>>where
S::ProximityPlacementGroupId: IsUnset,
sourcepub fn maybe_proximity_placement_group_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AvailabilitySetArgsBuilder<SetProximityPlacementGroupId<S>>where
S::ProximityPlacementGroupId: IsUnset,
pub fn maybe_proximity_placement_group_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AvailabilitySetArgsBuilder<SetProximityPlacementGroupId<S>>where
S::ProximityPlacementGroupId: IsUnset,
sourcepub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> AvailabilitySetArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
pub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> AvailabilitySetArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
Required.
The name of the resource group in which to create the availability set. Changing this forces a new resource to be created.