#[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.
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.
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
source§fn eq(&self, other: &CreateHostInput) -> bool
fn eq(&self, other: &CreateHostInput) -> bool
self
and other
values to be equal, and is used
by ==
.