formal.ResourceClassifierConfiguration
Explore with Pulumi AI
A Resource Classifier Configuration is a configuration for a resource classifier.
Create ResourceClassifierConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ResourceClassifierConfiguration(name: string, args: ResourceClassifierConfigurationArgs, opts?: CustomResourceOptions);
@overload
def ResourceClassifierConfiguration(resource_name: str,
args: ResourceClassifierConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ResourceClassifierConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
preference: Optional[str] = None,
resource_id: Optional[str] = None)
func NewResourceClassifierConfiguration(ctx *Context, name string, args ResourceClassifierConfigurationArgs, opts ...ResourceOption) (*ResourceClassifierConfiguration, error)
public ResourceClassifierConfiguration(string name, ResourceClassifierConfigurationArgs args, CustomResourceOptions? opts = null)
public ResourceClassifierConfiguration(String name, ResourceClassifierConfigurationArgs args)
public ResourceClassifierConfiguration(String name, ResourceClassifierConfigurationArgs args, CustomResourceOptions options)
type: formal:ResourceClassifierConfiguration
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 ResourceClassifierConfigurationArgs
- 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 ResourceClassifierConfigurationArgs
- 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 ResourceClassifierConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ResourceClassifierConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ResourceClassifierConfigurationArgs
- 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 resourceClassifierConfigurationResource = new Pulumi.ResourceClassifierConfiguration("resourceClassifierConfigurationResource", new()
{
Preference = "string",
ResourceId = "string",
});
example, err := formal.NewResourceClassifierConfiguration(ctx, "resourceClassifierConfigurationResource", &formal.ResourceClassifierConfigurationArgs{
Preference: pulumi.String("string"),
ResourceId: pulumi.String("string"),
})
var resourceClassifierConfigurationResource = new ResourceClassifierConfiguration("resourceClassifierConfigurationResource", ResourceClassifierConfigurationArgs.builder()
.preference("string")
.resourceId("string")
.build());
resource_classifier_configuration_resource = formal.ResourceClassifierConfiguration("resourceClassifierConfigurationResource",
preference="string",
resource_id="string")
const resourceClassifierConfigurationResource = new formal.ResourceClassifierConfiguration("resourceClassifierConfigurationResource", {
preference: "string",
resourceId: "string",
});
type: formal:ResourceClassifierConfiguration
properties:
preference: string
resourceId: string
ResourceClassifierConfiguration 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 ResourceClassifierConfiguration resource accepts the following input properties:
- Preference string
- The preference. Supported values are
nlp
,llm
,both
, andnone
. - Resource
Id string - The ID of the Resource.
- Preference string
- The preference. Supported values are
nlp
,llm
,both
, andnone
. - Resource
Id string - The ID of the Resource.
- preference String
- The preference. Supported values are
nlp
,llm
,both
, andnone
. - resource
Id String - The ID of the Resource.
- preference string
- The preference. Supported values are
nlp
,llm
,both
, andnone
. - resource
Id string - The ID of the Resource.
- preference str
- The preference. Supported values are
nlp
,llm
,both
, andnone
. - resource_
id str - The ID of the Resource.
- preference String
- The preference. Supported values are
nlp
,llm
,both
, andnone
. - resource
Id String - The ID of the Resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ResourceClassifierConfiguration resource produces the following output properties:
- created_
at int - The timestamp of the Resource Classifier Preference creation.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at int - The timestamp of the Resource Classifier Preference update.
Look up Existing ResourceClassifierConfiguration Resource
Get an existing ResourceClassifierConfiguration 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?: ResourceClassifierConfigurationState, opts?: CustomResourceOptions): ResourceClassifierConfiguration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[int] = None,
preference: Optional[str] = None,
resource_id: Optional[str] = None,
updated_at: Optional[int] = None) -> ResourceClassifierConfiguration
func GetResourceClassifierConfiguration(ctx *Context, name string, id IDInput, state *ResourceClassifierConfigurationState, opts ...ResourceOption) (*ResourceClassifierConfiguration, error)
public static ResourceClassifierConfiguration Get(string name, Input<string> id, ResourceClassifierConfigurationState? state, CustomResourceOptions? opts = null)
public static ResourceClassifierConfiguration get(String name, Output<String> id, ResourceClassifierConfigurationState state, CustomResourceOptions options)
resources: _: type: formal:ResourceClassifierConfiguration 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 int - The timestamp of the Resource Classifier Preference creation.
- Preference string
- The preference. Supported values are
nlp
,llm
,both
, andnone
. - Resource
Id string - The ID of the Resource.
- Updated
At int - The timestamp of the Resource Classifier Preference update.
- Created
At int - The timestamp of the Resource Classifier Preference creation.
- Preference string
- The preference. Supported values are
nlp
,llm
,both
, andnone
. - Resource
Id string - The ID of the Resource.
- Updated
At int - The timestamp of the Resource Classifier Preference update.
- created
At Integer - The timestamp of the Resource Classifier Preference creation.
- preference String
- The preference. Supported values are
nlp
,llm
,both
, andnone
. - resource
Id String - The ID of the Resource.
- updated
At Integer - The timestamp of the Resource Classifier Preference update.
- created
At number - The timestamp of the Resource Classifier Preference creation.
- preference string
- The preference. Supported values are
nlp
,llm
,both
, andnone
. - resource
Id string - The ID of the Resource.
- updated
At number - The timestamp of the Resource Classifier Preference update.
- created_
at int - The timestamp of the Resource Classifier Preference creation.
- preference str
- The preference. Supported values are
nlp
,llm
,both
, andnone
. - resource_
id str - The ID of the Resource.
- updated_
at int - The timestamp of the Resource Classifier Preference update.
- created
At Number - The timestamp of the Resource Classifier Preference creation.
- preference String
- The preference. Supported values are
nlp
,llm
,both
, andnone
. - resource
Id String - The ID of the Resource.
- updated
At Number - The timestamp of the Resource Classifier Preference update.
Package Details
- Repository
- formal formalco/pulumi-formal
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
formal
Terraform Provider.