pub struct GetInstanceIamPolicyArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> GetInstanceIamPolicyArgsBuilder<S>
impl<S: State> GetInstanceIamPolicyArgsBuilder<S>
sourcepub fn build_struct(self) -> GetInstanceIamPolicyArgswhere
S: IsComplete,
pub fn build_struct(self) -> GetInstanceIamPolicyArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn instance_name(
self,
value: impl Into<Output<String>>,
) -> GetInstanceIamPolicyArgsBuilder<SetInstanceName<S>>where
S::InstanceName: IsUnset,
pub fn instance_name(
self,
value: impl Into<Output<String>>,
) -> GetInstanceIamPolicyArgsBuilder<SetInstanceName<S>>where
S::InstanceName: IsUnset,
Required.
Used to find the parent resource to bind the IAM policy to
sourcepub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> GetInstanceIamPolicyArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> GetInstanceIamPolicyArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetInstanceIamPolicyArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetInstanceIamPolicyArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn zone(
self,
value: impl Into<Output<Option<String>>>,
) -> GetInstanceIamPolicyArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
pub fn zone(
self,
value: impl Into<Output<Option<String>>>,
) -> GetInstanceIamPolicyArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn maybe_zone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetInstanceIamPolicyArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
pub fn maybe_zone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetInstanceIamPolicyArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.