gcp.healthcare.DicomStoreIamMember
Import
IAM member imports use space-delimited identifiers; the resource in question, the role, and the account.
This member resource can be imported using the dicom_store_id
, role, and account e.g.
$ pulumi import gcp:healthcare/dicomStoreIamMember:DicomStoreIamMember dicom_store_iam "your-project-id/location-name/dataset-name/dicom-store-name roles/viewer user:foo@example.com"
IAM binding imports use space-delimited identifiers; the resource in question and the role.
This binding resource can be imported using the dicom_store_id
and role, e.g.
$ pulumi import gcp:healthcare/dicomStoreIamMember:DicomStoreIamMember dicom_store_iam "your-project-id/location-name/dataset-name/dicom-store-name roles/viewer"
IAM policy imports use the identifier of the resource in question.
This policy resource can be imported using the dicom_store_id
, role, and account e.g.
$ pulumi import gcp:healthcare/dicomStoreIamMember:DicomStoreIamMember dicom_store_iam your-project-id/location-name/dataset-name/dicom-store-name
Create DicomStoreIamMember Resource
new DicomStoreIamMember(name: string, args: DicomStoreIamMemberArgs, opts?: CustomResourceOptions);
@overload
def DicomStoreIamMember(resource_name: str,
opts: Optional[ResourceOptions] = None,
condition: Optional[DicomStoreIamMemberConditionArgs] = None,
dicom_store_id: Optional[str] = None,
member: Optional[str] = None,
role: Optional[str] = None)
@overload
def DicomStoreIamMember(resource_name: str,
args: DicomStoreIamMemberArgs,
opts: Optional[ResourceOptions] = None)
func NewDicomStoreIamMember(ctx *Context, name string, args DicomStoreIamMemberArgs, opts ...ResourceOption) (*DicomStoreIamMember, error)
public DicomStoreIamMember(string name, DicomStoreIamMemberArgs args, CustomResourceOptions? opts = null)
public DicomStoreIamMember(String name, DicomStoreIamMemberArgs args)
public DicomStoreIamMember(String name, DicomStoreIamMemberArgs args, CustomResourceOptions options)
type: gcp:healthcare:DicomStoreIamMember
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DicomStoreIamMemberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DicomStoreIamMemberArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DicomStoreIamMemberArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DicomStoreIamMemberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DicomStoreIamMemberArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DicomStoreIamMember Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DicomStoreIamMember resource accepts the following input properties:
- Dicom
Store stringId The DICOM store ID, in the form
{project_id}/{location_name}/{dataset_name}/{dicom_store_name}
or{location_name}/{dataset_name}/{dicom_store_name}
. In the second form, the provider's project setting will be used as a fallback.- Member string
- Role string
The role that should be applied. Only one
gcp.healthcare.DicomStoreIamBinding
can be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}
.- Condition
Dicom
Store Iam Member Condition Args
- Dicom
Store stringId The DICOM store ID, in the form
{project_id}/{location_name}/{dataset_name}/{dicom_store_name}
or{location_name}/{dataset_name}/{dicom_store_name}
. In the second form, the provider's project setting will be used as a fallback.- Member string
- Role string
The role that should be applied. Only one
gcp.healthcare.DicomStoreIamBinding
can be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}
.- Condition
Dicom
Store Iam Member Condition Args
- dicom
Store StringId The DICOM store ID, in the form
{project_id}/{location_name}/{dataset_name}/{dicom_store_name}
or{location_name}/{dataset_name}/{dicom_store_name}
. In the second form, the provider's project setting will be used as a fallback.- member String
- role String
The role that should be applied. Only one
gcp.healthcare.DicomStoreIamBinding
can be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}
.- condition
Dicom
Store Iam Member Condition Args
- dicom
Store stringId The DICOM store ID, in the form
{project_id}/{location_name}/{dataset_name}/{dicom_store_name}
or{location_name}/{dataset_name}/{dicom_store_name}
. In the second form, the provider's project setting will be used as a fallback.- member string
- role string
The role that should be applied. Only one
gcp.healthcare.DicomStoreIamBinding
can be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}
.- condition
Dicom
Store Iam Member Condition Args
- dicom_
store_ strid The DICOM store ID, in the form
{project_id}/{location_name}/{dataset_name}/{dicom_store_name}
or{location_name}/{dataset_name}/{dicom_store_name}
. In the second form, the provider's project setting will be used as a fallback.- member str
- role str
The role that should be applied. Only one
gcp.healthcare.DicomStoreIamBinding
can be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}
.- condition
Dicom
Store Iam Member Condition Args
- dicom
Store StringId The DICOM store ID, in the form
{project_id}/{location_name}/{dataset_name}/{dicom_store_name}
or{location_name}/{dataset_name}/{dicom_store_name}
. In the second form, the provider's project setting will be used as a fallback.- member String
- role String
The role that should be applied. Only one
gcp.healthcare.DicomStoreIamBinding
can be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}
.- condition Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the DicomStoreIamMember resource produces the following output properties:
Look up Existing DicomStoreIamMember Resource
Get an existing DicomStoreIamMember resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DicomStoreIamMemberState, opts?: CustomResourceOptions): DicomStoreIamMember
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
condition: Optional[DicomStoreIamMemberConditionArgs] = None,
dicom_store_id: Optional[str] = None,
etag: Optional[str] = None,
member: Optional[str] = None,
role: Optional[str] = None) -> DicomStoreIamMember
func GetDicomStoreIamMember(ctx *Context, name string, id IDInput, state *DicomStoreIamMemberState, opts ...ResourceOption) (*DicomStoreIamMember, error)
public static DicomStoreIamMember Get(string name, Input<string> id, DicomStoreIamMemberState? state, CustomResourceOptions? opts = null)
public static DicomStoreIamMember get(String name, Output<String> id, DicomStoreIamMemberState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Condition
Dicom
Store Iam Member Condition Args - Dicom
Store stringId The DICOM store ID, in the form
{project_id}/{location_name}/{dataset_name}/{dicom_store_name}
or{location_name}/{dataset_name}/{dicom_store_name}
. In the second form, the provider's project setting will be used as a fallback.- Etag string
(Computed) The etag of the DICOM store's IAM policy.
- Member string
- Role string
The role that should be applied. Only one
gcp.healthcare.DicomStoreIamBinding
can be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}
.
- Condition
Dicom
Store Iam Member Condition Args - Dicom
Store stringId The DICOM store ID, in the form
{project_id}/{location_name}/{dataset_name}/{dicom_store_name}
or{location_name}/{dataset_name}/{dicom_store_name}
. In the second form, the provider's project setting will be used as a fallback.- Etag string
(Computed) The etag of the DICOM store's IAM policy.
- Member string
- Role string
The role that should be applied. Only one
gcp.healthcare.DicomStoreIamBinding
can be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}
.
- condition
Dicom
Store Iam Member Condition Args - dicom
Store StringId The DICOM store ID, in the form
{project_id}/{location_name}/{dataset_name}/{dicom_store_name}
or{location_name}/{dataset_name}/{dicom_store_name}
. In the second form, the provider's project setting will be used as a fallback.- etag String
(Computed) The etag of the DICOM store's IAM policy.
- member String
- role String
The role that should be applied. Only one
gcp.healthcare.DicomStoreIamBinding
can be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}
.
- condition
Dicom
Store Iam Member Condition Args - dicom
Store stringId The DICOM store ID, in the form
{project_id}/{location_name}/{dataset_name}/{dicom_store_name}
or{location_name}/{dataset_name}/{dicom_store_name}
. In the second form, the provider's project setting will be used as a fallback.- etag string
(Computed) The etag of the DICOM store's IAM policy.
- member string
- role string
The role that should be applied. Only one
gcp.healthcare.DicomStoreIamBinding
can be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}
.
- condition
Dicom
Store Iam Member Condition Args - dicom_
store_ strid The DICOM store ID, in the form
{project_id}/{location_name}/{dataset_name}/{dicom_store_name}
or{location_name}/{dataset_name}/{dicom_store_name}
. In the second form, the provider's project setting will be used as a fallback.- etag str
(Computed) The etag of the DICOM store's IAM policy.
- member str
- role str
The role that should be applied. Only one
gcp.healthcare.DicomStoreIamBinding
can be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}
.
- condition Property Map
- dicom
Store StringId The DICOM store ID, in the form
{project_id}/{location_name}/{dataset_name}/{dicom_store_name}
or{location_name}/{dataset_name}/{dicom_store_name}
. In the second form, the provider's project setting will be used as a fallback.- etag String
(Computed) The etag of the DICOM store's IAM policy.
- member String
- role String
The role that should be applied. Only one
gcp.healthcare.DicomStoreIamBinding
can be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}
.
Supporting Types
DicomStoreIamMemberCondition
- Expression string
- Title string
- Description string
- Expression string
- Title string
- Description string
- expression String
- title String
- description String
- expression string
- title string
- description string
- expression str
- title str
- description str
- expression String
- title String
- description String
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
google-beta
Terraform Provider.