1. Packages
  2. CockroachDB Cloud
  3. API Docs
  4. PrivateEndpointTrustedOwner
CockroachDB v0.2.3 published on Monday, May 27, 2024 by pulumiverse

cockroach.PrivateEndpointTrustedOwner

Explore with Pulumi AI

cockroach logo
CockroachDB v0.2.3 published on Monday, May 27, 2024 by pulumiverse

    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:

    ClusterId string
    UUID of the cluster the private endpoint trusted owner entry belongs to.
    ExternalOwnerId string
    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
    ClusterId string
    UUID of the cluster the private endpoint trusted owner entry belongs to.
    ExternalOwnerId string
    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
    clusterId String
    UUID of the cluster the private endpoint trusted owner entry belongs to.
    externalOwnerId String
    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
    clusterId string
    UUID of the cluster the private endpoint trusted owner entry belongs to.
    externalOwnerId string
    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_id str
    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
    clusterId String
    UUID of the cluster the private endpoint trusted owner entry belongs to.
    externalOwnerId String
    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:

    Id string
    The provider-assigned unique ID for this managed resource.
    OwnerId string
    UUID of the private endpoint trusted owner entry.
    Id string
    The provider-assigned unique ID for this managed resource.
    OwnerId string
    UUID of the private endpoint trusted owner entry.
    id String
    The provider-assigned unique ID for this managed resource.
    ownerId String
    UUID of the private endpoint trusted owner entry.
    id string
    The provider-assigned unique ID for this managed resource.
    ownerId string
    UUID of the private endpoint trusted owner entry.
    id str
    The provider-assigned unique ID for this managed resource.
    owner_id str
    UUID of the private endpoint trusted owner entry.
    id String
    The provider-assigned unique ID for this managed resource.
    ownerId String
    UUID of the private endpoint trusted owner entry.

    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.
    The following state arguments are supported:
    ClusterId string
    UUID of the cluster the private endpoint trusted owner entry belongs to.
    ExternalOwnerId string
    Owner ID of the private endpoint connection in the cloud provider.
    OwnerId string
    UUID of the private endpoint trusted owner entry.
    Type string
    Representation of the external_owner_id field. Allowed values are: * AWS_ACCOUNT_ID
    ClusterId string
    UUID of the cluster the private endpoint trusted owner entry belongs to.
    ExternalOwnerId string
    Owner ID of the private endpoint connection in the cloud provider.
    OwnerId string
    UUID of the private endpoint trusted owner entry.
    Type string
    Representation of the external_owner_id field. Allowed values are: * AWS_ACCOUNT_ID
    clusterId String
    UUID of the cluster the private endpoint trusted owner entry belongs to.
    externalOwnerId String
    Owner ID of the private endpoint connection in the cloud provider.
    ownerId String
    UUID of the private endpoint trusted owner entry.
    type String
    Representation of the external_owner_id field. Allowed values are: * AWS_ACCOUNT_ID
    clusterId string
    UUID of the cluster the private endpoint trusted owner entry belongs to.
    externalOwnerId string
    Owner ID of the private endpoint connection in the cloud provider.
    ownerId 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_id str
    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
    clusterId String
    UUID of the cluster the private endpoint trusted owner entry belongs to.
    externalOwnerId String
    Owner ID of the private endpoint connection in the cloud provider.
    ownerId 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.
    cockroach logo
    CockroachDB v0.2.3 published on Monday, May 27, 2024 by pulumiverse