#[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>,
pub tags: Option<HashMap<String, String>>,
}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 ListWorkloads 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. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see SAP deployment specifications. To retrieve the specifications required to create a deployment for other workloads, use the GetWorkloadDeploymentPattern operation.
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.
The tags to add to the deployment.
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 ListWorkloads 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. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see SAP deployment specifications. To retrieve the specifications required to create a deployment for other workloads, use the GetWorkloadDeploymentPattern operation.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> 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.
The tags to add to the deployment.
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 ==.impl StructuralPartialEq for CreateDeploymentInput
Auto Trait Implementations§
impl Freeze for CreateDeploymentInput
impl RefUnwindSafe for CreateDeploymentInput
impl Send for CreateDeploymentInput
impl Sync for CreateDeploymentInput
impl Unpin for CreateDeploymentInput
impl UnwindSafe for CreateDeploymentInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more