published on Thursday, Jul 23, 2026 by Aten Security
published on Thursday, Jul 23, 2026 by Aten Security
Create Vendor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Vendor(name: string, args: VendorArgs, opts?: CustomResourceOptions);@overload
def Vendor(resource_name: str,
args: VendorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Vendor(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
host_patterns: Optional[Sequence[str]] = None,
vendor_id: Optional[str] = None,
approved: Optional[bool] = None,
last_seen_at: Optional[str] = None,
notes: Optional[str] = None,
source: Optional[str] = None)func NewVendor(ctx *Context, name string, args VendorArgs, opts ...ResourceOption) (*Vendor, error)public Vendor(string name, VendorArgs args, CustomResourceOptions? opts = null)
public Vendor(String name, VendorArgs args)
public Vendor(String name, VendorArgs args, CustomResourceOptions options)
type: thoth:mcp:Vendor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "thoth_mcp_vendor" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args VendorArgs
- 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 VendorArgs
- 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 VendorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VendorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VendorArgs
- 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 vendorResource = new Thoth.Mcp.Vendor("vendorResource", new()
{
DisplayName = "string",
HostPatterns = new[]
{
"string",
},
VendorId = "string",
Approved = false,
LastSeenAt = "string",
Notes = "string",
Source = "string",
});
example, err := mcp.NewVendor(ctx, "vendorResource", &mcp.VendorArgs{
DisplayName: pulumi.String("string"),
HostPatterns: pulumi.StringArray{
pulumi.String("string"),
},
VendorId: pulumi.String("string"),
Approved: pulumi.Bool(false),
LastSeenAt: pulumi.String("string"),
Notes: pulumi.String("string"),
Source: pulumi.String("string"),
})
resource "thoth_mcp_vendor" "vendorResource" {
lifecycle {
create_before_destroy = true
}
display_name = "string"
host_patterns = ["string"]
vendor_id = "string"
approved = false
last_seen_at = "string"
notes = "string"
source = "string"
}
var vendorResource = new Vendor("vendorResource", VendorArgs.builder()
.displayName("string")
.hostPatterns("string")
.vendorId("string")
.approved(false)
.lastSeenAt("string")
.notes("string")
.source("string")
.build());
vendor_resource = thoth.mcp.Vendor("vendorResource",
display_name="string",
host_patterns=["string"],
vendor_id="string",
approved=False,
last_seen_at="string",
notes="string",
source="string")
const vendorResource = new thoth.mcp.Vendor("vendorResource", {
displayName: "string",
hostPatterns: ["string"],
vendorId: "string",
approved: false,
lastSeenAt: "string",
notes: "string",
source: "string",
});
type: thoth:mcp:Vendor
properties:
approved: false
displayName: string
hostPatterns:
- string
lastSeenAt: string
notes: string
source: string
vendorId: string
Vendor 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 Vendor resource accepts the following input properties:
- Display
Name string - Human-friendly vendor display name.
- Host
Patterns List<string> - Allowed host patterns for this vendor (for example api.openai.com).
- Vendor
Id string - Stable vendor identifier.
- Approved bool
- Whether this vendor is approved for pass-through MCP host access.
- Last
Seen stringAt - Last observed timestamp (RFC3339) for this vendor in runtime traffic.
- Notes string
- Optional reviewer notes for this vendor entry.
- Source string
- Vendor entry source (for example manual, discovered).
- Display
Name string - Human-friendly vendor display name.
- Host
Patterns []string - Allowed host patterns for this vendor (for example api.openai.com).
- Vendor
Id string - Stable vendor identifier.
- Approved bool
- Whether this vendor is approved for pass-through MCP host access.
- Last
Seen stringAt - Last observed timestamp (RFC3339) for this vendor in runtime traffic.
- Notes string
- Optional reviewer notes for this vendor entry.
- Source string
- Vendor entry source (for example manual, discovered).
- display_
name string - Human-friendly vendor display name.
- host_
patterns list(string) - Allowed host patterns for this vendor (for example api.openai.com).
- vendor_
id string - Stable vendor identifier.
- approved bool
- Whether this vendor is approved for pass-through MCP host access.
- last_
seen_ stringat - Last observed timestamp (RFC3339) for this vendor in runtime traffic.
- notes string
- Optional reviewer notes for this vendor entry.
- source string
- Vendor entry source (for example manual, discovered).
- display
Name String - Human-friendly vendor display name.
- host
Patterns List<String> - Allowed host patterns for this vendor (for example api.openai.com).
- vendor
Id String - Stable vendor identifier.
- approved Boolean
- Whether this vendor is approved for pass-through MCP host access.
- last
Seen StringAt - Last observed timestamp (RFC3339) for this vendor in runtime traffic.
- notes String
- Optional reviewer notes for this vendor entry.
- source String
- Vendor entry source (for example manual, discovered).
- display
Name string - Human-friendly vendor display name.
- host
Patterns string[] - Allowed host patterns for this vendor (for example api.openai.com).
- vendor
Id string - Stable vendor identifier.
- approved boolean
- Whether this vendor is approved for pass-through MCP host access.
- last
Seen stringAt - Last observed timestamp (RFC3339) for this vendor in runtime traffic.
- notes string
- Optional reviewer notes for this vendor entry.
- source string
- Vendor entry source (for example manual, discovered).
- display_
name str - Human-friendly vendor display name.
- host_
patterns Sequence[str] - Allowed host patterns for this vendor (for example api.openai.com).
- vendor_
id str - Stable vendor identifier.
- approved bool
- Whether this vendor is approved for pass-through MCP host access.
- last_
seen_ strat - Last observed timestamp (RFC3339) for this vendor in runtime traffic.
- notes str
- Optional reviewer notes for this vendor entry.
- source str
- Vendor entry source (for example manual, discovered).
- display
Name String - Human-friendly vendor display name.
- host
Patterns List<String> - Allowed host patterns for this vendor (for example api.openai.com).
- vendor
Id String - Stable vendor identifier.
- approved Boolean
- Whether this vendor is approved for pass-through MCP host access.
- last
Seen StringAt - Last observed timestamp (RFC3339) for this vendor in runtime traffic.
- notes String
- Optional reviewer notes for this vendor entry.
- source String
- Vendor entry source (for example manual, discovered).
Outputs
All input properties are implicitly available as output properties. Additionally, the Vendor resource produces the following output properties:
- created_
at string - Creation timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- tenant_
id string - Tenant ID from provider configuration.
- updated_
at string - Last update timestamp.
- created_
at str - Creation timestamp.
- id str
- The provider-assigned unique ID for this managed resource.
- tenant_
id str - Tenant ID from provider configuration.
- updated_
at str - Last update timestamp.
Look up Existing Vendor Resource
Get an existing Vendor 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?: VendorState, opts?: CustomResourceOptions): Vendor@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
approved: Optional[bool] = None,
created_at: Optional[str] = None,
display_name: Optional[str] = None,
host_patterns: Optional[Sequence[str]] = None,
last_seen_at: Optional[str] = None,
notes: Optional[str] = None,
source: Optional[str] = None,
tenant_id: Optional[str] = None,
updated_at: Optional[str] = None,
vendor_id: Optional[str] = None) -> Vendorfunc GetVendor(ctx *Context, name string, id IDInput, state *VendorState, opts ...ResourceOption) (*Vendor, error)public static Vendor Get(string name, Input<string> id, VendorState? state, CustomResourceOptions? opts = null)public static Vendor get(String name, Output<String> id, VendorState state, CustomResourceOptions options)resources: _: type: thoth:mcp:Vendor get: id: ${id}import {
to = thoth_mcp_vendor.example
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.
- Approved bool
- Whether this vendor is approved for pass-through MCP host access.
- Created
At string - Creation timestamp.
- Display
Name string - Human-friendly vendor display name.
- Host
Patterns List<string> - Allowed host patterns for this vendor (for example api.openai.com).
- Last
Seen stringAt - Last observed timestamp (RFC3339) for this vendor in runtime traffic.
- Notes string
- Optional reviewer notes for this vendor entry.
- Source string
- Vendor entry source (for example manual, discovered).
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Last update timestamp.
- Vendor
Id string - Stable vendor identifier.
- Approved bool
- Whether this vendor is approved for pass-through MCP host access.
- Created
At string - Creation timestamp.
- Display
Name string - Human-friendly vendor display name.
- Host
Patterns []string - Allowed host patterns for this vendor (for example api.openai.com).
- Last
Seen stringAt - Last observed timestamp (RFC3339) for this vendor in runtime traffic.
- Notes string
- Optional reviewer notes for this vendor entry.
- Source string
- Vendor entry source (for example manual, discovered).
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Last update timestamp.
- Vendor
Id string - Stable vendor identifier.
- approved bool
- Whether this vendor is approved for pass-through MCP host access.
- created_
at string - Creation timestamp.
- display_
name string - Human-friendly vendor display name.
- host_
patterns list(string) - Allowed host patterns for this vendor (for example api.openai.com).
- last_
seen_ stringat - Last observed timestamp (RFC3339) for this vendor in runtime traffic.
- notes string
- Optional reviewer notes for this vendor entry.
- source string
- Vendor entry source (for example manual, discovered).
- tenant_
id string - Tenant ID from provider configuration.
- updated_
at string - Last update timestamp.
- vendor_
id string - Stable vendor identifier.
- approved Boolean
- Whether this vendor is approved for pass-through MCP host access.
- created
At String - Creation timestamp.
- display
Name String - Human-friendly vendor display name.
- host
Patterns List<String> - Allowed host patterns for this vendor (for example api.openai.com).
- last
Seen StringAt - Last observed timestamp (RFC3339) for this vendor in runtime traffic.
- notes String
- Optional reviewer notes for this vendor entry.
- source String
- Vendor entry source (for example manual, discovered).
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Last update timestamp.
- vendor
Id String - Stable vendor identifier.
- approved boolean
- Whether this vendor is approved for pass-through MCP host access.
- created
At string - Creation timestamp.
- display
Name string - Human-friendly vendor display name.
- host
Patterns string[] - Allowed host patterns for this vendor (for example api.openai.com).
- last
Seen stringAt - Last observed timestamp (RFC3339) for this vendor in runtime traffic.
- notes string
- Optional reviewer notes for this vendor entry.
- source string
- Vendor entry source (for example manual, discovered).
- tenant
Id string - Tenant ID from provider configuration.
- updated
At string - Last update timestamp.
- vendor
Id string - Stable vendor identifier.
- approved bool
- Whether this vendor is approved for pass-through MCP host access.
- created_
at str - Creation timestamp.
- display_
name str - Human-friendly vendor display name.
- host_
patterns Sequence[str] - Allowed host patterns for this vendor (for example api.openai.com).
- last_
seen_ strat - Last observed timestamp (RFC3339) for this vendor in runtime traffic.
- notes str
- Optional reviewer notes for this vendor entry.
- source str
- Vendor entry source (for example manual, discovered).
- tenant_
id str - Tenant ID from provider configuration.
- updated_
at str - Last update timestamp.
- vendor_
id str - Stable vendor identifier.
- approved Boolean
- Whether this vendor is approved for pass-through MCP host access.
- created
At String - Creation timestamp.
- display
Name String - Human-friendly vendor display name.
- host
Patterns List<String> - Allowed host patterns for this vendor (for example api.openai.com).
- last
Seen StringAt - Last observed timestamp (RFC3339) for this vendor in runtime traffic.
- notes String
- Optional reviewer notes for this vendor entry.
- source String
- Vendor entry source (for example manual, discovered).
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Last update timestamp.
- vendor
Id String - Stable vendor identifier.
Package Details
- Repository
- thoth atensecurity/pulumi-thoth
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
thothTerraform Provider.
published on Thursday, Jul 23, 2026 by Aten Security