pub struct InstanceIAMPolicyArgs {
pub instance_name: Output<String>,
pub policy_data: 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
policy_data: Output<String>
The policy data generated by
a gcp.organizations.getIAMPolicy
data source.
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 InstanceIAMPolicyArgs
impl InstanceIAMPolicyArgs
sourcepub fn builder() -> InstanceIAMPolicyArgsBuilder
pub fn builder() -> InstanceIAMPolicyArgsBuilder
Create an instance of InstanceIAMPolicyArgs
using the builder syntax
Trait Implementations§
source§impl Clone for InstanceIAMPolicyArgs
impl Clone for InstanceIAMPolicyArgs
source§fn clone(&self) -> InstanceIAMPolicyArgs
fn clone(&self) -> InstanceIAMPolicyArgs
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 InstanceIAMPolicyArgs
impl RefUnwindSafe for InstanceIAMPolicyArgs
impl Send for InstanceIAMPolicyArgs
impl Sync for InstanceIAMPolicyArgs
impl Unpin for InstanceIAMPolicyArgs
impl UnwindSafe for InstanceIAMPolicyArgs
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
)