1. Packages
  2. Aiven
  3. API Docs
  4. GcpPrivatelinkConnectionApproval
Aiven v6.13.0 published on Monday, Mar 25, 2024 by Pulumi

aiven.GcpPrivatelinkConnectionApproval

Explore with Pulumi AI

aiven logo
Aiven v6.13.0 published on Monday, Mar 25, 2024 by Pulumi

    Create GcpPrivatelinkConnectionApproval Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GcpPrivatelinkConnectionApproval(name: string, args: GcpPrivatelinkConnectionApprovalArgs, opts?: CustomResourceOptions);
    @overload
    def GcpPrivatelinkConnectionApproval(resource_name: str,
                                         args: GcpPrivatelinkConnectionApprovalArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def GcpPrivatelinkConnectionApproval(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         project: Optional[str] = None,
                                         service_name: Optional[str] = None,
                                         user_ip_address: Optional[str] = None)
    func NewGcpPrivatelinkConnectionApproval(ctx *Context, name string, args GcpPrivatelinkConnectionApprovalArgs, opts ...ResourceOption) (*GcpPrivatelinkConnectionApproval, error)
    public GcpPrivatelinkConnectionApproval(string name, GcpPrivatelinkConnectionApprovalArgs args, CustomResourceOptions? opts = null)
    public GcpPrivatelinkConnectionApproval(String name, GcpPrivatelinkConnectionApprovalArgs args)
    public GcpPrivatelinkConnectionApproval(String name, GcpPrivatelinkConnectionApprovalArgs args, CustomResourceOptions options)
    
    type: aiven:GcpPrivatelinkConnectionApproval
    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 GcpPrivatelinkConnectionApprovalArgs
    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 GcpPrivatelinkConnectionApprovalArgs
    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 GcpPrivatelinkConnectionApprovalArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GcpPrivatelinkConnectionApprovalArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GcpPrivatelinkConnectionApprovalArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var gcpPrivatelinkConnectionApprovalResource = new Aiven.GcpPrivatelinkConnectionApproval("gcpPrivatelinkConnectionApprovalResource", new()
    {
        Project = "string",
        ServiceName = "string",
        UserIpAddress = "string",
    });
    
    example, err := aiven.NewGcpPrivatelinkConnectionApproval(ctx, "gcpPrivatelinkConnectionApprovalResource", &aiven.GcpPrivatelinkConnectionApprovalArgs{
    	Project:       pulumi.String("string"),
    	ServiceName:   pulumi.String("string"),
    	UserIpAddress: pulumi.String("string"),
    })
    
    var gcpPrivatelinkConnectionApprovalResource = new GcpPrivatelinkConnectionApproval("gcpPrivatelinkConnectionApprovalResource", GcpPrivatelinkConnectionApprovalArgs.builder()        
        .project("string")
        .serviceName("string")
        .userIpAddress("string")
        .build());
    
    gcp_privatelink_connection_approval_resource = aiven.GcpPrivatelinkConnectionApproval("gcpPrivatelinkConnectionApprovalResource",
        project="string",
        service_name="string",
        user_ip_address="string")
    
    const gcpPrivatelinkConnectionApprovalResource = new aiven.GcpPrivatelinkConnectionApproval("gcpPrivatelinkConnectionApprovalResource", {
        project: "string",
        serviceName: "string",
        userIpAddress: "string",
    });
    
    type: aiven:GcpPrivatelinkConnectionApproval
    properties:
        project: string
        serviceName: string
        userIpAddress: string
    

    GcpPrivatelinkConnectionApproval 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 GcpPrivatelinkConnectionApproval resource accepts the following input properties:

    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    ServiceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    UserIpAddress string
    The Private Service Connect connection user IP address.
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    ServiceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    UserIpAddress string
    The Private Service Connect connection user IP address.
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    serviceName String
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    userIpAddress String
    The Private Service Connect connection user IP address.
    project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    serviceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    userIpAddress string
    The Private Service Connect connection user IP address.
    project str
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    service_name str
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    user_ip_address str
    The Private Service Connect connection user IP address.
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    serviceName String
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    userIpAddress String
    The Private Service Connect connection user IP address.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GcpPrivatelinkConnectionApproval resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    PrivatelinkConnectionId string
    Aiven internal ID for the private link connection.
    PscConnectionId string
    The Google Private Service Connect connection ID.
    State string
    The state of the connection.
    Id string
    The provider-assigned unique ID for this managed resource.
    PrivatelinkConnectionId string
    Aiven internal ID for the private link connection.
    PscConnectionId string
    The Google Private Service Connect connection ID.
    State string
    The state of the connection.
    id String
    The provider-assigned unique ID for this managed resource.
    privatelinkConnectionId String
    Aiven internal ID for the private link connection.
    pscConnectionId String
    The Google Private Service Connect connection ID.
    state String
    The state of the connection.
    id string
    The provider-assigned unique ID for this managed resource.
    privatelinkConnectionId string
    Aiven internal ID for the private link connection.
    pscConnectionId string
    The Google Private Service Connect connection ID.
    state string
    The state of the connection.
    id str
    The provider-assigned unique ID for this managed resource.
    privatelink_connection_id str
    Aiven internal ID for the private link connection.
    psc_connection_id str
    The Google Private Service Connect connection ID.
    state str
    The state of the connection.
    id String
    The provider-assigned unique ID for this managed resource.
    privatelinkConnectionId String
    Aiven internal ID for the private link connection.
    pscConnectionId String
    The Google Private Service Connect connection ID.
    state String
    The state of the connection.

    Look up Existing GcpPrivatelinkConnectionApproval Resource

    Get an existing GcpPrivatelinkConnectionApproval 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?: GcpPrivatelinkConnectionApprovalState, opts?: CustomResourceOptions): GcpPrivatelinkConnectionApproval
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            privatelink_connection_id: Optional[str] = None,
            project: Optional[str] = None,
            psc_connection_id: Optional[str] = None,
            service_name: Optional[str] = None,
            state: Optional[str] = None,
            user_ip_address: Optional[str] = None) -> GcpPrivatelinkConnectionApproval
    func GetGcpPrivatelinkConnectionApproval(ctx *Context, name string, id IDInput, state *GcpPrivatelinkConnectionApprovalState, opts ...ResourceOption) (*GcpPrivatelinkConnectionApproval, error)
    public static GcpPrivatelinkConnectionApproval Get(string name, Input<string> id, GcpPrivatelinkConnectionApprovalState? state, CustomResourceOptions? opts = null)
    public static GcpPrivatelinkConnectionApproval get(String name, Output<String> id, GcpPrivatelinkConnectionApprovalState 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:
    PrivatelinkConnectionId string
    Aiven internal ID for the private link connection.
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    PscConnectionId string
    The Google Private Service Connect connection ID.
    ServiceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    State string
    The state of the connection.
    UserIpAddress string
    The Private Service Connect connection user IP address.
    PrivatelinkConnectionId string
    Aiven internal ID for the private link connection.
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    PscConnectionId string
    The Google Private Service Connect connection ID.
    ServiceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    State string
    The state of the connection.
    UserIpAddress string
    The Private Service Connect connection user IP address.
    privatelinkConnectionId String
    Aiven internal ID for the private link connection.
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    pscConnectionId String
    The Google Private Service Connect connection ID.
    serviceName String
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    state String
    The state of the connection.
    userIpAddress String
    The Private Service Connect connection user IP address.
    privatelinkConnectionId string
    Aiven internal ID for the private link connection.
    project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    pscConnectionId string
    The Google Private Service Connect connection ID.
    serviceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    state string
    The state of the connection.
    userIpAddress string
    The Private Service Connect connection user IP address.
    privatelink_connection_id str
    Aiven internal ID for the private link connection.
    project str
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    psc_connection_id str
    The Google Private Service Connect connection ID.
    service_name str
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    state str
    The state of the connection.
    user_ip_address str
    The Private Service Connect connection user IP address.
    privatelinkConnectionId String
    Aiven internal ID for the private link connection.
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    pscConnectionId String
    The Google Private Service Connect connection ID.
    serviceName String
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    state String
    The state of the connection.
    userIpAddress String
    The Private Service Connect connection user IP address.

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aiven Terraform Provider.
    aiven logo
    Aiven v6.13.0 published on Monday, Mar 25, 2024 by Pulumi