A resource that represents a Juju Integration.
Create Integration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Integration(name: string, args: IntegrationArgs, opts?: CustomResourceOptions);@overload
def Integration(resource_name: str,
args: IntegrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Integration(resource_name: str,
opts: Optional[ResourceOptions] = None,
model_uuid: Optional[str] = None,
applications: Optional[Sequence[IntegrationApplicationArgs]] = None,
via: Optional[str] = None)func NewIntegration(ctx *Context, name string, args IntegrationArgs, opts ...ResourceOption) (*Integration, error)public Integration(string name, IntegrationArgs args, CustomResourceOptions? opts = null)
public Integration(String name, IntegrationArgs args)
public Integration(String name, IntegrationArgs args, CustomResourceOptions options)
type: juju:Integration
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 IntegrationArgs
- 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 IntegrationArgs
- 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 IntegrationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationArgs
- 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 integrationResource = new Juju.Integration("integrationResource", new()
{
ModelUuid = "string",
Applications = new[]
{
new Juju.Inputs.IntegrationApplicationArgs
{
Endpoint = "string",
Name = "string",
OfferUrl = "string",
OfferingController = "string",
},
},
Via = "string",
});
example, err := juju.NewIntegration(ctx, "integrationResource", &juju.IntegrationArgs{
ModelUuid: pulumi.String("string"),
Applications: juju.IntegrationApplicationArray{
&juju.IntegrationApplicationArgs{
Endpoint: pulumi.String("string"),
Name: pulumi.String("string"),
OfferUrl: pulumi.String("string"),
OfferingController: pulumi.String("string"),
},
},
Via: pulumi.String("string"),
})
var integrationResource = new Integration("integrationResource", IntegrationArgs.builder()
.modelUuid("string")
.applications(IntegrationApplicationArgs.builder()
.endpoint("string")
.name("string")
.offerUrl("string")
.offeringController("string")
.build())
.via("string")
.build());
integration_resource = juju.Integration("integrationResource",
model_uuid="string",
applications=[{
"endpoint": "string",
"name": "string",
"offer_url": "string",
"offering_controller": "string",
}],
via="string")
const integrationResource = new juju.Integration("integrationResource", {
modelUuid: "string",
applications: [{
endpoint: "string",
name: "string",
offerUrl: "string",
offeringController: "string",
}],
via: "string",
});
type: juju:Integration
properties:
applications:
- endpoint: string
name: string
offerUrl: string
offeringController: string
modelUuid: string
via: string
Integration 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 Integration resource accepts the following input properties:
- Model
Uuid string - The UUID of the model to operate in.
- Applications
List<Integration
Application> - The two applications to integrate.
- Via string
- A comma separated list of CIDRs for outbound traffic.
- Model
Uuid string - The UUID of the model to operate in.
- Applications
[]Integration
Application Args - The two applications to integrate.
- Via string
- A comma separated list of CIDRs for outbound traffic.
- model
Uuid String - The UUID of the model to operate in.
- applications
List<Integration
Application> - The two applications to integrate.
- via String
- A comma separated list of CIDRs for outbound traffic.
- model
Uuid string - The UUID of the model to operate in.
- applications
Integration
Application[] - The two applications to integrate.
- via string
- A comma separated list of CIDRs for outbound traffic.
- model_
uuid str - The UUID of the model to operate in.
- applications
Sequence[Integration
Application Args] - The two applications to integrate.
- via str
- A comma separated list of CIDRs for outbound traffic.
- model
Uuid String - The UUID of the model to operate in.
- applications List<Property Map>
- The two applications to integrate.
- via String
- A comma separated list of CIDRs for outbound traffic.
Outputs
All input properties are implicitly available as output properties. Additionally, the Integration resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Integration Resource
Get an existing Integration 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?: IntegrationState, opts?: CustomResourceOptions): Integration@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
applications: Optional[Sequence[IntegrationApplicationArgs]] = None,
model_uuid: Optional[str] = None,
via: Optional[str] = None) -> Integrationfunc GetIntegration(ctx *Context, name string, id IDInput, state *IntegrationState, opts ...ResourceOption) (*Integration, error)public static Integration Get(string name, Input<string> id, IntegrationState? state, CustomResourceOptions? opts = null)public static Integration get(String name, Output<String> id, IntegrationState state, CustomResourceOptions options)resources: _: type: juju:Integration 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.
- Applications
List<Integration
Application> - The two applications to integrate.
- Model
Uuid string - The UUID of the model to operate in.
- Via string
- A comma separated list of CIDRs for outbound traffic.
- Applications
[]Integration
Application Args - The two applications to integrate.
- Model
Uuid string - The UUID of the model to operate in.
- Via string
- A comma separated list of CIDRs for outbound traffic.
- applications
List<Integration
Application> - The two applications to integrate.
- model
Uuid String - The UUID of the model to operate in.
- via String
- A comma separated list of CIDRs for outbound traffic.
- applications
Integration
Application[] - The two applications to integrate.
- model
Uuid string - The UUID of the model to operate in.
- via string
- A comma separated list of CIDRs for outbound traffic.
- applications
Sequence[Integration
Application Args] - The two applications to integrate.
- model_
uuid str - The UUID of the model to operate in.
- via str
- A comma separated list of CIDRs for outbound traffic.
- applications List<Property Map>
- The two applications to integrate.
- model
Uuid String - The UUID of the model to operate in.
- via String
- A comma separated list of CIDRs for outbound traffic.
Supporting Types
IntegrationApplication, IntegrationApplicationArgs
- Endpoint string
- The endpoint name. This attribute may not be used at the same time as the offer_url.
- Name string
- The name of the application. This attribute may not be used at the same time as the offer_url.
- Offer
Url string - The URL of a remote application. This attribute may not be used at the same time as name and endpoint.
- Offering
Controller string - The name of the offering controller where the remote application is hosted. This is required when using offer_url to consume an offer from a different controller.
- Endpoint string
- The endpoint name. This attribute may not be used at the same time as the offer_url.
- Name string
- The name of the application. This attribute may not be used at the same time as the offer_url.
- Offer
Url string - The URL of a remote application. This attribute may not be used at the same time as name and endpoint.
- Offering
Controller string - The name of the offering controller where the remote application is hosted. This is required when using offer_url to consume an offer from a different controller.
- endpoint String
- The endpoint name. This attribute may not be used at the same time as the offer_url.
- name String
- The name of the application. This attribute may not be used at the same time as the offer_url.
- offer
Url String - The URL of a remote application. This attribute may not be used at the same time as name and endpoint.
- offering
Controller String - The name of the offering controller where the remote application is hosted. This is required when using offer_url to consume an offer from a different controller.
- endpoint string
- The endpoint name. This attribute may not be used at the same time as the offer_url.
- name string
- The name of the application. This attribute may not be used at the same time as the offer_url.
- offer
Url string - The URL of a remote application. This attribute may not be used at the same time as name and endpoint.
- offering
Controller string - The name of the offering controller where the remote application is hosted. This is required when using offer_url to consume an offer from a different controller.
- endpoint str
- The endpoint name. This attribute may not be used at the same time as the offer_url.
- name str
- The name of the application. This attribute may not be used at the same time as the offer_url.
- offer_
url str - The URL of a remote application. This attribute may not be used at the same time as name and endpoint.
- offering_
controller str - The name of the offering controller where the remote application is hosted. This is required when using offer_url to consume an offer from a different controller.
- endpoint String
- The endpoint name. This attribute may not be used at the same time as the offer_url.
- name String
- The name of the application. This attribute may not be used at the same time as the offer_url.
- offer
Url String - The URL of a remote application. This attribute may not be used at the same time as name and endpoint.
- offering
Controller String - The name of the offering controller where the remote application is hosted. This is required when using offer_url to consume an offer from a different controller.
Package Details
- Repository
- juju juju/terraform-provider-juju
- License
- Notes
- This Pulumi package is based on the
jujuTerraform Provider.
