cockroach.PrivateEndpointTrustedOwner
Explore with Pulumi AI
Private Endpoint Trusted Owner.
Create PrivateEndpointTrustedOwner Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrivateEndpointTrustedOwner(name: string, args: PrivateEndpointTrustedOwnerArgs, opts?: CustomResourceOptions);
@overload
def PrivateEndpointTrustedOwner(resource_name: str,
args: PrivateEndpointTrustedOwnerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PrivateEndpointTrustedOwner(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
external_owner_id: Optional[str] = None,
type: Optional[str] = None)
func NewPrivateEndpointTrustedOwner(ctx *Context, name string, args PrivateEndpointTrustedOwnerArgs, opts ...ResourceOption) (*PrivateEndpointTrustedOwner, error)
public PrivateEndpointTrustedOwner(string name, PrivateEndpointTrustedOwnerArgs args, CustomResourceOptions? opts = null)
public PrivateEndpointTrustedOwner(String name, PrivateEndpointTrustedOwnerArgs args)
public PrivateEndpointTrustedOwner(String name, PrivateEndpointTrustedOwnerArgs args, CustomResourceOptions options)
type: cockroach:PrivateEndpointTrustedOwner
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 PrivateEndpointTrustedOwnerArgs
- 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 PrivateEndpointTrustedOwnerArgs
- 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 PrivateEndpointTrustedOwnerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrivateEndpointTrustedOwnerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PrivateEndpointTrustedOwnerArgs
- 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 privateEndpointTrustedOwnerResource = new Cockroach.PrivateEndpointTrustedOwner("privateEndpointTrustedOwnerResource", new()
{
ClusterId = "string",
ExternalOwnerId = "string",
Type = "string",
});
example, err := cockroach.NewPrivateEndpointTrustedOwner(ctx, "privateEndpointTrustedOwnerResource", &cockroach.PrivateEndpointTrustedOwnerArgs{
ClusterId: pulumi.String("string"),
ExternalOwnerId: pulumi.String("string"),
Type: pulumi.String("string"),
})
var privateEndpointTrustedOwnerResource = new PrivateEndpointTrustedOwner("privateEndpointTrustedOwnerResource", PrivateEndpointTrustedOwnerArgs.builder()
.clusterId("string")
.externalOwnerId("string")
.type("string")
.build());
private_endpoint_trusted_owner_resource = cockroach.PrivateEndpointTrustedOwner("privateEndpointTrustedOwnerResource",
cluster_id="string",
external_owner_id="string",
type="string")
const privateEndpointTrustedOwnerResource = new cockroach.PrivateEndpointTrustedOwner("privateEndpointTrustedOwnerResource", {
clusterId: "string",
externalOwnerId: "string",
type: "string",
});
type: cockroach:PrivateEndpointTrustedOwner
properties:
clusterId: string
externalOwnerId: string
type: string
PrivateEndpointTrustedOwner Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The PrivateEndpointTrustedOwner resource accepts the following input properties:
- Cluster
Id string - UUID of the cluster the private endpoint trusted owner entry belongs to.
- External
Owner stringId - Owner ID of the private endpoint connection in the cloud provider.
- Type string
- Representation of the external_owner_id field. Allowed values are: * AWS_ACCOUNT_ID
- Cluster
Id string - UUID of the cluster the private endpoint trusted owner entry belongs to.
- External
Owner stringId - Owner ID of the private endpoint connection in the cloud provider.
- Type string
- Representation of the external_owner_id field. Allowed values are: * AWS_ACCOUNT_ID
- cluster
Id String - UUID of the cluster the private endpoint trusted owner entry belongs to.
- external
Owner StringId - Owner ID of the private endpoint connection in the cloud provider.
- type String
- Representation of the external_owner_id field. Allowed values are: * AWS_ACCOUNT_ID
- cluster
Id string - UUID of the cluster the private endpoint trusted owner entry belongs to.
- external
Owner stringId - Owner ID of the private endpoint connection in the cloud provider.
- type string
- Representation of the external_owner_id field. Allowed values are: * AWS_ACCOUNT_ID
- cluster_
id str - UUID of the cluster the private endpoint trusted owner entry belongs to.
- external_
owner_ strid - Owner ID of the private endpoint connection in the cloud provider.
- type str
- Representation of the external_owner_id field. Allowed values are: * AWS_ACCOUNT_ID
- cluster
Id String - UUID of the cluster the private endpoint trusted owner entry belongs to.
- external
Owner StringId - Owner ID of the private endpoint connection in the cloud provider.
- type String
- Representation of the external_owner_id field. Allowed values are: * AWS_ACCOUNT_ID
Outputs
All input properties are implicitly available as output properties. Additionally, the PrivateEndpointTrustedOwner resource produces the following output properties:
Look up Existing PrivateEndpointTrustedOwner Resource
Get an existing PrivateEndpointTrustedOwner 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?: PrivateEndpointTrustedOwnerState, opts?: CustomResourceOptions): PrivateEndpointTrustedOwner
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
external_owner_id: Optional[str] = None,
owner_id: Optional[str] = None,
type: Optional[str] = None) -> PrivateEndpointTrustedOwner
func GetPrivateEndpointTrustedOwner(ctx *Context, name string, id IDInput, state *PrivateEndpointTrustedOwnerState, opts ...ResourceOption) (*PrivateEndpointTrustedOwner, error)
public static PrivateEndpointTrustedOwner Get(string name, Input<string> id, PrivateEndpointTrustedOwnerState? state, CustomResourceOptions? opts = null)
public static PrivateEndpointTrustedOwner get(String name, Output<String> id, PrivateEndpointTrustedOwnerState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Cluster
Id string - UUID of the cluster the private endpoint trusted owner entry belongs to.
- External
Owner stringId - Owner ID of the private endpoint connection in the cloud provider.
- Owner
Id string - UUID of the private endpoint trusted owner entry.
- Type string
- Representation of the external_owner_id field. Allowed values are: * AWS_ACCOUNT_ID
- Cluster
Id string - UUID of the cluster the private endpoint trusted owner entry belongs to.
- External
Owner stringId - Owner ID of the private endpoint connection in the cloud provider.
- Owner
Id string - UUID of the private endpoint trusted owner entry.
- Type string
- Representation of the external_owner_id field. Allowed values are: * AWS_ACCOUNT_ID
- cluster
Id String - UUID of the cluster the private endpoint trusted owner entry belongs to.
- external
Owner StringId - Owner ID of the private endpoint connection in the cloud provider.
- owner
Id String - UUID of the private endpoint trusted owner entry.
- type String
- Representation of the external_owner_id field. Allowed values are: * AWS_ACCOUNT_ID
- cluster
Id string - UUID of the cluster the private endpoint trusted owner entry belongs to.
- external
Owner stringId - Owner ID of the private endpoint connection in the cloud provider.
- owner
Id string - UUID of the private endpoint trusted owner entry.
- type string
- Representation of the external_owner_id field. Allowed values are: * AWS_ACCOUNT_ID
- cluster_
id str - UUID of the cluster the private endpoint trusted owner entry belongs to.
- external_
owner_ strid - Owner ID of the private endpoint connection in the cloud provider.
- owner_
id str - UUID of the private endpoint trusted owner entry.
- type str
- Representation of the external_owner_id field. Allowed values are: * AWS_ACCOUNT_ID
- cluster
Id String - UUID of the cluster the private endpoint trusted owner entry belongs to.
- external
Owner StringId - Owner ID of the private endpoint connection in the cloud provider.
- owner
Id String - UUID of the private endpoint trusted owner entry.
- type String
- Representation of the external_owner_id field. Allowed values are: * AWS_ACCOUNT_ID
Package Details
- Repository
- cockroach pulumiverse/pulumi-cockroach
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cockroach
Terraform Provider.