pub struct GetInstanceIamPolicyArgs {
pub instance_name: Output<String>,
pub project: Output<Option<String>>,
pub zone: Output<Option<String>>,
}
Fields§
§instance_name: Output<String>
Used to find the parent resource to bind the IAM policy to
project: Output<Option<String>>
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
zone: Output<Option<String>>
A reference to the zone where the machine resides. Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no zone is provided in the parent identifier and no zone is specified, it is taken from the provider configuration.
Implementations§
source§impl GetInstanceIamPolicyArgs
impl GetInstanceIamPolicyArgs
sourcepub fn builder() -> GetInstanceIamPolicyArgsBuilder
pub fn builder() -> GetInstanceIamPolicyArgsBuilder
Create an instance of GetInstanceIamPolicyArgs
using the builder syntax
Trait Implementations§
source§impl Clone for GetInstanceIamPolicyArgs
impl Clone for GetInstanceIamPolicyArgs
source§fn clone(&self) -> GetInstanceIamPolicyArgs
fn clone(&self) -> GetInstanceIamPolicyArgs
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 GetInstanceIamPolicyArgs
impl RefUnwindSafe for GetInstanceIamPolicyArgs
impl Send for GetInstanceIamPolicyArgs
impl Sync for GetInstanceIamPolicyArgs
impl Unpin for GetInstanceIamPolicyArgs
impl UnwindSafe for GetInstanceIamPolicyArgs
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
)