Mapping
Create a Mapping Resource
new Mapping(name: string, args: MappingArgs, opts?: CustomResourceOptions);def Mapping(resource_name, opts=None, delete_when_absent=None, mappings=None, source_id=None, target_id=None, __props__=None);func NewMapping(ctx *Context, name string, args MappingArgs, opts ...ResourceOption) (*Mapping, error)public Mapping(string name, MappingArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args MappingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MappingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MappingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Mapping Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Mapping resource accepts the following input properties:
- Source
Id string The source id of the mapping to manage.
- Target
Id string The target id of the mapping to manage.
- Delete
When boolAbsent When turned on this flag will trigger the provider to delete mapping properties that are not defined in config. By default, we do not delete missing properties.
- Mappings
List<Mapping
Mapping Args>
- Source
Id string The source id of the mapping to manage.
- Target
Id string The target id of the mapping to manage.
- Delete
When boolAbsent When turned on this flag will trigger the provider to delete mapping properties that are not defined in config. By default, we do not delete missing properties.
- Mappings
[]Mapping
Mapping
- source
Id string The source id of the mapping to manage.
- target
Id string The target id of the mapping to manage.
- delete
When booleanAbsent When turned on this flag will trigger the provider to delete mapping properties that are not defined in config. By default, we do not delete missing properties.
- mappings
Mapping
Mapping[]
- source_
id str The source id of the mapping to manage.
- target_
id str The target id of the mapping to manage.
- delete_
when_ boolabsent When turned on this flag will trigger the provider to delete mapping properties that are not defined in config. By default, we do not delete missing properties.
- mappings
List[Mapping
Mapping]
Outputs
All input properties are implicitly available as output properties. Additionally, the Mapping resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Source
Name string - Source
Type string - Target
Name string - Target
Type string
- Id string
- The provider-assigned unique ID for this managed resource.
- Source
Name string - Source
Type string - Target
Name string - Target
Type string
- id string
- The provider-assigned unique ID for this managed resource.
- source
Name string - source
Type string - target
Name string - target
Type string
- id str
- The provider-assigned unique ID for this managed resource.
- source_
name str - source_
type str - target_
name str - target_
type str
Look up an Existing Mapping Resource
Get an existing Mapping 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?: MappingState, opts?: CustomResourceOptions): Mappingstatic get(resource_name, id, opts=None, delete_when_absent=None, mappings=None, source_id=None, source_name=None, source_type=None, target_id=None, target_name=None, target_type=None, __props__=None);func GetMapping(ctx *Context, name string, id IDInput, state *MappingState, opts ...ResourceOption) (*Mapping, error)public static Mapping Get(string name, Input<string> id, MappingState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Delete
When boolAbsent When turned on this flag will trigger the provider to delete mapping properties that are not defined in config. By default, we do not delete missing properties.
- Mappings
List<Mapping
Mapping Args> - Source
Id string The source id of the mapping to manage.
- Source
Name string - Source
Type string - Target
Id string The target id of the mapping to manage.
- Target
Name string - Target
Type string
- Delete
When boolAbsent When turned on this flag will trigger the provider to delete mapping properties that are not defined in config. By default, we do not delete missing properties.
- Mappings
[]Mapping
Mapping - Source
Id string The source id of the mapping to manage.
- Source
Name string - Source
Type string - Target
Id string The target id of the mapping to manage.
- Target
Name string - Target
Type string
- delete
When booleanAbsent When turned on this flag will trigger the provider to delete mapping properties that are not defined in config. By default, we do not delete missing properties.
- mappings
Mapping
Mapping[] - source
Id string The source id of the mapping to manage.
- source
Name string - source
Type string - target
Id string The target id of the mapping to manage.
- target
Name string - target
Type string
- delete_
when_ boolabsent When turned on this flag will trigger the provider to delete mapping properties that are not defined in config. By default, we do not delete missing properties.
- mappings
List[Mapping
Mapping] - source_
id str The source id of the mapping to manage.
- source_
name str - source_
type str - target_
id str The target id of the mapping to manage.
- target_
name str - target_
type str
Supporting Types
MappingMapping
Package Details
- Repository
- https://github.com/pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oktaTerraform Provider.