pub struct GetSubnetworkArgs {
pub name: Output<Option<String>>,
pub project: Output<Option<String>>,
pub region: Output<Option<String>>,
pub self_link: Output<Option<String>>,
}
Fields§
§name: Output<Option<String>>
The name of the subnetwork. One of name
or self_link
must be specified.
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>>
The region this subnetwork has been created in. If unspecified, this defaults to the region configured in the provider.
self_link: Output<Option<String>>
The self link of the subnetwork. If self_link
is
specified, name
, project
, and region
are ignored.
Implementations§
source§impl GetSubnetworkArgs
impl GetSubnetworkArgs
sourcepub fn builder() -> GetSubnetworkArgsBuilder
pub fn builder() -> GetSubnetworkArgsBuilder
Create an instance of GetSubnetworkArgs
using the builder syntax
Trait Implementations§
source§impl Clone for GetSubnetworkArgs
impl Clone for GetSubnetworkArgs
source§fn clone(&self) -> GetSubnetworkArgs
fn clone(&self) -> GetSubnetworkArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for GetSubnetworkArgs
impl RefUnwindSafe for GetSubnetworkArgs
impl Send for GetSubnetworkArgs
impl Sync for GetSubnetworkArgs
impl Unpin for GetSubnetworkArgs
impl UnwindSafe for GetSubnetworkArgs
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)