formal.DataDomain
Explore with Pulumi AI
Registering a Data Domain with Formal.
Create DataDomain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DataDomain(name: string, args: DataDomainArgs, opts?: CustomResourceOptions);
@overload
def DataDomain(resource_name: str,
args: DataDomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DataDomain(resource_name: str,
opts: Optional[ResourceOptions] = None,
excluded_paths: Optional[Sequence[str]] = None,
included_paths: Optional[Sequence[str]] = None,
owners: Optional[Sequence[DataDomainOwnerArgs]] = None,
description: Optional[str] = None,
name: Optional[str] = None)
func NewDataDomain(ctx *Context, name string, args DataDomainArgs, opts ...ResourceOption) (*DataDomain, error)
public DataDomain(string name, DataDomainArgs args, CustomResourceOptions? opts = null)
public DataDomain(String name, DataDomainArgs args)
public DataDomain(String name, DataDomainArgs args, CustomResourceOptions options)
type: formal:DataDomain
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 DataDomainArgs
- 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 DataDomainArgs
- 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 DataDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DataDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DataDomainArgs
- 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 dataDomainResource = new Pulumi.DataDomain("dataDomainResource", new()
{
ExcludedPaths = new[]
{
"string",
},
IncludedPaths = new[]
{
"string",
},
Owners = new[]
{
new Pulumi.Inputs.DataDomainOwnerArgs
{
ObjectId = "string",
ObjectType = "string",
},
},
Description = "string",
Name = "string",
});
example, err := formal.NewDataDomain(ctx, "dataDomainResource", &formal.DataDomainArgs{
ExcludedPaths: pulumi.StringArray{
pulumi.String("string"),
},
IncludedPaths: pulumi.StringArray{
pulumi.String("string"),
},
Owners: formal.DataDomainOwnerArray{
&formal.DataDomainOwnerArgs{
ObjectId: pulumi.String("string"),
ObjectType: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
Name: pulumi.String("string"),
})
var dataDomainResource = new DataDomain("dataDomainResource", DataDomainArgs.builder()
.excludedPaths("string")
.includedPaths("string")
.owners(DataDomainOwnerArgs.builder()
.objectId("string")
.objectType("string")
.build())
.description("string")
.name("string")
.build());
data_domain_resource = formal.DataDomain("dataDomainResource",
excluded_paths=["string"],
included_paths=["string"],
owners=[{
"object_id": "string",
"object_type": "string",
}],
description="string",
name="string")
const dataDomainResource = new formal.DataDomain("dataDomainResource", {
excludedPaths: ["string"],
includedPaths: ["string"],
owners: [{
objectId: "string",
objectType: "string",
}],
description: "string",
name: "string",
});
type: formal:DataDomain
properties:
description: string
excludedPaths:
- string
includedPaths:
- string
name: string
owners:
- objectId: string
objectType: string
DataDomain 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 DataDomain resource accepts the following input properties:
- Excluded
Paths List<string> - Excluded paths of this data domain.
- Included
Paths List<string> - Included paths of this data domain.
- Owners
List<Formal.
Pulumi. Inputs. Data Domain Owner> - Owners of this policy.
- Description string
- Description of the data domain.
- Name string
- Name of the data domain.
- Excluded
Paths []string - Excluded paths of this data domain.
- Included
Paths []string - Included paths of this data domain.
- Owners
[]Data
Domain Owner Args - Owners of this policy.
- Description string
- Description of the data domain.
- Name string
- Name of the data domain.
- excluded
Paths List<String> - Excluded paths of this data domain.
- included
Paths List<String> - Included paths of this data domain.
- owners
List<Data
Domain Owner> - Owners of this policy.
- description String
- Description of the data domain.
- name String
- Name of the data domain.
- excluded
Paths string[] - Excluded paths of this data domain.
- included
Paths string[] - Included paths of this data domain.
- owners
Data
Domain Owner[] - Owners of this policy.
- description string
- Description of the data domain.
- name string
- Name of the data domain.
- excluded_
paths Sequence[str] - Excluded paths of this data domain.
- included_
paths Sequence[str] - Included paths of this data domain.
- owners
Sequence[Data
Domain Owner Args] - Owners of this policy.
- description str
- Description of the data domain.
- name str
- Name of the data domain.
- excluded
Paths List<String> - Excluded paths of this data domain.
- included
Paths List<String> - Included paths of this data domain.
- owners List<Property Map>
- Owners of this policy.
- description String
- Description of the data domain.
- name String
- Name of the data domain.
Outputs
All input properties are implicitly available as output properties. Additionally, the DataDomain resource produces the following output properties:
- created_
at str - When the policy was created.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - Last update time.
Look up Existing DataDomain Resource
Get an existing DataDomain 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?: DataDomainState, opts?: CustomResourceOptions): DataDomain
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
excluded_paths: Optional[Sequence[str]] = None,
included_paths: Optional[Sequence[str]] = None,
name: Optional[str] = None,
owners: Optional[Sequence[DataDomainOwnerArgs]] = None,
updated_at: Optional[str] = None) -> DataDomain
func GetDataDomain(ctx *Context, name string, id IDInput, state *DataDomainState, opts ...ResourceOption) (*DataDomain, error)
public static DataDomain Get(string name, Input<string> id, DataDomainState? state, CustomResourceOptions? opts = null)
public static DataDomain get(String name, Output<String> id, DataDomainState state, CustomResourceOptions options)
resources: _: type: formal:DataDomain 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.
- Created
At string - When the policy was created.
- Description string
- Description of the data domain.
- Excluded
Paths List<string> - Excluded paths of this data domain.
- Included
Paths List<string> - Included paths of this data domain.
- Name string
- Name of the data domain.
- Owners
List<Formal.
Pulumi. Inputs. Data Domain Owner> - Owners of this policy.
- Updated
At string - Last update time.
- Created
At string - When the policy was created.
- Description string
- Description of the data domain.
- Excluded
Paths []string - Excluded paths of this data domain.
- Included
Paths []string - Included paths of this data domain.
- Name string
- Name of the data domain.
- Owners
[]Data
Domain Owner Args - Owners of this policy.
- Updated
At string - Last update time.
- created
At String - When the policy was created.
- description String
- Description of the data domain.
- excluded
Paths List<String> - Excluded paths of this data domain.
- included
Paths List<String> - Included paths of this data domain.
- name String
- Name of the data domain.
- owners
List<Data
Domain Owner> - Owners of this policy.
- updated
At String - Last update time.
- created
At string - When the policy was created.
- description string
- Description of the data domain.
- excluded
Paths string[] - Excluded paths of this data domain.
- included
Paths string[] - Included paths of this data domain.
- name string
- Name of the data domain.
- owners
Data
Domain Owner[] - Owners of this policy.
- updated
At string - Last update time.
- created_
at str - When the policy was created.
- description str
- Description of the data domain.
- excluded_
paths Sequence[str] - Excluded paths of this data domain.
- included_
paths Sequence[str] - Included paths of this data domain.
- name str
- Name of the data domain.
- owners
Sequence[Data
Domain Owner Args] - Owners of this policy.
- updated_
at str - Last update time.
- created
At String - When the policy was created.
- description String
- Description of the data domain.
- excluded
Paths List<String> - Excluded paths of this data domain.
- included
Paths List<String> - Included paths of this data domain.
- name String
- Name of the data domain.
- owners List<Property Map>
- Owners of this policy.
- updated
At String - Last update time.
Supporting Types
DataDomainOwner, DataDomainOwnerArgs
- Object
Id string - Object
Type string
- Object
Id string - Object
Type string
- object
Id String - object
Type String
- object
Id string - object
Type string
- object_
id str - object_
type str
- object
Id String - object
Type String
Package Details
- Repository
- formal formalco/pulumi-formal
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
formal
Terraform Provider.