ise.identitymanagement.EndpointCustomAttribute
Explore with Pulumi AI
This resource can manage an Endpoint Custom Attribute.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ise from "@pulumi/ise";
const example = new ise.identitymanagement.EndpointCustomAttribute("example", {
attributeName: "isMobile",
attributeType: "Boolean",
});
import pulumi
import pulumi_ise as ise
example = ise.identitymanagement.EndpointCustomAttribute("example",
attribute_name="isMobile",
attribute_type="Boolean")
package main
import (
"github.com/pulumi/pulumi-ise/sdk/go/ise/identitymanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := identitymanagement.NewEndpointCustomAttribute(ctx, "example", &identitymanagement.EndpointCustomAttributeArgs{
AttributeName: pulumi.String("isMobile"),
AttributeType: pulumi.String("Boolean"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ise = Pulumi.Ise;
return await Deployment.RunAsync(() =>
{
var example = new Ise.IdentityManagement.EndpointCustomAttribute("example", new()
{
AttributeName = "isMobile",
AttributeType = "Boolean",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ise.identitymanagement.EndpointCustomAttribute;
import com.pulumi.ise.identitymanagement.EndpointCustomAttributeArgs;
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 example = new EndpointCustomAttribute("example", EndpointCustomAttributeArgs.builder()
.attributeName("isMobile")
.attributeType("Boolean")
.build());
}
}
resources:
example:
type: ise:identitymanagement:EndpointCustomAttribute
properties:
attributeName: isMobile
attributeType: Boolean
Create EndpointCustomAttribute Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EndpointCustomAttribute(name: string, args: EndpointCustomAttributeArgs, opts?: CustomResourceOptions);
@overload
def EndpointCustomAttribute(resource_name: str,
args: EndpointCustomAttributeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EndpointCustomAttribute(resource_name: str,
opts: Optional[ResourceOptions] = None,
attribute_name: Optional[str] = None,
attribute_type: Optional[str] = None)
func NewEndpointCustomAttribute(ctx *Context, name string, args EndpointCustomAttributeArgs, opts ...ResourceOption) (*EndpointCustomAttribute, error)
public EndpointCustomAttribute(string name, EndpointCustomAttributeArgs args, CustomResourceOptions? opts = null)
public EndpointCustomAttribute(String name, EndpointCustomAttributeArgs args)
public EndpointCustomAttribute(String name, EndpointCustomAttributeArgs args, CustomResourceOptions options)
type: ise:identitymanagement:EndpointCustomAttribute
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 EndpointCustomAttributeArgs
- 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 EndpointCustomAttributeArgs
- 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 EndpointCustomAttributeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointCustomAttributeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EndpointCustomAttributeArgs
- 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 endpointCustomAttributeResource = new Ise.IdentityManagement.EndpointCustomAttribute("endpointCustomAttributeResource", new()
{
AttributeName = "string",
AttributeType = "string",
});
example, err := identitymanagement.NewEndpointCustomAttribute(ctx, "endpointCustomAttributeResource", &identitymanagement.EndpointCustomAttributeArgs{
AttributeName: pulumi.String("string"),
AttributeType: pulumi.String("string"),
})
var endpointCustomAttributeResource = new EndpointCustomAttribute("endpointCustomAttributeResource", EndpointCustomAttributeArgs.builder()
.attributeName("string")
.attributeType("string")
.build());
endpoint_custom_attribute_resource = ise.identitymanagement.EndpointCustomAttribute("endpointCustomAttributeResource",
attribute_name="string",
attribute_type="string")
const endpointCustomAttributeResource = new ise.identitymanagement.EndpointCustomAttribute("endpointCustomAttributeResource", {
attributeName: "string",
attributeType: "string",
});
type: ise:identitymanagement:EndpointCustomAttribute
properties:
attributeName: string
attributeType: string
EndpointCustomAttribute 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 EndpointCustomAttribute resource accepts the following input properties:
- Attribute
Name string - The name of the attribute
- Attribute
Type string - Attribute type - Choices:
Boolean
,Date
,Float
,IP
,Int
,Long
,String
- Attribute
Name string - The name of the attribute
- Attribute
Type string - Attribute type - Choices:
Boolean
,Date
,Float
,IP
,Int
,Long
,String
- attribute
Name String - The name of the attribute
- attribute
Type String - Attribute type - Choices:
Boolean
,Date
,Float
,IP
,Int
,Long
,String
- attribute
Name string - The name of the attribute
- attribute
Type string - Attribute type - Choices:
Boolean
,Date
,Float
,IP
,Int
,Long
,String
- attribute_
name str - The name of the attribute
- attribute_
type str - Attribute type - Choices:
Boolean
,Date
,Float
,IP
,Int
,Long
,String
- attribute
Name String - The name of the attribute
- attribute
Type String - Attribute type - Choices:
Boolean
,Date
,Float
,IP
,Int
,Long
,String
Outputs
All input properties are implicitly available as output properties. Additionally, the EndpointCustomAttribute 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 EndpointCustomAttribute Resource
Get an existing EndpointCustomAttribute 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?: EndpointCustomAttributeState, opts?: CustomResourceOptions): EndpointCustomAttribute
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
attribute_name: Optional[str] = None,
attribute_type: Optional[str] = None) -> EndpointCustomAttribute
func GetEndpointCustomAttribute(ctx *Context, name string, id IDInput, state *EndpointCustomAttributeState, opts ...ResourceOption) (*EndpointCustomAttribute, error)
public static EndpointCustomAttribute Get(string name, Input<string> id, EndpointCustomAttributeState? state, CustomResourceOptions? opts = null)
public static EndpointCustomAttribute get(String name, Output<String> id, EndpointCustomAttributeState state, CustomResourceOptions options)
resources: _: type: ise:identitymanagement:EndpointCustomAttribute 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.
- Attribute
Name string - The name of the attribute
- Attribute
Type string - Attribute type - Choices:
Boolean
,Date
,Float
,IP
,Int
,Long
,String
- Attribute
Name string - The name of the attribute
- Attribute
Type string - Attribute type - Choices:
Boolean
,Date
,Float
,IP
,Int
,Long
,String
- attribute
Name String - The name of the attribute
- attribute
Type String - Attribute type - Choices:
Boolean
,Date
,Float
,IP
,Int
,Long
,String
- attribute
Name string - The name of the attribute
- attribute
Type string - Attribute type - Choices:
Boolean
,Date
,Float
,IP
,Int
,Long
,String
- attribute_
name str - The name of the attribute
- attribute_
type str - Attribute type - Choices:
Boolean
,Date
,Float
,IP
,Int
,Long
,String
- attribute
Name String - The name of the attribute
- attribute
Type String - Attribute type - Choices:
Boolean
,Date
,Float
,IP
,Int
,Long
,String
Import
$ pulumi import ise:identitymanagement/endpointCustomAttribute:EndpointCustomAttribute example "isMobile"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ise pulumi/pulumi-ise
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ise
Terraform Provider.