vercel.AccessGroupProject
Explore with Pulumi AI
Create AccessGroupProject Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AccessGroupProject(name: string, args: AccessGroupProjectArgs, opts?: CustomResourceOptions);
@overload
def AccessGroupProject(resource_name: str,
args: AccessGroupProjectArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AccessGroupProject(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_group_id: Optional[str] = None,
project_id: Optional[str] = None,
role: Optional[str] = None,
team_id: Optional[str] = None)
func NewAccessGroupProject(ctx *Context, name string, args AccessGroupProjectArgs, opts ...ResourceOption) (*AccessGroupProject, error)
public AccessGroupProject(string name, AccessGroupProjectArgs args, CustomResourceOptions? opts = null)
public AccessGroupProject(String name, AccessGroupProjectArgs args)
public AccessGroupProject(String name, AccessGroupProjectArgs args, CustomResourceOptions options)
type: vercel:AccessGroupProject
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 AccessGroupProjectArgs
- 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 AccessGroupProjectArgs
- 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 AccessGroupProjectArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccessGroupProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccessGroupProjectArgs
- 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 accessGroupProjectResource = new Vercel.AccessGroupProject("accessGroupProjectResource", new()
{
AccessGroupId = "string",
ProjectId = "string",
Role = "string",
TeamId = "string",
});
example, err := vercel.NewAccessGroupProject(ctx, "accessGroupProjectResource", &vercel.AccessGroupProjectArgs{
AccessGroupId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Role: pulumi.String("string"),
TeamId: pulumi.String("string"),
})
var accessGroupProjectResource = new AccessGroupProject("accessGroupProjectResource", AccessGroupProjectArgs.builder()
.accessGroupId("string")
.projectId("string")
.role("string")
.teamId("string")
.build());
access_group_project_resource = vercel.AccessGroupProject("accessGroupProjectResource",
access_group_id="string",
project_id="string",
role="string",
team_id="string")
const accessGroupProjectResource = new vercel.AccessGroupProject("accessGroupProjectResource", {
accessGroupId: "string",
projectId: "string",
role: "string",
teamId: "string",
});
type: vercel:AccessGroupProject
properties:
accessGroupId: string
projectId: string
role: string
teamId: string
AccessGroupProject 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 AccessGroupProject resource accepts the following input properties:
- Access
Group stringId - The ID of the Access Group.
- Project
Id string - The Project ID to assign to the access group.
- Role string
- The project role to assign to the access group. Must be either
ADMIN
,PROJECT_DEVELOPER
, orPROJECT_VIEWER
. - Team
Id string - The ID of the team the access group project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- Access
Group stringId - The ID of the Access Group.
- Project
Id string - The Project ID to assign to the access group.
- Role string
- The project role to assign to the access group. Must be either
ADMIN
,PROJECT_DEVELOPER
, orPROJECT_VIEWER
. - Team
Id string - The ID of the team the access group project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- access
Group StringId - The ID of the Access Group.
- project
Id String - The Project ID to assign to the access group.
- role String
- The project role to assign to the access group. Must be either
ADMIN
,PROJECT_DEVELOPER
, orPROJECT_VIEWER
. - team
Id String - The ID of the team the access group project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- access
Group stringId - The ID of the Access Group.
- project
Id string - The Project ID to assign to the access group.
- role string
- The project role to assign to the access group. Must be either
ADMIN
,PROJECT_DEVELOPER
, orPROJECT_VIEWER
. - team
Id string - The ID of the team the access group project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- access_
group_ strid - The ID of the Access Group.
- project_
id str - The Project ID to assign to the access group.
- role str
- The project role to assign to the access group. Must be either
ADMIN
,PROJECT_DEVELOPER
, orPROJECT_VIEWER
. - team_
id str - The ID of the team the access group project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- access
Group StringId - The ID of the Access Group.
- project
Id String - The Project ID to assign to the access group.
- role String
- The project role to assign to the access group. Must be either
ADMIN
,PROJECT_DEVELOPER
, orPROJECT_VIEWER
. - team
Id String - The ID of the team the access group project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
Outputs
All input properties are implicitly available as output properties. Additionally, the AccessGroupProject 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 AccessGroupProject Resource
Get an existing AccessGroupProject 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?: AccessGroupProjectState, opts?: CustomResourceOptions): AccessGroupProject
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_group_id: Optional[str] = None,
project_id: Optional[str] = None,
role: Optional[str] = None,
team_id: Optional[str] = None) -> AccessGroupProject
func GetAccessGroupProject(ctx *Context, name string, id IDInput, state *AccessGroupProjectState, opts ...ResourceOption) (*AccessGroupProject, error)
public static AccessGroupProject Get(string name, Input<string> id, AccessGroupProjectState? state, CustomResourceOptions? opts = null)
public static AccessGroupProject get(String name, Output<String> id, AccessGroupProjectState state, CustomResourceOptions options)
resources: _: type: vercel:AccessGroupProject 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.
- Access
Group stringId - The ID of the Access Group.
- Project
Id string - The Project ID to assign to the access group.
- Role string
- The project role to assign to the access group. Must be either
ADMIN
,PROJECT_DEVELOPER
, orPROJECT_VIEWER
. - Team
Id string - The ID of the team the access group project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- Access
Group stringId - The ID of the Access Group.
- Project
Id string - The Project ID to assign to the access group.
- Role string
- The project role to assign to the access group. Must be either
ADMIN
,PROJECT_DEVELOPER
, orPROJECT_VIEWER
. - Team
Id string - The ID of the team the access group project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- access
Group StringId - The ID of the Access Group.
- project
Id String - The Project ID to assign to the access group.
- role String
- The project role to assign to the access group. Must be either
ADMIN
,PROJECT_DEVELOPER
, orPROJECT_VIEWER
. - team
Id String - The ID of the team the access group project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- access
Group stringId - The ID of the Access Group.
- project
Id string - The Project ID to assign to the access group.
- role string
- The project role to assign to the access group. Must be either
ADMIN
,PROJECT_DEVELOPER
, orPROJECT_VIEWER
. - team
Id string - The ID of the team the access group project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- access_
group_ strid - The ID of the Access Group.
- project_
id str - The Project ID to assign to the access group.
- role str
- The project role to assign to the access group. Must be either
ADMIN
,PROJECT_DEVELOPER
, orPROJECT_VIEWER
. - team_
id str - The ID of the team the access group project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- access
Group StringId - The ID of the Access Group.
- project
Id String - The Project ID to assign to the access group.
- role String
- The project role to assign to the access group. Must be either
ADMIN
,PROJECT_DEVELOPER
, orPROJECT_VIEWER
. - team
Id String - The ID of the team the access group project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
Package Details
- Repository
- vercel pulumiverse/pulumi-vercel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vercel
Terraform Provider.