cyral.RepositoryBinding
Explore with Pulumi AI
# cyral.RepositoryBinding (Resource)
Manages cyral repository to sidecar bindings.
Import ID syntax is
{sidecar_id}/{binding_id}.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cyral from "@pulumi/cyral";
const sidecar = new cyral.Sidecar("sidecar", {deploymentMethod: "terraform"});
const repoMongodb = new cyral.Repository("repoMongodb", {
    type: "mongodb",
    repoNodes: [{
        name: "single-node-mongo",
        host: "mongodb.cyral.com",
        port: 27017,
    }],
    mongodbSettings: {
        serverType: "standalone",
    },
});
const repoPg = new cyral.Repository("repoPg", {
    type: "postgresql",
    repoNodes: [{
        host: "pg.cyral.com",
        port: 5432,
    }],
});
const listenerMongodb = new cyral.SidecarListener("listenerMongodb", {
    sidecarId: sidecar.id,
    repoTypes: ["mongodb"],
    networkAddress: {
        port: 27017,
    },
});
const listenerPg = new cyral.SidecarListener("listenerPg", {
    sidecarId: sidecar.id,
    repoTypes: ["postgresql"],
    networkAddress: {
        port: 5434,
    },
});
const bindingMongodb = new cyral.RepositoryBinding("bindingMongodb", {
    sidecarId: sidecar.id,
    repositoryId: repoMongodb.id,
    listenerBindings: [{
        listenerId: listenerMongodb.listenerId,
        nodeIndex: 0,
    }],
});
const bindingPg = new cyral.RepositoryBinding("bindingPg", {
    sidecarId: sidecar.id,
    repositoryId: repoPg.id,
    listenerBindings: [{
        listenerId: listenerPg.listenerId,
    }],
});
import pulumi
import pulumi_cyral as cyral
sidecar = cyral.Sidecar("sidecar", deployment_method="terraform")
repo_mongodb = cyral.Repository("repoMongodb",
    type="mongodb",
    repo_nodes=[{
        "name": "single-node-mongo",
        "host": "mongodb.cyral.com",
        "port": 27017,
    }],
    mongodb_settings={
        "server_type": "standalone",
    })
repo_pg = cyral.Repository("repoPg",
    type="postgresql",
    repo_nodes=[{
        "host": "pg.cyral.com",
        "port": 5432,
    }])
listener_mongodb = cyral.SidecarListener("listenerMongodb",
    sidecar_id=sidecar.id,
    repo_types=["mongodb"],
    network_address={
        "port": 27017,
    })
listener_pg = cyral.SidecarListener("listenerPg",
    sidecar_id=sidecar.id,
    repo_types=["postgresql"],
    network_address={
        "port": 5434,
    })
binding_mongodb = cyral.RepositoryBinding("bindingMongodb",
    sidecar_id=sidecar.id,
    repository_id=repo_mongodb.id,
    listener_bindings=[{
        "listener_id": listener_mongodb.listener_id,
        "node_index": 0,
    }])
