dbtcloud.ScimGroupPermissions
Explore with Pulumi AI
Create ScimGroupPermissions Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScimGroupPermissions(name: string, args: ScimGroupPermissionsArgs, opts?: CustomResourceOptions);
@overload
def ScimGroupPermissions(resource_name: str,
args: ScimGroupPermissionsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ScimGroupPermissions(resource_name: str,
opts: Optional[ResourceOptions] = None,
group_id: Optional[int] = None,
permissions: Optional[Sequence[ScimGroupPermissionsPermissionArgs]] = None)
func NewScimGroupPermissions(ctx *Context, name string, args ScimGroupPermissionsArgs, opts ...ResourceOption) (*ScimGroupPermissions, error)
public ScimGroupPermissions(string name, ScimGroupPermissionsArgs args, CustomResourceOptions? opts = null)
public ScimGroupPermissions(String name, ScimGroupPermissionsArgs args)
public ScimGroupPermissions(String name, ScimGroupPermissionsArgs args, CustomResourceOptions options)
type: dbtcloud:ScimGroupPermissions
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ScimGroupPermissionsArgs
- 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 ScimGroupPermissionsArgs
- 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 ScimGroupPermissionsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScimGroupPermissionsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScimGroupPermissionsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var scimGroupPermissionsResource = new DbtCloud.ScimGroupPermissions("scimGroupPermissionsResource", new()
{
GroupId = 0,
Permissions = new[]
{
new DbtCloud.Inputs.ScimGroupPermissionsPermissionArgs
{
AllProjects = false,
PermissionSet = "string",
ProjectId = 0,
WritableEnvironmentCategories = new[]
{
"string",
},
},
},
});
example, err := dbtcloud.NewScimGroupPermissions(ctx, "scimGroupPermissionsResource", &dbtcloud.ScimGroupPermissionsArgs{
GroupId: pulumi.Int(0),
Permissions: dbtcloud.ScimGroupPermissionsPermissionArray{
&dbtcloud.ScimGroupPermissionsPermissionArgs{
AllProjects: pulumi.Bool(false),
PermissionSet: pulumi.String("string"),
ProjectId: pulumi.Int(0),
WritableEnvironmentCategories: pulumi.StringArray{
pulumi.String("string"),
},
},
},
})
var scimGroupPermissionsResource = new ScimGroupPermissions("scimGroupPermissionsResource", ScimGroupPermissionsArgs.builder()
.groupId(0)
.permissions(ScimGroupPermissionsPermissionArgs.builder()
.allProjects(false)
.permissionSet("string")
.projectId(0)
.writableEnvironmentCategories("string")
.build())
.build());
scim_group_permissions_resource = dbtcloud.ScimGroupPermissions("scimGroupPermissionsResource",
group_id=0,
permissions=[{
"all_projects": False,
"permission_set": "string",
"project_id": 0,
"writable_environment_categories": ["string"],
}])
const scimGroupPermissionsResource = new dbtcloud.ScimGroupPermissions("scimGroupPermissionsResource", {
groupId: 0,
permissions: [{
allProjects: false,
permissionSet: "string",
projectId: 0,
writableEnvironmentCategories: ["string"],
}],
});
type: dbtcloud:ScimGroupPermissions
properties:
groupId: 0
permissions:
- allProjects: false
permissionSet: string
projectId: 0
writableEnvironmentCategories:
- string
ScimGroupPermissions Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ScimGroupPermissions resource accepts the following input properties:
- Group
Id int - The ID of the existing group to manage permissions for. This group must already exist.
- Permissions
List<Pulumi.
Dbt Cloud. Inputs. Scim Group Permissions Permission> - Set of permissions to apply to the group. This will replace all existing permissions for the group.
- Group
Id int - The ID of the existing group to manage permissions for. This group must already exist.
- Permissions
[]Scim
Group Permissions Permission Args - Set of permissions to apply to the group. This will replace all existing permissions for the group.
- group
Id Integer - The ID of the existing group to manage permissions for. This group must already exist.
- permissions
List<Scim
Group Permissions Permission> - Set of permissions to apply to the group. This will replace all existing permissions for the group.
- group
Id number - The ID of the existing group to manage permissions for. This group must already exist.
- permissions
Scim
Group Permissions Permission[] - Set of permissions to apply to the group. This will replace all existing permissions for the group.
- group_
id int - The ID of the existing group to manage permissions for. This group must already exist.
- permissions
Sequence[Scim
Group Permissions Permission Args] - Set of permissions to apply to the group. This will replace all existing permissions for the group.
- group
Id Number - The ID of the existing group to manage permissions for. This group must already exist.
- permissions List<Property Map>
- Set of permissions to apply to the group. This will replace all existing permissions for the group.
Outputs
All input properties are implicitly available as output properties. Additionally, the ScimGroupPermissions resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ScimGroupPermissions Resource
Get an existing ScimGroupPermissions 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?: ScimGroupPermissionsState, opts?: CustomResourceOptions): ScimGroupPermissions
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
group_id: Optional[int] = None,
permissions: Optional[Sequence[ScimGroupPermissionsPermissionArgs]] = None) -> ScimGroupPermissions
func GetScimGroupPermissions(ctx *Context, name string, id IDInput, state *ScimGroupPermissionsState, opts ...ResourceOption) (*ScimGroupPermissions, error)
public static ScimGroupPermissions Get(string name, Input<string> id, ScimGroupPermissionsState? state, CustomResourceOptions? opts = null)
public static ScimGroupPermissions get(String name, Output<String> id, ScimGroupPermissionsState state, CustomResourceOptions options)
resources: _: type: dbtcloud:ScimGroupPermissions get: id: ${id}
- 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.
- Group
Id int - The ID of the existing group to manage permissions for. This group must already exist.
- Permissions
List<Pulumi.
Dbt Cloud. Inputs. Scim Group Permissions Permission> - Set of permissions to apply to the group. This will replace all existing permissions for the group.
- Group
Id int - The ID of the existing group to manage permissions for. This group must already exist.
- Permissions
[]Scim
Group Permissions Permission Args - Set of permissions to apply to the group. This will replace all existing permissions for the group.
- group
Id Integer - The ID of the existing group to manage permissions for. This group must already exist.
- permissions
List<Scim
Group Permissions Permission> - Set of permissions to apply to the group. This will replace all existing permissions for the group.
- group
Id number - The ID of the existing group to manage permissions for. This group must already exist.
- permissions
Scim
Group Permissions Permission[] - Set of permissions to apply to the group. This will replace all existing permissions for the group.
- group_
id int - The ID of the existing group to manage permissions for. This group must already exist.
- permissions
Sequence[Scim
Group Permissions Permission Args] - Set of permissions to apply to the group. This will replace all existing permissions for the group.
- group
Id Number - The ID of the existing group to manage permissions for. This group must already exist.
- permissions List<Property Map>
- Set of permissions to apply to the group. This will replace all existing permissions for the group.
Supporting Types
ScimGroupPermissionsPermission, ScimGroupPermissionsPermissionArgs
- All
Projects bool - Whether access should be provided for all projects or not.
- Permission
Set string - Set of permissions to apply. The permissions allowed are the same as the ones for the
dbtcloud.Group
resource. - Project
Id int - Project ID to apply this permission to for this group.
- Writable
Environment List<string>Categories - What types of environments to apply Write permissions to.
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
The values allowed are
all
,development
,staging
,production
andother
. Not setting a value is the same as selectingall
. Not all permission sets support environment level write settings, onlyanalyst
,database_admin
,developer
,git_admin
andteam_admin
.
- All
Projects bool - Whether access should be provided for all projects or not.
- Permission
Set string - Set of permissions to apply. The permissions allowed are the same as the ones for the
dbtcloud.Group
resource. - Project
Id int - Project ID to apply this permission to for this group.
- Writable
Environment []stringCategories - What types of environments to apply Write permissions to.
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
The values allowed are
all
,development
,staging
,production
andother
. Not setting a value is the same as selectingall
. Not all permission sets support environment level write settings, onlyanalyst
,database_admin
,developer
,git_admin
andteam_admin
.
- all
Projects Boolean - Whether access should be provided for all projects or not.
- permission
Set String - Set of permissions to apply. The permissions allowed are the same as the ones for the
dbtcloud.Group
resource. - project
Id Integer - Project ID to apply this permission to for this group.
- writable
Environment List<String>Categories - What types of environments to apply Write permissions to.
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
The values allowed are
all
,development
,staging
,production
andother
. Not setting a value is the same as selectingall
. Not all permission sets support environment level write settings, onlyanalyst
,database_admin
,developer
,git_admin
andteam_admin
.
- all
Projects boolean - Whether access should be provided for all projects or not.
- permission
Set string - Set of permissions to apply. The permissions allowed are the same as the ones for the
dbtcloud.Group
resource. - project
Id number - Project ID to apply this permission to for this group.
- writable
Environment string[]Categories - What types of environments to apply Write permissions to.
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
The values allowed are
all
,development
,staging
,production
andother
. Not setting a value is the same as selectingall
. Not all permission sets support environment level write settings, onlyanalyst
,database_admin
,developer
,git_admin
andteam_admin
.
- all_
projects bool - Whether access should be provided for all projects or not.
- permission_
set str - Set of permissions to apply. The permissions allowed are the same as the ones for the
dbtcloud.Group
resource. - project_
id int - Project ID to apply this permission to for this group.
- writable_
environment_ Sequence[str]categories - What types of environments to apply Write permissions to.
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
The values allowed are
all
,development
,staging
,production
andother
. Not setting a value is the same as selectingall
. Not all permission sets support environment level write settings, onlyanalyst
,database_admin
,developer
,git_admin
andteam_admin
.
- all
Projects Boolean - Whether access should be provided for all projects or not.
- permission
Set String - Set of permissions to apply. The permissions allowed are the same as the ones for the
dbtcloud.Group
resource. - project
Id Number - Project ID to apply this permission to for this group.
- writable
Environment List<String>Categories - What types of environments to apply Write permissions to.
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
The values allowed are
all
,development
,staging
,production
andother
. Not setting a value is the same as selectingall
. Not all permission sets support environment level write settings, onlyanalyst
,database_admin
,developer
,git_admin
andteam_admin
.
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloud
Terraform Provider.