1. Packages
  2. Control Plane (cpln)
  3. API Docs
  4. Identity
Control Plane v0.0.47 published on Saturday, Nov 9, 2024 by pulumiverse

cpln.Identity

Explore with Pulumi AI

cpln logo
Control Plane v0.0.47 published on Saturday, Nov 9, 2024 by pulumiverse

    Create Identity Resource

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

    Constructor syntax

    new Identity(name: string, args: IdentityArgs, opts?: CustomResourceOptions);
    @overload
    def Identity(resource_name: str,
                 args: IdentityArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Identity(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 gvc: Optional[str] = None,
                 aws_access_policy: Optional[IdentityAwsAccessPolicyArgs] = None,
                 azure_access_policy: Optional[IdentityAzureAccessPolicyArgs] = None,
                 description: Optional[str] = None,
                 gcp_access_policy: Optional[IdentityGcpAccessPolicyArgs] = None,
                 name: Optional[str] = None,
                 native_network_resources: Optional[Sequence[IdentityNativeNetworkResourceArgs]] = None,
                 network_resources: Optional[Sequence[IdentityNetworkResourceArgs]] = None,
                 ngs_access_policy: Optional[IdentityNgsAccessPolicyArgs] = None,
                 tags: Optional[Mapping[str, str]] = None)
    func NewIdentity(ctx *Context, name string, args IdentityArgs, opts ...ResourceOption) (*Identity, error)
    public Identity(string name, IdentityArgs args, CustomResourceOptions? opts = null)
    public Identity(String name, IdentityArgs args)
    public Identity(String name, IdentityArgs args, CustomResourceOptions options)
    
    type: cpln:Identity
    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 IdentityArgs
    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 IdentityArgs
    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 IdentityArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IdentityArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IdentityArgs
    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 identityResource = new Cpln.Identity("identityResource", new()
    {
        Gvc = "string",
        AwsAccessPolicy = new Cpln.Inputs.IdentityAwsAccessPolicyArgs
        {
            CloudAccountLink = "string",
            PolicyRefs = new[]
            {
                "string",
            },
            RoleName = "string",
        },
        AzureAccessPolicy = new Cpln.Inputs.IdentityAzureAccessPolicyArgs
        {
            CloudAccountLink = "string",
            RoleAssignments = new[]
            {
                new Cpln.Inputs.IdentityAzureAccessPolicyRoleAssignmentArgs
                {
                    _sentinel = false,
                    Roles = new[]
                    {
                        "string",
                    },
                    Scope = "string",
                },
            },
        },
        Description = "string",
        GcpAccessPolicy = new Cpln.Inputs.IdentityGcpAccessPolicyArgs
        {
            CloudAccountLink = "string",
            Bindings = new[]
            {
                new Cpln.Inputs.IdentityGcpAccessPolicyBindingArgs
                {
                    _sentinel = false,
                    Resource = "string",
                    Roles = new[]
                    {
                        "string",
                    },
                },
            },
            Scopes = "string",
            ServiceAccount = "string",
        },
        Name = "string",
        NativeNetworkResources = new[]
        {
            new Cpln.Inputs.IdentityNativeNetworkResourceArgs
            {
                Fqdn = "string",
                Name = "string",
                Ports = new[]
                {
                    0,
                },
                AwsPrivateLink = new Cpln.Inputs.IdentityNativeNetworkResourceAwsPrivateLinkArgs
                {
                    EndpointServiceName = "string",
                },
                GcpServiceConnect = new Cpln.Inputs.IdentityNativeNetworkResourceGcpServiceConnectArgs
                {
                    TargetService = "string",
                },
            },
        },
        NetworkResources = new[]
        {
            new Cpln.Inputs.IdentityNetworkResourceArgs
            {
                Name = "string",
                Ports = new[]
                {
                    0,
                },
                AgentLink = "string",
                Fqdn = "string",
                Ips = new[]
                {
                    "string",
                },
                ResolverIp = "string",
            },
        },
        NgsAccessPolicy = new Cpln.Inputs.IdentityNgsAccessPolicyArgs
        {
            CloudAccountLink = "string",
            Data = 0,
            Payload = 0,
            Pub = new Cpln.Inputs.IdentityNgsAccessPolicyPubArgs
            {
                Allows = new[]
                {
                    "string",
                },
                Denies = new[]
                {
                    "string",
                },
            },
            Resp = new Cpln.Inputs.IdentityNgsAccessPolicyRespArgs
            {
                Max = 0,
                Ttl = "string",
            },
            Sub = new Cpln.Inputs.IdentityNgsAccessPolicySubArgs
            {
                Allows = new[]
                {
                    "string",
                },
                Denies = new[]
                {
                    "string",
                },
            },
            Subs = 0,
        },
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := cpln.NewIdentity(ctx, "identityResource", &cpln.IdentityArgs{
    	Gvc: pulumi.String("string"),
    	AwsAccessPolicy: &cpln.IdentityAwsAccessPolicyArgs{
    		CloudAccountLink: pulumi.String("string"),
    		PolicyRefs: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		RoleName: pulumi.String("string"),
    	},
    	AzureAccessPolicy: &cpln.IdentityAzureAccessPolicyArgs{
    		CloudAccountLink: pulumi.String("string"),
    		RoleAssignments: cpln.IdentityAzureAccessPolicyRoleAssignmentArray{
    			&cpln.IdentityAzureAccessPolicyRoleAssignmentArgs{
    				_sentinel: pulumi.Bool(false),
    				Roles: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Scope: pulumi.String("string"),
    			},
    		},
    	},
    	Description: pulumi.String("string"),
    	GcpAccessPolicy: &cpln.IdentityGcpAccessPolicyArgs{
    		CloudAccountLink: pulumi.String("string"),
    		Bindings: cpln.IdentityGcpAccessPolicyBindingArray{
    			&cpln.IdentityGcpAccessPolicyBindingArgs{
    				_sentinel: pulumi.Bool(false),
    				Resource:  pulumi.String("string"),
    				Roles: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    		Scopes:         pulumi.String("string"),
    		ServiceAccount: pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	NativeNetworkResources: cpln.IdentityNativeNetworkResourceArray{
    		&cpln.IdentityNativeNetworkResourceArgs{
    			Fqdn: pulumi.String("string"),
    			Name: pulumi.String("string"),
    			Ports: pulumi.IntArray{
    				pulumi.Int(0),
    			},
    			AwsPrivateLink: &cpln.IdentityNativeNetworkResourceAwsPrivateLinkArgs{
    				EndpointServiceName: pulumi.String("string"),
    			},
    			GcpServiceConnect: &cpln.IdentityNativeNetworkResourceGcpServiceConnectArgs{
    				TargetService: pulumi.String("string"),
    			},
    		},
    	},
    	NetworkResources: cpln.IdentityNetworkResourceArray{
    		&cpln.IdentityNetworkResourceArgs{
    			Name: pulumi.String("string"),
    			Ports: pulumi.IntArray{
    				pulumi.Int(0),
    			},
    			AgentLink: pulumi.String("string"),
    			Fqdn:      pulumi.String("string"),
    			Ips: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			ResolverIp: pulumi.String("string"),
    		},
    	},
    	NgsAccessPolicy: &cpln.IdentityNgsAccessPolicyArgs{
    		CloudAccountLink: pulumi.String("string"),
    		Data:             pulumi.Int(0),
    		Payload:          pulumi.Int(0),
    		Pub: &cpln.IdentityNgsAccessPolicyPubArgs{
    			Allows: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Denies: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		Resp: &cpln.IdentityNgsAccessPolicyRespArgs{
    			Max: pulumi.Int(0),
    			Ttl: pulumi.String("string"),
    		},
    		Sub: &cpln.IdentityNgsAccessPolicySubArgs{
    			Allows: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Denies: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		Subs: pulumi.Int(0),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var identityResource = new Identity("identityResource", IdentityArgs.builder()
        .gvc("string")
        .awsAccessPolicy(IdentityAwsAccessPolicyArgs.builder()
            .cloudAccountLink("string")
            .policyRefs("string")
            .roleName("string")
            .build())
        .azureAccessPolicy(IdentityAzureAccessPolicyArgs.builder()
            .cloudAccountLink("string")
            .roleAssignments(IdentityAzureAccessPolicyRoleAssignmentArgs.builder()
                ._sentinel(false)
                .roles("string")
                .scope("string")
                .build())
            .build())
        .description("string")
        .gcpAccessPolicy(IdentityGcpAccessPolicyArgs.builder()
            .cloudAccountLink("string")
            .bindings(IdentityGcpAccessPolicyBindingArgs.builder()
                ._sentinel(false)
                .resource("string")
                .roles("string")
                .build())
            .scopes("string")
            .serviceAccount("string")
            .build())
        .name("string")
        .nativeNetworkResources(IdentityNativeNetworkResourceArgs.builder()
            .fqdn("string")
            .name("string")
            .ports(0)
            .awsPrivateLink(IdentityNativeNetworkResourceAwsPrivateLinkArgs.builder()
                .endpointServiceName("string")
                .build())
            .gcpServiceConnect(IdentityNativeNetworkResourceGcpServiceConnectArgs.builder()
                .targetService("string")
                .build())
            .build())
        .networkResources(IdentityNetworkResourceArgs.builder()
            .name("string")
            .ports(0)
            .agentLink("string")
            .fqdn("string")
            .ips("string")
            .resolverIp("string")
            .build())
        .ngsAccessPolicy(IdentityNgsAccessPolicyArgs.builder()
            .cloudAccountLink("string")
            .data(0)
            .payload(0)
            .pub(IdentityNgsAccessPolicyPubArgs.builder()
                .allows("string")
                .denies("string")
                .build())
            .resp(IdentityNgsAccessPolicyRespArgs.builder()
                .max(0)
                .ttl("string")
                .build())
            .sub(IdentityNgsAccessPolicySubArgs.builder()
                .allows("string")
                .denies("string")
                .build())
            .subs(0)
            .build())
        .tags(Map.of("string", "string"))
        .build());
    
    identity_resource = cpln.Identity("identityResource",
        gvc="string",
        aws_access_policy={
            "cloud_account_link": "string",
            "policy_refs": ["string"],
            "role_name": "string",
        },
        azure_access_policy={
            "cloud_account_link": "string",
            "role_assignments": [{
                "_sentinel": False,
                "roles": ["string"],
                "scope": "string",
            }],
        },
        description="string",
        gcp_access_policy={
            "cloud_account_link": "string",
            "bindings": [{
                "_sentinel": False,
                "resource": "string",
                "roles": ["string"],
            }],
            "scopes": "string",
            "service_account": "string",
        },
        name="string",
        native_network_resources=[{
            "fqdn": "string",
            "name": "string",
            "ports": [0],
            "aws_private_link": {
                "endpoint_service_name": "string",
            },
            "gcp_service_connect": {
                "target_service": "string",
            },
        }],
        network_resources=[{
            "name": "string",
            "ports": [0],
            "agent_link": "string",
            "fqdn": "string",
            "ips": ["string"],
            "resolver_ip": "string",
        }],
        ngs_access_policy={
            "cloud_account_link": "string",
            "data": 0,
            "payload": 0,
            "pub": {
                "allows": ["string"],
                "denies": ["string"],
            },
            "resp": {
                "max": 0,
                "ttl": "string",
            },
            "sub": {
                "allows": ["string"],
                "denies": ["string"],
            },
            "subs": 0,
        },
        tags={
            "string": "string",
        })
    
    const identityResource = new cpln.Identity("identityResource", {
        gvc: "string",
        awsAccessPolicy: {
            cloudAccountLink: "string",
            policyRefs: ["string"],
            roleName: "string",
        },
        azureAccessPolicy: {
            cloudAccountLink: "string",
            roleAssignments: [{
                _sentinel: false,
                roles: ["string"],
                scope: "string",
            }],
        },
        description: "string",
        gcpAccessPolicy: {
            cloudAccountLink: "string",
            bindings: [{
                _sentinel: false,
                resource: "string",
                roles: ["string"],
            }],
            scopes: "string",
            serviceAccount: "string",
        },
        name: "string",
        nativeNetworkResources: [{
            fqdn: "string",
            name: "string",
            ports: [0],
            awsPrivateLink: {
                endpointServiceName: "string",
            },
            gcpServiceConnect: {
                targetService: "string",
            },
        }],
        networkResources: [{
            name: "string",
            ports: [0],
            agentLink: "string",
            fqdn: "string",
            ips: ["string"],
            resolverIp: "string",
        }],
        ngsAccessPolicy: {
            cloudAccountLink: "string",
            data: 0,
            payload: 0,
            pub: {
                allows: ["string"],
                denies: ["string"],
            },
            resp: {
                max: 0,
                ttl: "string",
            },
            sub: {
                allows: ["string"],
                denies: ["string"],
            },
            subs: 0,
        },
        tags: {
            string: "string",
        },
    });
    
    type: cpln:Identity
    properties:
        awsAccessPolicy:
            cloudAccountLink: string
            policyRefs:
                - string
            roleName: string
        azureAccessPolicy:
            cloudAccountLink: string
            roleAssignments:
                - _sentinel: false
                  roles:
                    - string
                  scope: string
        description: string
        gcpAccessPolicy:
            bindings:
                - _sentinel: false
                  resource: string
                  roles:
                    - string
            cloudAccountLink: string
            scopes: string
            serviceAccount: string
        gvc: string
        name: string
        nativeNetworkResources:
            - awsPrivateLink:
                endpointServiceName: string
              fqdn: string
              gcpServiceConnect:
                targetService: string
              name: string
              ports:
                - 0
        networkResources:
            - agentLink: string
              fqdn: string
              ips:
                - string
              name: string
              ports:
                - 0
              resolverIp: string
        ngsAccessPolicy:
            cloudAccountLink: string
            data: 0
            payload: 0
            pub:
                allows:
                    - string
                denies:
                    - string
            resp:
                max: 0
                ttl: string
            sub:
                allows:
                    - string
                denies:
                    - string
            subs: 0
        tags:
            string: string
    

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

    Gvc string
    Name of the GVC.
    AwsAccessPolicy Pulumiverse.Cpln.Inputs.IdentityAwsAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an AWS environment.
    AzureAccessPolicy Pulumiverse.Cpln.Inputs.IdentityAzureAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an Azure environment.
    Description string
    Description of the Identity.
    GcpAccessPolicy Pulumiverse.Cpln.Inputs.IdentityGcpAccessPolicy
    The GCP access policy can either contain an existing service_account or multiple bindings.
    Name string
    Name of the Identity.
    NativeNetworkResources List<Pulumiverse.Cpln.Inputs.IdentityNativeNetworkResource>
    ~> NOTE The configuration of a native network resource requires the assistance of Control Plane support.
    NetworkResources List<Pulumiverse.Cpln.Inputs.IdentityNetworkResource>
    A network resource can be configured with: - A fully qualified domain name (FQDN) and ports. - An FQDN, resolver IP, and ports. - IP's and ports.
    NgsAccessPolicy Pulumiverse.Cpln.Inputs.IdentityNgsAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an NGA environment.
    Tags Dictionary<string, string>
    Key-value map of resource tags.
    Gvc string
    Name of the GVC.
    AwsAccessPolicy IdentityAwsAccessPolicyArgs
    A set of access policy rules that defines the actions and resources that an identity can access within an AWS environment.
    AzureAccessPolicy IdentityAzureAccessPolicyArgs
    A set of access policy rules that defines the actions and resources that an identity can access within an Azure environment.
    Description string
    Description of the Identity.
    GcpAccessPolicy IdentityGcpAccessPolicyArgs
    The GCP access policy can either contain an existing service_account or multiple bindings.
    Name string
    Name of the Identity.
    NativeNetworkResources []IdentityNativeNetworkResourceArgs
    ~> NOTE The configuration of a native network resource requires the assistance of Control Plane support.
    NetworkResources []IdentityNetworkResourceArgs
    A network resource can be configured with: - A fully qualified domain name (FQDN) and ports. - An FQDN, resolver IP, and ports. - IP's and ports.
    NgsAccessPolicy IdentityNgsAccessPolicyArgs
    A set of access policy rules that defines the actions and resources that an identity can access within an NGA environment.
    Tags map[string]string
    Key-value map of resource tags.
    gvc String
    Name of the GVC.
    awsAccessPolicy IdentityAwsAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an AWS environment.
    azureAccessPolicy IdentityAzureAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an Azure environment.
    description String
    Description of the Identity.
    gcpAccessPolicy IdentityGcpAccessPolicy
    The GCP access policy can either contain an existing service_account or multiple bindings.
    name String
    Name of the Identity.
    nativeNetworkResources List<IdentityNativeNetworkResource>
    ~> NOTE The configuration of a native network resource requires the assistance of Control Plane support.
    networkResources List<IdentityNetworkResource>
    A network resource can be configured with: - A fully qualified domain name (FQDN) and ports. - An FQDN, resolver IP, and ports. - IP's and ports.
    ngsAccessPolicy IdentityNgsAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an NGA environment.
    tags Map<String,String>
    Key-value map of resource tags.
    gvc string
    Name of the GVC.
    awsAccessPolicy IdentityAwsAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an AWS environment.
    azureAccessPolicy IdentityAzureAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an Azure environment.
    description string
    Description of the Identity.
    gcpAccessPolicy IdentityGcpAccessPolicy
    The GCP access policy can either contain an existing service_account or multiple bindings.
    name string
    Name of the Identity.
    nativeNetworkResources IdentityNativeNetworkResource[]
    ~> NOTE The configuration of a native network resource requires the assistance of Control Plane support.
    networkResources IdentityNetworkResource[]
    A network resource can be configured with: - A fully qualified domain name (FQDN) and ports. - An FQDN, resolver IP, and ports. - IP's and ports.
    ngsAccessPolicy IdentityNgsAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an NGA environment.
    tags {[key: string]: string}
    Key-value map of resource tags.
    gvc str
    Name of the GVC.
    aws_access_policy IdentityAwsAccessPolicyArgs
    A set of access policy rules that defines the actions and resources that an identity can access within an AWS environment.
    azure_access_policy IdentityAzureAccessPolicyArgs
    A set of access policy rules that defines the actions and resources that an identity can access within an Azure environment.
    description str
    Description of the Identity.
    gcp_access_policy IdentityGcpAccessPolicyArgs
    The GCP access policy can either contain an existing service_account or multiple bindings.
    name str
    Name of the Identity.
    native_network_resources Sequence[IdentityNativeNetworkResourceArgs]
    ~> NOTE The configuration of a native network resource requires the assistance of Control Plane support.
    network_resources Sequence[IdentityNetworkResourceArgs]
    A network resource can be configured with: - A fully qualified domain name (FQDN) and ports. - An FQDN, resolver IP, and ports. - IP's and ports.
    ngs_access_policy IdentityNgsAccessPolicyArgs
    A set of access policy rules that defines the actions and resources that an identity can access within an NGA environment.
    tags Mapping[str, str]
    Key-value map of resource tags.
    gvc String
    Name of the GVC.
    awsAccessPolicy Property Map
    A set of access policy rules that defines the actions and resources that an identity can access within an AWS environment.
    azureAccessPolicy Property Map
    A set of access policy rules that defines the actions and resources that an identity can access within an Azure environment.
    description String
    Description of the Identity.
    gcpAccessPolicy Property Map
    The GCP access policy can either contain an existing service_account or multiple bindings.
    name String
    Name of the Identity.
    nativeNetworkResources List<Property Map>
    ~> NOTE The configuration of a native network resource requires the assistance of Control Plane support.
    networkResources List<Property Map>
    A network resource can be configured with: - A fully qualified domain name (FQDN) and ports. - An FQDN, resolver IP, and ports. - IP's and ports.
    ngsAccessPolicy Property Map
    A set of access policy rules that defines the actions and resources that an identity can access within an NGA environment.
    tags Map<String>
    Key-value map of resource tags.

    Outputs

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

    CplnId string
    ID, in GUID format, of the Identity.
    Id string
    The provider-assigned unique ID for this managed resource.
    SelfLink string
    Full link to this resource. Can be referenced by other resources.
    Status Dictionary<string, string>
    Key-value map of identity status. Available fields: objectName.
    CplnId string
    ID, in GUID format, of the Identity.
    Id string
    The provider-assigned unique ID for this managed resource.
    SelfLink string
    Full link to this resource. Can be referenced by other resources.
    Status map[string]string
    Key-value map of identity status. Available fields: objectName.
    cplnId String
    ID, in GUID format, of the Identity.
    id String
    The provider-assigned unique ID for this managed resource.
    selfLink String
    Full link to this resource. Can be referenced by other resources.
    status Map<String,String>
    Key-value map of identity status. Available fields: objectName.
    cplnId string
    ID, in GUID format, of the Identity.
    id string
    The provider-assigned unique ID for this managed resource.
    selfLink string
    Full link to this resource. Can be referenced by other resources.
    status {[key: string]: string}
    Key-value map of identity status. Available fields: objectName.
    cpln_id str
    ID, in GUID format, of the Identity.
    id str
    The provider-assigned unique ID for this managed resource.
    self_link str
    Full link to this resource. Can be referenced by other resources.
    status Mapping[str, str]
    Key-value map of identity status. Available fields: objectName.
    cplnId String
    ID, in GUID format, of the Identity.
    id String
    The provider-assigned unique ID for this managed resource.
    selfLink String
    Full link to this resource. Can be referenced by other resources.
    status Map<String>
    Key-value map of identity status. Available fields: objectName.

    Look up Existing Identity Resource

    Get an existing Identity 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?: IdentityState, opts?: CustomResourceOptions): Identity
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            aws_access_policy: Optional[IdentityAwsAccessPolicyArgs] = None,
            azure_access_policy: Optional[IdentityAzureAccessPolicyArgs] = None,
            cpln_id: Optional[str] = None,
            description: Optional[str] = None,
            gcp_access_policy: Optional[IdentityGcpAccessPolicyArgs] = None,
            gvc: Optional[str] = None,
            name: Optional[str] = None,
            native_network_resources: Optional[Sequence[IdentityNativeNetworkResourceArgs]] = None,
            network_resources: Optional[Sequence[IdentityNetworkResourceArgs]] = None,
            ngs_access_policy: Optional[IdentityNgsAccessPolicyArgs] = None,
            self_link: Optional[str] = None,
            status: Optional[Mapping[str, str]] = None,
            tags: Optional[Mapping[str, str]] = None) -> Identity
    func GetIdentity(ctx *Context, name string, id IDInput, state *IdentityState, opts ...ResourceOption) (*Identity, error)
    public static Identity Get(string name, Input<string> id, IdentityState? state, CustomResourceOptions? opts = null)
    public static Identity get(String name, Output<String> id, IdentityState 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.
    The following state arguments are supported:
    AwsAccessPolicy Pulumiverse.Cpln.Inputs.IdentityAwsAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an AWS environment.
    AzureAccessPolicy Pulumiverse.Cpln.Inputs.IdentityAzureAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an Azure environment.
    CplnId string
    ID, in GUID format, of the Identity.
    Description string
    Description of the Identity.
    GcpAccessPolicy Pulumiverse.Cpln.Inputs.IdentityGcpAccessPolicy
    The GCP access policy can either contain an existing service_account or multiple bindings.
    Gvc string
    Name of the GVC.
    Name string
    Name of the Identity.
    NativeNetworkResources List<Pulumiverse.Cpln.Inputs.IdentityNativeNetworkResource>
    ~> NOTE The configuration of a native network resource requires the assistance of Control Plane support.
    NetworkResources List<Pulumiverse.Cpln.Inputs.IdentityNetworkResource>
    A network resource can be configured with: - A fully qualified domain name (FQDN) and ports. - An FQDN, resolver IP, and ports. - IP's and ports.
    NgsAccessPolicy Pulumiverse.Cpln.Inputs.IdentityNgsAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an NGA environment.
    SelfLink string
    Full link to this resource. Can be referenced by other resources.
    Status Dictionary<string, string>
    Key-value map of identity status. Available fields: objectName.
    Tags Dictionary<string, string>
    Key-value map of resource tags.
    AwsAccessPolicy IdentityAwsAccessPolicyArgs
    A set of access policy rules that defines the actions and resources that an identity can access within an AWS environment.
    AzureAccessPolicy IdentityAzureAccessPolicyArgs
    A set of access policy rules that defines the actions and resources that an identity can access within an Azure environment.
    CplnId string
    ID, in GUID format, of the Identity.
    Description string
    Description of the Identity.
    GcpAccessPolicy IdentityGcpAccessPolicyArgs
    The GCP access policy can either contain an existing service_account or multiple bindings.
    Gvc string
    Name of the GVC.
    Name string
    Name of the Identity.
    NativeNetworkResources []IdentityNativeNetworkResourceArgs
    ~> NOTE The configuration of a native network resource requires the assistance of Control Plane support.
    NetworkResources []IdentityNetworkResourceArgs
    A network resource can be configured with: - A fully qualified domain name (FQDN) and ports. - An FQDN, resolver IP, and ports. - IP's and ports.
    NgsAccessPolicy IdentityNgsAccessPolicyArgs
    A set of access policy rules that defines the actions and resources that an identity can access within an NGA environment.
    SelfLink string
    Full link to this resource. Can be referenced by other resources.
    Status map[string]string
    Key-value map of identity status. Available fields: objectName.
    Tags map[string]string
    Key-value map of resource tags.
    awsAccessPolicy IdentityAwsAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an AWS environment.
    azureAccessPolicy IdentityAzureAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an Azure environment.
    cplnId String
    ID, in GUID format, of the Identity.
    description String
    Description of the Identity.
    gcpAccessPolicy IdentityGcpAccessPolicy
    The GCP access policy can either contain an existing service_account or multiple bindings.
    gvc String
    Name of the GVC.
    name String
    Name of the Identity.
    nativeNetworkResources List<IdentityNativeNetworkResource>
    ~> NOTE The configuration of a native network resource requires the assistance of Control Plane support.
    networkResources List<IdentityNetworkResource>
    A network resource can be configured with: - A fully qualified domain name (FQDN) and ports. - An FQDN, resolver IP, and ports. - IP's and ports.
    ngsAccessPolicy IdentityNgsAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an NGA environment.
    selfLink String
    Full link to this resource. Can be referenced by other resources.
    status Map<String,String>
    Key-value map of identity status. Available fields: objectName.
    tags Map<String,String>
    Key-value map of resource tags.
    awsAccessPolicy IdentityAwsAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an AWS environment.
    azureAccessPolicy IdentityAzureAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an Azure environment.
    cplnId string
    ID, in GUID format, of the Identity.
    description string
    Description of the Identity.
    gcpAccessPolicy IdentityGcpAccessPolicy
    The GCP access policy can either contain an existing service_account or multiple bindings.
    gvc string
    Name of the GVC.
    name string
    Name of the Identity.
    nativeNetworkResources IdentityNativeNetworkResource[]
    ~> NOTE The configuration of a native network resource requires the assistance of Control Plane support.
    networkResources IdentityNetworkResource[]
    A network resource can be configured with: - A fully qualified domain name (FQDN) and ports. - An FQDN, resolver IP, and ports. - IP's and ports.
    ngsAccessPolicy IdentityNgsAccessPolicy
    A set of access policy rules that defines the actions and resources that an identity can access within an NGA environment.
    selfLink string
    Full link to this resource. Can be referenced by other resources.
    status {[key: string]: string}
    Key-value map of identity status. Available fields: objectName.
    tags {[key: string]: string}
    Key-value map of resource tags.
    aws_access_policy IdentityAwsAccessPolicyArgs
    A set of access policy rules that defines the actions and resources that an identity can access within an AWS environment.
    azure_access_policy IdentityAzureAccessPolicyArgs
    A set of access policy rules that defines the actions and resources that an identity can access within an Azure environment.
    cpln_id str
    ID, in GUID format, of the Identity.
    description str
    Description of the Identity.
    gcp_access_policy IdentityGcpAccessPolicyArgs
    The GCP access policy can either contain an existing service_account or multiple bindings.
    gvc str
    Name of the GVC.
    name str
    Name of the Identity.
    native_network_resources Sequence[IdentityNativeNetworkResourceArgs]
    ~> NOTE The configuration of a native network resource requires the assistance of Control Plane support.
    network_resources Sequence[IdentityNetworkResourceArgs]
    A network resource can be configured with: - A fully qualified domain name (FQDN) and ports. - An FQDN, resolver IP, and ports. - IP's and ports.
    ngs_access_policy IdentityNgsAccessPolicyArgs
    A set of access policy rules that defines the actions and resources that an identity can access within an NGA environment.
    self_link str
    Full link to this resource. Can be referenced by other resources.
    status Mapping[str, str]
    Key-value map of identity status. Available fields: objectName.
    tags Mapping[str, str]
    Key-value map of resource tags.
    awsAccessPolicy Property Map
    A set of access policy rules that defines the actions and resources that an identity can access within an AWS environment.
    azureAccessPolicy Property Map
    A set of access policy rules that defines the actions and resources that an identity can access within an Azure environment.
    cplnId String
    ID, in GUID format, of the Identity.
    description String
    Description of the Identity.
    gcpAccessPolicy Property Map
    The GCP access policy can either contain an existing service_account or multiple bindings.
    gvc String
    Name of the GVC.
    name String
    Name of the Identity.
    nativeNetworkResources List<Property Map>
    ~> NOTE The configuration of a native network resource requires the assistance of Control Plane support.
    networkResources List<Property Map>
    A network resource can be configured with: - A fully qualified domain name (FQDN) and ports. - An FQDN, resolver IP, and ports. - IP's and ports.
    ngsAccessPolicy Property Map
    A set of access policy rules that defines the actions and resources that an identity can access within an NGA environment.
    selfLink String
    Full link to this resource. Can be referenced by other resources.
    status Map<String>
    Key-value map of identity status. Available fields: objectName.
    tags Map<String>
    Key-value map of resource tags.

    Supporting Types

    IdentityAwsAccessPolicy, IdentityAwsAccessPolicyArgs

    CloudAccountLink string
    PolicyRefs List<string>
    RoleName string
    CloudAccountLink string
    PolicyRefs []string
    RoleName string
    cloudAccountLink String
    policyRefs List<String>
    roleName String
    cloudAccountLink string
    policyRefs string[]
    roleName string
    cloudAccountLink String
    policyRefs List<String>
    roleName String

    IdentityAzureAccessPolicy, IdentityAzureAccessPolicyArgs

    IdentityAzureAccessPolicyRoleAssignment, IdentityAzureAccessPolicyRoleAssignmentArgs

    Roles List<string>
    Scope string
    _sentinel bool
    Roles []string
    Scope string
    _sentinel bool
    _sentinel Boolean
    roles List<String>
    scope String
    _sentinel boolean
    roles string[]
    scope string
    _sentinel bool
    roles Sequence[str]
    scope str
    _sentinel Boolean
    roles List<String>
    scope String

    IdentityGcpAccessPolicy, IdentityGcpAccessPolicyArgs

    IdentityGcpAccessPolicyBinding, IdentityGcpAccessPolicyBindingArgs

    Resource string
    Roles List<string>
    _sentinel bool
    Resource string
    Roles []string
    _sentinel bool
    _sentinel Boolean
    resource String
    roles List<String>
    _sentinel boolean
    resource string
    roles string[]
    _sentinel bool
    resource str
    roles Sequence[str]
    _sentinel Boolean
    resource String
    roles List<String>

    IdentityNativeNetworkResource, IdentityNativeNetworkResourceArgs

    IdentityNativeNetworkResourceGcpServiceConnect, IdentityNativeNetworkResourceGcpServiceConnectArgs

    IdentityNetworkResource, IdentityNetworkResourceArgs

    Name string
    Ports List<int>
    AgentLink string
    Fqdn string
    Ips List<string>
    ResolverIp string
    Name string
    Ports []int
    AgentLink string
    Fqdn string
    Ips []string
    ResolverIp string
    name String
    ports List<Integer>
    agentLink String
    fqdn String
    ips List<String>
    resolverIp String
    name string
    ports number[]
    agentLink string
    fqdn string
    ips string[]
    resolverIp string
    name str
    ports Sequence[int]
    agent_link str
    fqdn str
    ips Sequence[str]
    resolver_ip str
    name String
    ports List<Number>
    agentLink String
    fqdn String
    ips List<String>
    resolverIp String

    IdentityNgsAccessPolicy, IdentityNgsAccessPolicyArgs

    IdentityNgsAccessPolicyPub, IdentityNgsAccessPolicyPubArgs

    Allows List<string>
    Denies List<string>
    Allows []string
    Denies []string
    allows List<String>
    denies List<String>
    allows string[]
    denies string[]
    allows Sequence[str]
    denies Sequence[str]
    allows List<String>
    denies List<String>

    IdentityNgsAccessPolicyResp, IdentityNgsAccessPolicyRespArgs

    Max int
    Ttl string
    Max int
    Ttl string
    max Integer
    ttl String
    max number
    ttl string
    max int
    ttl str
    max Number
    ttl String

    IdentityNgsAccessPolicySub, IdentityNgsAccessPolicySubArgs

    Allows List<string>
    Denies List<string>
    Allows []string
    Denies []string
    allows List<String>
    denies List<String>
    allows string[]
    denies string[]
    allows Sequence[str]
    denies Sequence[str]
    allows List<String>
    denies List<String>

    Package Details

    Repository
    cpln pulumiverse/pulumi-cpln
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cpln Terraform Provider.
    cpln logo
    Control Plane v0.0.47 published on Saturday, Nov 9, 2024 by pulumiverse