binding_pg = cyral.RepositoryBinding("bindingPg",
    sidecar_id=sidecar.id,
    repository_id=repo_pg.id,
    listener_bindings=[{
        "listener_id": listener_pg.listener_id,
    }])
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/cyral/v4/cyral"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		sidecar, err := cyral.NewSidecar(ctx, "sidecar", &cyral.SidecarArgs{
			DeploymentMethod: pulumi.String("terraform"),
		})
		if err != nil {
			return err
		}
		repoMongodb, err := cyral.NewRepository(ctx, "repoMongodb", &cyral.RepositoryArgs{
			Type: pulumi.String("mongodb"),
			RepoNodes: cyral.RepositoryRepoNodeArray{
				&cyral.RepositoryRepoNodeArgs{
					Name: pulumi.String("single-node-mongo"),
					Host: pulumi.String("mongodb.cyral.com"),
					Port: pulumi.Float64(27017),
				},
			},
			MongodbSettings: &cyral.RepositoryMongodbSettingsArgs{
				ServerType: pulumi.String("standalone"),
			},
		})
		if err != nil {
			return err
		}
		repoPg, err := cyral.NewRepository(ctx, "repoPg", &cyral.RepositoryArgs{
			Type: pulumi.String("postgresql"),
			RepoNodes: cyral.RepositoryRepoNodeArray{
				&cyral.RepositoryRepoNodeArgs{
					Host: pulumi.String("pg.cyral.com"),
					Port: pulumi.Float64(5432),
				},
			},
		})
		if err != nil {
			return err
		}
		listenerMongodb, err := cyral.NewSidecarListener(ctx, "listenerMongodb", &cyral.SidecarListenerArgs{
			SidecarId: sidecar.ID(),
			RepoTypes: pulumi.StringArray{
				pulumi.String("mongodb"),
			},
			NetworkAddress: &cyral.SidecarListenerNetworkAddressArgs{
				Port: pulumi.Float64(27017),
			},
		})
		if err != nil {
			return err
		}
		listenerPg, err := cyral.NewSidecarListener(ctx, "listenerPg", &cyral.SidecarListenerArgs{
			SidecarId: sidecar.ID(),
			RepoTypes: pulumi.StringArray{
				pulumi.String("postgresql"),
			},
			NetworkAddress: &cyral.SidecarListenerNetworkAddressArgs{
				Port: pulumi.Float64(5434),
			},
		})
		if err != nil {
			return err
		}
		_, err = cyral.NewRepositoryBinding(ctx, "bindingMongodb", &cyral.RepositoryBindingArgs{
			SidecarId:    sidecar.ID(),
			RepositoryId: repoMongodb.ID(),
			ListenerBindings: cyral.RepositoryBindingListenerBindingArray{
				&cyral.RepositoryBindingListenerBindingArgs{
					ListenerId: listenerMongodb.ListenerId,
					NodeIndex:  pulumi.Float64(0),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = cyral.NewRepositoryBinding(ctx, "bindingPg", &cyral.RepositoryBindingArgs{
			SidecarId:    sidecar.ID(),
			RepositoryId: repoPg.ID(),
			ListenerBindings: cyral.RepositoryBindingListenerBindingArray{
				&cyral.RepositoryBindingListenerBindingArgs{
					ListenerId: listenerPg.ListenerId,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cyral = Pulumi.Cyral;
return await Deployment.RunAsync(() => 
{
    var sidecar = new Cyral.Sidecar("sidecar", new()
    {
        DeploymentMethod = "terraform",
    });
    var repoMongodb = new Cyral.Repository("repoMongodb", new()
    {
        Type = "mongodb",
        RepoNodes = new[]
        {
            new Cyral.Inputs.RepositoryRepoNodeArgs
            {
                Name = "single-node-mongo",
                Host = "mongodb.cyral.com",
                Port = 27017,
            },
        },
        MongodbSettings = new Cyral.Inputs.RepositoryMongodbSettingsArgs
        {
            ServerType = "standalone",
        },
    });
    var repoPg = new Cyral.Repository("repoPg", new()
    {
        Type = "postgresql",
        RepoNodes = new[]
        {
            new Cyral.Inputs.RepositoryRepoNodeArgs
            {
                Host = "pg.cyral.com",
                Port = 5432,
            },
        },
    });
    var listenerMongodb = new Cyral.SidecarListener("listenerMongodb", new()
    {
        SidecarId = sidecar.Id,
        RepoTypes = new[]
        {
            "mongodb",
        },
        NetworkAddress = new Cyral.Inputs.SidecarListenerNetworkAddressArgs
        {
            Port = 27017,
        },
    });
    var listenerPg = new Cyral.SidecarListener("listenerPg", new()
    {
        SidecarId = sidecar.Id,
        RepoTypes = new[]
        {
            "postgresql",
        },
        NetworkAddress = new Cyral.Inputs.SidecarListenerNetworkAddressArgs
        {
            Port = 5434,
        },
    });
    var bindingMongodb = new Cyral.RepositoryBinding("bindingMongodb", new()
    {
        SidecarId = sidecar.Id,
        RepositoryId = repoMongodb.Id,
        ListenerBindings = new[]
        {
            new Cyral.Inputs.RepositoryBindingListenerBindingArgs
            {
                ListenerId = listenerMongodb.ListenerId,
                NodeIndex = 0,
            },
        },
    });
    var bindingPg = new Cyral.RepositoryBinding("bindingPg", new()
    {
        SidecarId = sidecar.Id,
        RepositoryId = repoPg.Id,
        ListenerBindings = new[]
        {
            new Cyral.Inputs.RepositoryBindingListenerBindingArgs
            {
                ListenerId = listenerPg.ListenerId,
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cyral.Sidecar;
import com.pulumi.cyral.SidecarArgs;
import com.pulumi.cyral.Repository;
import com.pulumi.cyral.RepositoryArgs;
import com.pulumi.cyral.inputs.RepositoryRepoNodeArgs;
import com.pulumi.cyral.inputs.RepositoryMongodbSettingsArgs;
import com.pulumi.cyral.SidecarListener;
import com.pulumi.cyral.SidecarListenerArgs;
import com.pulumi.cyral.inputs.SidecarListenerNetworkAddressArgs;
import com.pulumi.cyral.RepositoryBinding;
import com.pulumi.cyral.RepositoryBindingArgs;
import com.pulumi.cyral.inputs.RepositoryBindingListenerBindingArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var sidecar = new Sidecar("sidecar", SidecarArgs.builder()
            .deploymentMethod("terraform")
            .build());
        var repoMongodb = new Repository("repoMongodb", RepositoryArgs.builder()
            .type("mongodb")
            .repoNodes(RepositoryRepoNodeArgs.builder()
                .name("single-node-mongo")
                .host("mongodb.cyral.com")
                .port(27017)
                .build())
            .mongodbSettings(RepositoryMongodbSettingsArgs.builder()
                .serverType("standalone")
                .build())
            .build());
        var repoPg = new Repository("repoPg", RepositoryArgs.builder()
            .type("postgresql")
            .repoNodes(RepositoryRepoNodeArgs.builder()
                .host("pg.cyral.com")
                .port(5432)
                .build())
            .build());
        var listenerMongodb = new SidecarListener("listenerMongodb", SidecarListenerArgs.builder()
            .sidecarId(sidecar.id())
            .repoTypes("mongodb")
            .networkAddress(SidecarListenerNetworkAddressArgs.builder()
                .port(27017)
                .build())
            .build());
        var listenerPg = new SidecarListener("listenerPg", SidecarListenerArgs.builder()
            .sidecarId(sidecar.id())
            .repoTypes("postgresql")
            .networkAddress(SidecarListenerNetworkAddressArgs.builder()
                .port(5434)
                .build())
            .build());
        var bindingMongodb = new RepositoryBinding("bindingMongodb", RepositoryBindingArgs.builder()
            .sidecarId(sidecar.id())
            .repositoryId(repoMongodb.id())
            .listenerBindings(RepositoryBindingListenerBindingArgs.builder()
                .listenerId(listenerMongodb.listenerId())
                .nodeIndex(0)
                .build())
            .build());
        var bindingPg = new RepositoryBinding("bindingPg", RepositoryBindingArgs.builder()
            .sidecarId(sidecar.id())
            .repositoryId(repoPg.id())
            .listenerBindings(RepositoryBindingListenerBindingArgs.builder()
                .listenerId(listenerPg.listenerId())
                .build())
            .build());
    }
}
resources:
  sidecar:
    type: cyral:Sidecar
    properties:
      deploymentMethod: terraform
  repoMongodb:
    type: cyral:Repository
    properties:
      type: mongodb
      repoNodes:
        - name: single-node-mongo
          host: mongodb.cyral.com
          port: 27017
      mongodbSettings:
        serverType: standalone
  repoPg:
    type: cyral:Repository
    properties:
      type: postgresql
      repoNodes:
        - host: pg.cyral.com
          port: 5432
  listenerMongodb:
    type: cyral:SidecarListener
    properties:
      sidecarId: ${sidecar.id}
      repoTypes:
        - mongodb
      networkAddress:
        port: 27017
  listenerPg:
    type: cyral:SidecarListener
    properties:
      sidecarId: ${sidecar.id}
      repoTypes:
        - postgresql
      networkAddress:
        port: 5434
  bindingMongodb:
    type: cyral:RepositoryBinding
    properties:
      sidecarId: ${sidecar.id}
      repositoryId: ${repoMongodb.id}
      listenerBindings:
        - listenerId: ${listenerMongodb.listenerId}
          nodeIndex: 0
  bindingPg:
    type: cyral:RepositoryBinding
    properties:
      sidecarId: ${sidecar.id}
      repositoryId: ${repoPg.id}
      listenerBindings:
        - listenerId: ${listenerPg.listenerId}
Create RepositoryBinding Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RepositoryBinding(name: string, args: RepositoryBindingArgs, opts?: CustomResourceOptions);@overload
def RepositoryBinding(resource_name: str,
                      args: RepositoryBindingArgs,
                      opts: Optional[ResourceOptions] = None)
@overload
def RepositoryBinding(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      listener_bindings: Optional[Sequence[RepositoryBindingListenerBindingArgs]] = None,
                      repository_id: Optional[str] = None,
                      sidecar_id: Optional[str] = None,
                      enabled: Optional[bool] = None,
                      repository_binding_id: Optional[str] = None)func NewRepositoryBinding(ctx *Context, name string, args RepositoryBindingArgs, opts ...ResourceOption) (*RepositoryBinding, error)public RepositoryBinding(string name, RepositoryBindingArgs args, CustomResourceOptions? opts = null)
public RepositoryBinding(String name, RepositoryBindingArgs args)
public RepositoryBinding(String name, RepositoryBindingArgs args, CustomResourceOptions options)
type: cyral:RepositoryBinding
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 RepositoryBindingArgs
- 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 RepositoryBindingArgs
- 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 RepositoryBindingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RepositoryBindingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RepositoryBindingArgs
- 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 repositoryBindingResource = new Cyral.RepositoryBinding("repositoryBindingResource", new()
{
    ListenerBindings = new[]
    {
        new Cyral.Inputs.RepositoryBindingListenerBindingArgs
        {
            ListenerId = "string",
            NodeIndex = 0,
        },
    },
    RepositoryId = "string",
    SidecarId = "string",
    Enabled = false,
    RepositoryBindingId = "string",
});
example, err := cyral.NewRepositoryBinding(ctx, "repositoryBindingResource", &cyral.RepositoryBindingArgs{
	ListenerBindings: cyral.RepositoryBindingListenerBindingArray{
		&cyral.RepositoryBindingListenerBindingArgs{
			ListenerId: pulumi.String("string"),
			NodeIndex:  pulumi.Float64(0),
		},
	},
	RepositoryId:        pulumi.String("string"),
	SidecarId:           pulumi.String("string"),
	Enabled:             pulumi.Bool(false),
	RepositoryBindingId: pulumi.String("string"),
})
var repositoryBindingResource = new RepositoryBinding("repositoryBindingResource", RepositoryBindingArgs.builder()
    .listenerBindings(RepositoryBindingListenerBindingArgs.builder()
        .listenerId("string")
        .nodeIndex(0.0)
        .build())
    .repositoryId("string")
    .sidecarId("string")
    .enabled(false)
    .repositoryBindingId("string")
    .build());
repository_binding_resource = cyral.RepositoryBinding("repositoryBindingResource",
    listener_bindings=[{
        "listener_id": "string",
        "node_index": 0,
    }],
    repository_id="string",
    sidecar_id="string",
    enabled=False,
    repository_binding_id="string")
const repositoryBindingResource = new cyral.RepositoryBinding("repositoryBindingResource", {
    listenerBindings: [{
        listenerId: "string",
        nodeIndex: 0,
    }],
    repositoryId: "string",
    sidecarId: "string",
    enabled: false,
    repositoryBindingId: "string",
});
type: cyral:RepositoryBinding
properties:
    enabled: false
    listenerBindings:
        - listenerId: string
          nodeIndex: 0
    repositoryBindingId: string
    repositoryId: string
    sidecarId: string
RepositoryBinding 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 RepositoryBinding resource accepts the following input properties:
- ListenerBindings List<RepositoryBinding Listener Binding> 
- The configuration for listeners associated with the binding. At least one listener_bindingis required.
- RepositoryId string
- ID of the repository that will be bound to the sidecar.
- SidecarId string
- ID of the sidecar that will be bound to the given repository.
- Enabled bool
- Enable or disable all listener bindings.
- RepositoryBinding stringId 
- The ID of this resource.
- ListenerBindings []RepositoryBinding Listener Binding Args 
- The configuration for listeners associated with the binding. At least one listener_bindingis required.
- RepositoryId string
- ID of the repository that will be bound to the sidecar.
- SidecarId string
- ID of the sidecar that will be bound to the given repository.
- Enabled bool
- Enable or disable all listener bindings.
- RepositoryBinding stringId 
- The ID of this resource.
- listenerBindings List<RepositoryBinding Listener Binding> 
- The configuration for listeners associated with the binding. At least one listener_bindingis required.
- repositoryId String
- ID of the repository that will be bound to the sidecar.
- sidecarId String
- ID of the sidecar that will be bound to the given repository.
- enabled Boolean
- Enable or disable all listener bindings.
- repositoryBinding StringId 
- The ID of this resource.
- listenerBindings RepositoryBinding Listener Binding[] 
- The configuration for listeners associated with the binding. At least one listener_bindingis required.
- repositoryId string
- ID of the repository that will be bound to the sidecar.
- sidecarId string
- ID of the sidecar that will be bound to the given repository.
- enabled boolean
- Enable or disable all listener bindings.
- repositoryBinding stringId 
- The ID of this resource.
- listener_bindings Sequence[RepositoryBinding Listener Binding Args] 
- The configuration for listeners associated with the binding. At least one listener_bindingis required.
- repository_id str
- ID of the repository that will be bound to the sidecar.
- sidecar_id str
- ID of the sidecar that will be bound to the given repository.
- enabled bool
- Enable or disable all listener bindings.
- repository_binding_ strid 
- The ID of this resource.
- listenerBindings List<Property Map>
- The configuration for listeners associated with the binding. At least one listener_bindingis required.
- repositoryId String
- ID of the repository that will be bound to the sidecar.
- sidecarId String
- ID of the sidecar that will be bound to the given repository.
- enabled Boolean
- Enable or disable all listener bindings.
- repositoryBinding StringId 
- The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the RepositoryBinding resource produces the following output properties:
- binding_id str
- ID of the binding. Computed and assigned to binding at the time of creation.
- id str
- The provider-assigned unique ID for this managed resource.
Look up Existing RepositoryBinding Resource
Get an existing RepositoryBinding 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?: RepositoryBindingState, opts?: CustomResourceOptions): RepositoryBinding@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        binding_id: Optional[str] = None,
        enabled: Optional[bool] = None,
        listener_bindings: Optional[Sequence[RepositoryBindingListenerBindingArgs]] = None,
        repository_binding_id: Optional[str] = None,
        repository_id: Optional[str] = None,
        sidecar_id: Optional[str] = None) -> RepositoryBindingfunc GetRepositoryBinding(ctx *Context, name string, id IDInput, state *RepositoryBindingState, opts ...ResourceOption) (*RepositoryBinding, error)public static RepositoryBinding Get(string name, Input<string> id, RepositoryBindingState? state, CustomResourceOptions? opts = null)public static RepositoryBinding get(String name, Output<String> id, RepositoryBindingState state, CustomResourceOptions options)resources:  _:    type: cyral:RepositoryBinding    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.
- BindingId string
- ID of the binding. Computed and assigned to binding at the time of creation.
- Enabled bool
- Enable or disable all listener bindings.
- ListenerBindings List<RepositoryBinding Listener Binding> 
- The configuration for listeners associated with the binding. At least one listener_bindingis required.
- RepositoryBinding stringId 
- The ID of this resource.
- RepositoryId string
- ID of the repository that will be bound to the sidecar.
- SidecarId string
- ID of the sidecar that will be bound to the given repository.
- BindingId string
- ID of the binding. Computed and assigned to binding at the time of creation.
- Enabled bool
- Enable or disable all listener bindings.
- ListenerBindings []RepositoryBinding Listener Binding Args 
- The configuration for listeners associated with the binding. At least one listener_bindingis required.
- RepositoryBinding stringId 
- The ID of this resource.
- RepositoryId string
- ID of the repository that will be bound to the sidecar.
- SidecarId string
- ID of the sidecar that will be bound to the given repository.
- bindingId String
- ID of the binding. Computed and assigned to binding at the time of creation.
- enabled Boolean
- Enable or disable all listener bindings.
- listenerBindings List<RepositoryBinding Listener Binding> 
- The configuration for listeners associated with the binding. At least one listener_bindingis required.
- repositoryBinding StringId 
- The ID of this resource.
- repositoryId String
- ID of the repository that will be bound to the sidecar.
- sidecarId String
- ID of the sidecar that will be bound to the given repository.
- bindingId string
- ID of the binding. Computed and assigned to binding at the time of creation.
- enabled boolean
- Enable or disable all listener bindings.
- listenerBindings RepositoryBinding Listener Binding[] 
- The configuration for listeners associated with the binding. At least one listener_bindingis required.
- repositoryBinding stringId 
- The ID of this resource.
- repositoryId string
- ID of the repository that will be bound to the sidecar.
- sidecarId string
- ID of the sidecar that will be bound to the given repository.
- binding_id str
- ID of the binding. Computed and assigned to binding at the time of creation.
- enabled bool
- Enable or disable all listener bindings.
- listener_bindings Sequence[RepositoryBinding Listener Binding Args] 
- The configuration for listeners associated with the binding. At least one listener_bindingis required.
- repository_binding_ strid 
- The ID of this resource.
- repository_id str
- ID of the repository that will be bound to the sidecar.
- sidecar_id str
- ID of the sidecar that will be bound to the given repository.
- bindingId String
- ID of the binding. Computed and assigned to binding at the time of creation.
- enabled Boolean
- Enable or disable all listener bindings.
- listenerBindings List<Property Map>
- The configuration for listeners associated with the binding. At least one listener_bindingis required.
- repositoryBinding StringId 
- The ID of this resource.
- repositoryId String
- ID of the repository that will be bound to the sidecar.
- sidecarId String
- ID of the sidecar that will be bound to the given repository.
Supporting Types
RepositoryBindingListenerBinding, RepositoryBindingListenerBindingArgs        
- ListenerId string
- The sidecar listener that this binding is associated with.
- NodeIndex double
- The index of the repo node that this binding is associated with.
- ListenerId string
- The sidecar listener that this binding is associated with.
- NodeIndex float64
- The index of the repo node that this binding is associated with.
- listenerId String
- The sidecar listener that this binding is associated with.
- nodeIndex Double
- The index of the repo node that this binding is associated with.
- listenerId string
- The sidecar listener that this binding is associated with.
- nodeIndex number
- The index of the repo node that this binding is associated with.
- listener_id str
- The sidecar listener that this binding is associated with.
- node_index float
- The index of the repo node that this binding is associated with.
- listenerId String
- The sidecar listener that this binding is associated with.
- nodeIndex Number
- The index of the repo node that this binding is associated with.
Package Details
- Repository
- cyral cyralinc/terraform-provider-cyral
- License
- Notes
- This Pulumi package is based on the cyralTerraform Provider.