This resource can manage a System CA Certificate Feature.
- Minimum SD-WAN Manager version:
20.13.0
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = new sdwan.SystemCaCertificateFeature("example", {
name: "Example",
description: "My Example",
featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
certificates: [{
trustPointName: "example",
caCertificateId: "22a2f715-fed8-4031-b693-b5d43451a05e",
}],
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.SystemCaCertificateFeature("example",
name="Example",
description="My Example",
feature_profile_id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
certificates=[{
"trust_point_name": "example",
"ca_certificate_id": "22a2f715-fed8-4031-b693-b5d43451a05e",
}])
package main
import (
"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sdwan.NewSystemCaCertificateFeature(ctx, "example", &sdwan.SystemCaCertificateFeatureArgs{
Name: pulumi.String("Example"),
Description: pulumi.String("My Example"),
FeatureProfileId: pulumi.String("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"),
Certificates: sdwan.SystemCaCertificateFeatureCertificateArray{
&sdwan.SystemCaCertificateFeatureCertificateArgs{
TrustPointName: pulumi.String("example"),
CaCertificateId: pulumi.String("22a2f715-fed8-4031-b693-b5d43451a05e"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sdwan = Pulumi.Sdwan;
return await Deployment.RunAsync(() =>
{
var example = new Sdwan.SystemCaCertificateFeature("example", new()
{
Name = "Example",
Description = "My Example",
FeatureProfileId = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
Certificates = new[]
{
new Sdwan.Inputs.SystemCaCertificateFeatureCertificateArgs
{
TrustPointName = "example",
CaCertificateId = "22a2f715-fed8-4031-b693-b5d43451a05e",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.SystemCaCertificateFeature;
import com.pulumi.sdwan.SystemCaCertificateFeatureArgs;
import com.pulumi.sdwan.inputs.SystemCaCertificateFeatureCertificateArgs;
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 example = new SystemCaCertificateFeature("example", SystemCaCertificateFeatureArgs.builder()
.name("Example")
.description("My Example")
.featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
.certificates(SystemCaCertificateFeatureCertificateArgs.builder()
.trustPointName("example")
.caCertificateId("22a2f715-fed8-4031-b693-b5d43451a05e")
.build())
.build());
}
}
resources:
example:
type: sdwan:SystemCaCertificateFeature
properties:
name: Example
description: My Example
featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
certificates:
- trustPointName: example
caCertificateId: 22a2f715-fed8-4031-b693-b5d43451a05e
Create SystemCaCertificateFeature Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SystemCaCertificateFeature(name: string, args: SystemCaCertificateFeatureArgs, opts?: CustomResourceOptions);@overload
def SystemCaCertificateFeature(resource_name: str,
args: SystemCaCertificateFeatureArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SystemCaCertificateFeature(resource_name: str,
opts: Optional[ResourceOptions] = None,
feature_profile_id: Optional[str] = None,
certificates: Optional[Sequence[SystemCaCertificateFeatureCertificateArgs]] = None,
description: Optional[str] = None,
name: Optional[str] = None)func NewSystemCaCertificateFeature(ctx *Context, name string, args SystemCaCertificateFeatureArgs, opts ...ResourceOption) (*SystemCaCertificateFeature, error)public SystemCaCertificateFeature(string name, SystemCaCertificateFeatureArgs args, CustomResourceOptions? opts = null)
public SystemCaCertificateFeature(String name, SystemCaCertificateFeatureArgs args)
public SystemCaCertificateFeature(String name, SystemCaCertificateFeatureArgs args, CustomResourceOptions options)
type: sdwan:SystemCaCertificateFeature
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 SystemCaCertificateFeatureArgs
- 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 SystemCaCertificateFeatureArgs
- 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 SystemCaCertificateFeatureArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SystemCaCertificateFeatureArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SystemCaCertificateFeatureArgs
- 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 systemCaCertificateFeatureResource = new Sdwan.SystemCaCertificateFeature("systemCaCertificateFeatureResource", new()
{
FeatureProfileId = "string",
Certificates = new[]
{
new Sdwan.Inputs.SystemCaCertificateFeatureCertificateArgs
{
CaCertificateId = "string",
TrustPointName = "string",
},
},
Description = "string",
Name = "string",
});
example, err := sdwan.NewSystemCaCertificateFeature(ctx, "systemCaCertificateFeatureResource", &sdwan.SystemCaCertificateFeatureArgs{
FeatureProfileId: pulumi.String("string"),
Certificates: sdwan.SystemCaCertificateFeatureCertificateArray{
&sdwan.SystemCaCertificateFeatureCertificateArgs{
CaCertificateId: pulumi.String("string"),
TrustPointName: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
Name: pulumi.String("string"),
})
var systemCaCertificateFeatureResource = new SystemCaCertificateFeature("systemCaCertificateFeatureResource", SystemCaCertificateFeatureArgs.builder()
.featureProfileId("string")
.certificates(SystemCaCertificateFeatureCertificateArgs.builder()
.caCertificateId("string")
.trustPointName("string")
.build())
.description("string")
.name("string")
.build());
system_ca_certificate_feature_resource = sdwan.SystemCaCertificateFeature("systemCaCertificateFeatureResource",
feature_profile_id="string",
certificates=[{
"ca_certificate_id": "string",
"trust_point_name": "string",
}],
description="string",
name="string")
const systemCaCertificateFeatureResource = new sdwan.SystemCaCertificateFeature("systemCaCertificateFeatureResource", {
featureProfileId: "string",
certificates: [{
caCertificateId: "string",
trustPointName: "string",
}],
description: "string",
name: "string",
});
type: sdwan:SystemCaCertificateFeature
properties:
certificates:
- caCertificateId: string
trustPointName: string
description: string
featureProfileId: string
name: string
SystemCaCertificateFeature 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 SystemCaCertificateFeature resource accepts the following input properties:
- Feature
Profile stringId - Feature Profile ID
- Certificates
List<System
Ca Certificate Feature Certificate> - Thirdparty CA Certificate List
- Description string
- The description of the Feature
- Name string
- The name of the Feature
- Feature
Profile stringId - Feature Profile ID
- Certificates
[]System
Ca Certificate Feature Certificate Args - Thirdparty CA Certificate List
- Description string
- The description of the Feature
- Name string
- The name of the Feature
- feature
Profile StringId - Feature Profile ID
- certificates
List<System
Ca Certificate Feature Certificate> - Thirdparty CA Certificate List
- description String
- The description of the Feature
- name String
- The name of the Feature
- feature
Profile stringId - Feature Profile ID
- certificates
System
Ca Certificate Feature Certificate[] - Thirdparty CA Certificate List
- description string
- The description of the Feature
- name string
- The name of the Feature
- feature_
profile_ strid - Feature Profile ID
- certificates
Sequence[System
Ca Certificate Feature Certificate Args] - Thirdparty CA Certificate List
- description str
- The description of the Feature
- name str
- The name of the Feature
- feature
Profile StringId - Feature Profile ID
- certificates List<Property Map>
- Thirdparty CA Certificate List
- description String
- The description of the Feature
- name String
- The name of the Feature
Outputs
All input properties are implicitly available as output properties. Additionally, the SystemCaCertificateFeature resource produces the following output properties:
Look up Existing SystemCaCertificateFeature Resource
Get an existing SystemCaCertificateFeature 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?: SystemCaCertificateFeatureState, opts?: CustomResourceOptions): SystemCaCertificateFeature@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
certificates: Optional[Sequence[SystemCaCertificateFeatureCertificateArgs]] = None,
description: Optional[str] = None,
feature_profile_id: Optional[str] = None,
name: Optional[str] = None,
version: Optional[int] = None) -> SystemCaCertificateFeaturefunc GetSystemCaCertificateFeature(ctx *Context, name string, id IDInput, state *SystemCaCertificateFeatureState, opts ...ResourceOption) (*SystemCaCertificateFeature, error)public static SystemCaCertificateFeature Get(string name, Input<string> id, SystemCaCertificateFeatureState? state, CustomResourceOptions? opts = null)public static SystemCaCertificateFeature get(String name, Output<String> id, SystemCaCertificateFeatureState state, CustomResourceOptions options)resources: _: type: sdwan:SystemCaCertificateFeature 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.
- Certificates
List<System
Ca Certificate Feature Certificate> - Thirdparty CA Certificate List
- Description string
- The description of the Feature
- Feature
Profile stringId - Feature Profile ID
- Name string
- The name of the Feature
- Version int
- The version of the Feature
- Certificates
[]System
Ca Certificate Feature Certificate Args - Thirdparty CA Certificate List
- Description string
- The description of the Feature
- Feature
Profile stringId - Feature Profile ID
- Name string
- The name of the Feature
- Version int
- The version of the Feature
- certificates
List<System
Ca Certificate Feature Certificate> - Thirdparty CA Certificate List
- description String
- The description of the Feature
- feature
Profile StringId - Feature Profile ID
- name String
- The name of the Feature
- version Integer
- The version of the Feature
- certificates
System
Ca Certificate Feature Certificate[] - Thirdparty CA Certificate List
- description string
- The description of the Feature
- feature
Profile stringId - Feature Profile ID
- name string
- The name of the Feature
- version number
- The version of the Feature
- certificates
Sequence[System
Ca Certificate Feature Certificate Args] - Thirdparty CA Certificate List
- description str
- The description of the Feature
- feature_
profile_ strid - Feature Profile ID
- name str
- The name of the Feature
- version int
- The version of the Feature
- certificates List<Property Map>
- Thirdparty CA Certificate List
- description String
- The description of the Feature
- feature
Profile StringId - Feature Profile ID
- name String
- The name of the Feature
- version Number
- The version of the Feature
Supporting Types
SystemCaCertificateFeatureCertificate, SystemCaCertificateFeatureCertificateArgs
- Ca
Certificate stringId - UUID of Certificate Record in Database
- Trust
Point stringName - Trust Point Name of Certificate
- Ca
Certificate stringId - UUID of Certificate Record in Database
- Trust
Point stringName - Trust Point Name of Certificate
- ca
Certificate StringId - UUID of Certificate Record in Database
- trust
Point StringName - Trust Point Name of Certificate
- ca
Certificate stringId - UUID of Certificate Record in Database
- trust
Point stringName - Trust Point Name of Certificate
- ca_
certificate_ strid - UUID of Certificate Record in Database
- trust_
point_ strname - Trust Point Name of Certificate
- ca
Certificate StringId - UUID of Certificate Record in Database
- trust
Point StringName - Trust Point Name of Certificate
Import
The pulumi import command can be used, for example:
Expected import identifier with the format: “system_ca_certificate_feature_id,feature_profile_id”
$ pulumi import sdwan:index/systemCaCertificateFeature:SystemCaCertificateFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdwanTerraform Provider.
