1. Packages
  2. Konnect Provider
  3. API Docs
  4. PortalTeam
konnect 2.6.0 published on Tuesday, Apr 22, 2025 by kong

konnect.PortalTeam

Explore with Pulumi AI

PortalTeam Resource

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as konnect from "@pulumi/konnect";

const myPortalteam = new konnect.PortalTeam("myPortalteam", {
    description: "The Identity Management (IDM) team.",
    portalId: "09878798-1a69-48bc-9bac-1c891294cc51",
});
Copy
import pulumi
import pulumi_konnect as konnect

my_portalteam = konnect.PortalTeam("myPortalteam",
    description="The Identity Management (IDM) team.",
    portal_id="09878798-1a69-48bc-9bac-1c891294cc51")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/konnect/v2/konnect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := konnect.NewPortalTeam(ctx, "myPortalteam", &konnect.PortalTeamArgs{
			Description: pulumi.String("The Identity Management (IDM) team."),
			PortalId:    pulumi.String("09878798-1a69-48bc-9bac-1c891294cc51"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Konnect = Pulumi.Konnect;

return await Deployment.RunAsync(() => 
{
    var myPortalteam = new Konnect.PortalTeam("myPortalteam", new()
    {
        Description = "The Identity Management (IDM) team.",
        PortalId = "09878798-1a69-48bc-9bac-1c891294cc51",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.PortalTeam;
import com.pulumi.konnect.PortalTeamArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var myPortalteam = new PortalTeam("myPortalteam", PortalTeamArgs.builder()
            .description("The Identity Management (IDM) team.")
            .portalId("09878798-1a69-48bc-9bac-1c891294cc51")
            .build());

    }
}
Copy
resources:
  myPortalteam:
    type: konnect:PortalTeam
    properties:
      description: The Identity Management (IDM) team.
      portalId: 09878798-1a69-48bc-9bac-1c891294cc51
Copy

Create PortalTeam Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new PortalTeam(name: string, args: PortalTeamArgs, opts?: CustomResourceOptions);
@overload
def PortalTeam(resource_name: str,
               args: PortalTeamArgs,
               opts: Optional[ResourceOptions] = None)

@overload
def PortalTeam(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               portal_id: Optional[str] = None,
               description: Optional[str] = None,
               name: Optional[str] = None)
func NewPortalTeam(ctx *Context, name string, args PortalTeamArgs, opts ...ResourceOption) (*PortalTeam, error)
public PortalTeam(string name, PortalTeamArgs args, CustomResourceOptions? opts = null)
public PortalTeam(String name, PortalTeamArgs args)
public PortalTeam(String name, PortalTeamArgs args, CustomResourceOptions options)
type: konnect:PortalTeam
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. PortalTeamArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. PortalTeamArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. PortalTeamArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. PortalTeamArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. PortalTeamArgs
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 portalTeamResource = new Konnect.PortalTeam("portalTeamResource", new()
{
    PortalId = "string",
    Description = "string",
    Name = "string",
});
Copy
example, err := konnect.NewPortalTeam(ctx, "portalTeamResource", &konnect.PortalTeamArgs{
	PortalId:    pulumi.String("string"),
	Description: pulumi.String("string"),
	Name:        pulumi.String("string"),
})
Copy
var portalTeamResource = new PortalTeam("portalTeamResource", PortalTeamArgs.builder()
    .portalId("string")
    .description("string")
    .name("string")
    .build());
Copy
portal_team_resource = konnect.PortalTeam("portalTeamResource",
    portal_id="string",
    description="string",
    name="string")
Copy
const portalTeamResource = new konnect.PortalTeam("portalTeamResource", {
    portalId: "string",
    description: "string",
    name: "string",
});
Copy
type: konnect:PortalTeam
properties:
    description: string
    name: string
    portalId: string
Copy

PortalTeam 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 PortalTeam resource accepts the following input properties:

PortalId This property is required. string
ID of the portal.
Description string
Name string
PortalId This property is required. string
ID of the portal.
Description string
Name string
portalId This property is required. String
ID of the portal.
description String
name String
portalId This property is required. string
ID of the portal.
description string
name string
portal_id This property is required. str
ID of the portal.
description str
name str
portalId This property is required. String
ID of the portal.
description String
name String

Outputs

All input properties are implicitly available as output properties. Additionally, the PortalTeam resource produces the following output properties:

CreatedAt string
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt string
CreatedAt string
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt string
createdAt String
id String
The provider-assigned unique ID for this managed resource.
updatedAt String
createdAt string
id string
The provider-assigned unique ID for this managed resource.
updatedAt string
created_at str
id str
The provider-assigned unique ID for this managed resource.
updated_at str
createdAt String
id String
The provider-assigned unique ID for this managed resource.
updatedAt String

Look up Existing PortalTeam Resource

Get an existing PortalTeam 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?: PortalTeamState, opts?: CustomResourceOptions): PortalTeam
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created_at: Optional[str] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        portal_id: Optional[str] = None,
        updated_at: Optional[str] = None) -> PortalTeam
func GetPortalTeam(ctx *Context, name string, id IDInput, state *PortalTeamState, opts ...ResourceOption) (*PortalTeam, error)
public static PortalTeam Get(string name, Input<string> id, PortalTeamState? state, CustomResourceOptions? opts = null)
public static PortalTeam get(String name, Output<String> id, PortalTeamState state, CustomResourceOptions options)
resources:  _:    type: konnect:PortalTeam    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
CreatedAt string
Description string
Name string
PortalId string
ID of the portal.
UpdatedAt string
CreatedAt string
Description string
Name string
PortalId string
ID of the portal.
UpdatedAt string
createdAt String
description String
name String
portalId String
ID of the portal.
updatedAt String
createdAt string
description string
name string
portalId string
ID of the portal.
updatedAt string
created_at str
description str
name str
portal_id str
ID of the portal.
updated_at str
createdAt String
description String
name String
portalId String
ID of the portal.
updatedAt String

Import

$ pulumi import konnect:index/portalTeam:PortalTeam my_konnect_portal_team "{ \"portal_id\": \"\", \"id\": \"d32d905a-ed33-46a3-a093-d8f536af9a8a\"}"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
konnect kong/terraform-provider-konnect
License
Notes
This Pulumi package is based on the konnect Terraform Provider.