pub struct NetworkAttachmentArgs {
pub connection_preference: Output<String>,
pub description: Output<Option<String>>,
pub name: Output<Option<String>>,
pub producer_accept_lists: Output<Option<Vec<String>>>,
pub producer_reject_lists: Output<Option<Vec<String>>>,
pub project: Output<Option<String>>,
pub region: Output<Option<String>>,
pub subnetworks: Output<Vec<String>>,
}
Fields§
§connection_preference: Output<String>
The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules.
Possible values are: ACCEPT_AUTOMATIC
, ACCEPT_MANUAL
, INVALID
.
description: Output<Option<String>>
An optional description of this resource. Provide this property when you create the resource.
name: Output<Option<String>>
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
producer_accept_lists: Output<Option<Vec<String>>>
Projects that are allowed to connect to this network attachment. The project can be specified using its id or number.
producer_reject_lists: Output<Option<Vec<String>>>
Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number.
project: Output<Option<String>>
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
region: Output<Option<String>>
URL of the region where the network attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
subnetworks: Output<Vec<String>>
An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.
Implementations§
source§impl NetworkAttachmentArgs
impl NetworkAttachmentArgs
sourcepub fn builder() -> NetworkAttachmentArgsBuilder
pub fn builder() -> NetworkAttachmentArgsBuilder
Create an instance of NetworkAttachmentArgs
using the builder syntax
Trait Implementations§
source§impl Clone for NetworkAttachmentArgs
impl Clone for NetworkAttachmentArgs
source§fn clone(&self) -> NetworkAttachmentArgs
fn clone(&self) -> NetworkAttachmentArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for NetworkAttachmentArgs
impl RefUnwindSafe for NetworkAttachmentArgs
impl Send for NetworkAttachmentArgs
impl Sync for NetworkAttachmentArgs
impl Unpin for NetworkAttachmentArgs
impl UnwindSafe for NetworkAttachmentArgs
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
)