#[non_exhaustive]pub struct CreateDeploymentInput {
pub workload_name: Option<String>,
pub deployment_pattern_name: Option<String>,
pub name: Option<String>,
pub specifications: Option<HashMap<String, String>>,
pub dry_run: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.workload_name: Option<String>
The name of the workload. You can use the ListWorkloadDeploymentPatterns
operation to discover supported values for this parameter.
deployment_pattern_name: Option<String>
The name of the deployment pattern supported by a given workload. You can use the ListWorkloadDeploymentPatterns
operation to discover supported values for this parameter.
name: Option<String>
The name of the deployment.
specifications: Option<HashMap<String, String>>
The settings specified for the deployment. For more information on the specifications required for creating a deployment, see Workload specifications.
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Implementations§
source§impl CreateDeploymentInput
impl CreateDeploymentInput
sourcepub fn workload_name(&self) -> Option<&str>
pub fn workload_name(&self) -> Option<&str>
The name of the workload. You can use the ListWorkloadDeploymentPatterns
operation to discover supported values for this parameter.
sourcepub fn deployment_pattern_name(&self) -> Option<&str>
pub fn deployment_pattern_name(&self) -> Option<&str>
The name of the deployment pattern supported by a given workload. You can use the ListWorkloadDeploymentPatterns
operation to discover supported values for this parameter.
sourcepub fn specifications(&self) -> Option<&HashMap<String, String>>
pub fn specifications(&self) -> Option<&HashMap<String, String>>
The settings specified for the deployment. For more information on the specifications required for creating a deployment, see Workload specifications.
source§impl CreateDeploymentInput
impl CreateDeploymentInput
sourcepub fn builder() -> CreateDeploymentInputBuilder
pub fn builder() -> CreateDeploymentInputBuilder
Creates a new builder-style object to manufacture CreateDeploymentInput
.
Trait Implementations§
source§impl Clone for CreateDeploymentInput
impl Clone for CreateDeploymentInput
source§fn clone(&self) -> CreateDeploymentInput
fn clone(&self) -> CreateDeploymentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDeploymentInput
impl Debug for CreateDeploymentInput
source§impl PartialEq for CreateDeploymentInput
impl PartialEq for CreateDeploymentInput
source§fn eq(&self, other: &CreateDeploymentInput) -> bool
fn eq(&self, other: &CreateDeploymentInput) -> bool
self
and other
values to be equal, and is used
by ==
.