pub struct SnapshotArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> SnapshotArgsBuilder<S>
impl<S: State> SnapshotArgsBuilder<S>
sourcepub fn build_struct(self) -> SnapshotArgswhere
S: IsComplete,
pub fn build_struct(self) -> SnapshotArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn create_option(
self,
value: impl Into<Output<String>>,
) -> SnapshotArgsBuilder<SetCreateOption<S>>where
S::CreateOption: IsUnset,
pub fn create_option(
self,
value: impl Into<Output<String>>,
) -> SnapshotArgsBuilder<SetCreateOption<S>>where
S::CreateOption: IsUnset,
Required.
Indicates how the snapshot is to be created. Possible values are Copy
or Import
.
Note: One of
source_uri
,source_resource_id
orstorage_account_id
must be specified.
sourcepub fn disk_access_id(
self,
value: impl Into<Output<Option<String>>>,
) -> SnapshotArgsBuilder<SetDiskAccessId<S>>where
S::DiskAccessId: IsUnset,
pub fn disk_access_id(
self,
value: impl Into<Output<Option<String>>>,
) -> SnapshotArgsBuilder<SetDiskAccessId<S>>where
S::DiskAccessId: IsUnset,
sourcepub fn maybe_disk_access_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SnapshotArgsBuilder<SetDiskAccessId<S>>where
S::DiskAccessId: IsUnset,
pub fn maybe_disk_access_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SnapshotArgsBuilder<SetDiskAccessId<S>>where
S::DiskAccessId: IsUnset,
sourcepub fn disk_size_gb(
self,
value: impl Into<Output<Option<i32>>>,
) -> SnapshotArgsBuilder<SetDiskSizeGb<S>>where
S::DiskSizeGb: IsUnset,
pub fn disk_size_gb(
self,
value: impl Into<Output<Option<i32>>>,
) -> SnapshotArgsBuilder<SetDiskSizeGb<S>>where
S::DiskSizeGb: IsUnset,
sourcepub fn maybe_disk_size_gb(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> SnapshotArgsBuilder<SetDiskSizeGb<S>>where
S::DiskSizeGb: IsUnset,
pub fn maybe_disk_size_gb(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> SnapshotArgsBuilder<SetDiskSizeGb<S>>where
S::DiskSizeGb: IsUnset,
sourcepub fn encryption_settings(
self,
value: impl Into<Output<Option<SnapshotEncryptionSettings>>>,
) -> SnapshotArgsBuilder<SetEncryptionSettings<S>>where
S::EncryptionSettings: IsUnset,
pub fn encryption_settings(
self,
value: impl Into<Output<Option<SnapshotEncryptionSettings>>>,
) -> SnapshotArgsBuilder<SetEncryptionSettings<S>>where
S::EncryptionSettings: IsUnset,
sourcepub fn maybe_encryption_settings(
self,
value: Option<impl Into<Output<Option<SnapshotEncryptionSettings>>>>,
) -> SnapshotArgsBuilder<SetEncryptionSettings<S>>where
S::EncryptionSettings: IsUnset,
pub fn maybe_encryption_settings(
self,
value: Option<impl Into<Output<Option<SnapshotEncryptionSettings>>>>,
) -> SnapshotArgsBuilder<SetEncryptionSettings<S>>where
S::EncryptionSettings: IsUnset,
sourcepub fn incremental_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> SnapshotArgsBuilder<SetIncrementalEnabled<S>>where
S::IncrementalEnabled: IsUnset,
pub fn incremental_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> SnapshotArgsBuilder<SetIncrementalEnabled<S>>where
S::IncrementalEnabled: IsUnset,
sourcepub fn maybe_incremental_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> SnapshotArgsBuilder<SetIncrementalEnabled<S>>where
S::IncrementalEnabled: IsUnset,
pub fn maybe_incremental_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> SnapshotArgsBuilder<SetIncrementalEnabled<S>>where
S::IncrementalEnabled: IsUnset,
sourcepub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> SnapshotArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> SnapshotArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SnapshotArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SnapshotArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> SnapshotArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> SnapshotArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SnapshotArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SnapshotArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn network_access_policy(
self,
value: impl Into<Output<Option<String>>>,
) -> SnapshotArgsBuilder<SetNetworkAccessPolicy<S>>where
S::NetworkAccessPolicy: IsUnset,
pub fn network_access_policy(
self,
value: impl Into<Output<Option<String>>>,
) -> SnapshotArgsBuilder<SetNetworkAccessPolicy<S>>where
S::NetworkAccessPolicy: IsUnset,
sourcepub fn maybe_network_access_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SnapshotArgsBuilder<SetNetworkAccessPolicy<S>>where
S::NetworkAccessPolicy: IsUnset,
pub fn maybe_network_access_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SnapshotArgsBuilder<SetNetworkAccessPolicy<S>>where
S::NetworkAccessPolicy: IsUnset,
sourcepub fn public_network_access_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> SnapshotArgsBuilder<SetPublicNetworkAccessEnabled<S>>where
S::PublicNetworkAccessEnabled: IsUnset,
pub fn public_network_access_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> SnapshotArgsBuilder<SetPublicNetworkAccessEnabled<S>>where
S::PublicNetworkAccessEnabled: IsUnset,
sourcepub fn maybe_public_network_access_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> SnapshotArgsBuilder<SetPublicNetworkAccessEnabled<S>>where
S::PublicNetworkAccessEnabled: IsUnset,
pub fn maybe_public_network_access_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> SnapshotArgsBuilder<SetPublicNetworkAccessEnabled<S>>where
S::PublicNetworkAccessEnabled: IsUnset,
sourcepub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> SnapshotArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
pub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> SnapshotArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
Required.
The name of the resource group in which to create the Snapshot. Changing this forces a new resource to be created.
sourcepub fn source_resource_id(
self,
value: impl Into<Output<Option<String>>>,
) -> SnapshotArgsBuilder<SetSourceResourceId<S>>where
S::SourceResourceId: IsUnset,
pub fn source_resource_id(
self,
value: impl Into<Output<Option<String>>>,
) -> SnapshotArgsBuilder<SetSourceResourceId<S>>where
S::SourceResourceId: IsUnset,
sourcepub fn maybe_source_resource_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SnapshotArgsBuilder<SetSourceResourceId<S>>where
S::SourceResourceId: IsUnset,
pub fn maybe_source_resource_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SnapshotArgsBuilder<SetSourceResourceId<S>>where
S::SourceResourceId: IsUnset,
sourcepub fn source_uri(
self,
value: impl Into<Output<Option<String>>>,
) -> SnapshotArgsBuilder<SetSourceUri<S>>where
S::SourceUri: IsUnset,
pub fn source_uri(
self,
value: impl Into<Output<Option<String>>>,
) -> SnapshotArgsBuilder<SetSourceUri<S>>where
S::SourceUri: IsUnset,
sourcepub fn maybe_source_uri(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SnapshotArgsBuilder<SetSourceUri<S>>where
S::SourceUri: IsUnset,
pub fn maybe_source_uri(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SnapshotArgsBuilder<SetSourceUri<S>>where
S::SourceUri: IsUnset,
sourcepub fn storage_account_id(
self,
value: impl Into<Output<Option<String>>>,
) -> SnapshotArgsBuilder<SetStorageAccountId<S>>where
S::StorageAccountId: IsUnset,
pub fn storage_account_id(
self,
value: impl Into<Output<Option<String>>>,
) -> SnapshotArgsBuilder<SetStorageAccountId<S>>where
S::StorageAccountId: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the ID of an storage account. Used with source_uri
to allow authorization during import of unmanaged blobs from a different subscription. Changing this forces a new resource to be created.
sourcepub fn maybe_storage_account_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SnapshotArgsBuilder<SetStorageAccountId<S>>where
S::StorageAccountId: IsUnset,
pub fn maybe_storage_account_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SnapshotArgsBuilder<SetStorageAccountId<S>>where
S::StorageAccountId: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the ID of an storage account. Used with source_uri
to allow authorization during import of unmanaged blobs from a different subscription. Changing this forces a new resource to be created.