#[non_exhaustive]pub struct CreateHostInput {
pub name: Option<String>,
pub provider_type: Option<ProviderType>,
pub provider_endpoint: Option<String>,
pub vpc_configuration: Option<VpcConfiguration>,
pub tags: Option<Vec<Tag>>,
}
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.name: Option<String>
The name of the host to be created.
provider_type: Option<ProviderType>
The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
provider_endpoint: Option<String>
The endpoint of the infrastructure to be represented by the host after it is created.
vpc_configuration: Option<VpcConfiguration>
The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
Tags for the host to be created.
Implementations§
source§impl CreateHostInput
impl CreateHostInput
sourcepub fn provider_type(&self) -> Option<&ProviderType>
pub fn provider_type(&self) -> Option<&ProviderType>
The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
sourcepub fn provider_endpoint(&self) -> Option<&str>
pub fn provider_endpoint(&self) -> Option<&str>
The endpoint of the infrastructure to be represented by the host after it is created.
sourcepub fn vpc_configuration(&self) -> Option<&VpcConfiguration>
pub fn vpc_configuration(&self) -> Option<&VpcConfiguration>
The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
Tags for the host to be created.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateHostInput
impl CreateHostInput
sourcepub fn builder() -> CreateHostInputBuilder
pub fn builder() -> CreateHostInputBuilder
Creates a new builder-style object to manufacture CreateHostInput
.
Trait Implementations§
source§impl Clone for CreateHostInput
impl Clone for CreateHostInput
source§fn clone(&self) -> CreateHostInput
fn clone(&self) -> CreateHostInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateHostInput
impl Debug for CreateHostInput
source§impl PartialEq for CreateHostInput
impl PartialEq for CreateHostInput
impl StructuralPartialEq for CreateHostInput
Auto Trait Implementations§
impl Freeze for CreateHostInput
impl RefUnwindSafe for CreateHostInput
impl Send for CreateHostInput
impl Sync for CreateHostInput
impl Unpin for CreateHostInput
impl UnwindSafe for CreateHostInput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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