scm.TlsServiceProfile
Explore with Pulumi AI
Retrieves a config item.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const example = new scm.TlsServiceProfile("example", {folder: "Shared"});
import pulumi
import pulumi_scm as scm
example = scm.TlsServiceProfile("example", folder="Shared")
package main
import (
"github.com/pulumi/pulumi-scm/sdk/go/scm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := scm.NewTlsServiceProfile(ctx, "example", &scm.TlsServiceProfileArgs{
Folder: pulumi.String("Shared"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var example = new Scm.TlsServiceProfile("example", new()
{
Folder = "Shared",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.TlsServiceProfile;
import com.pulumi.scm.TlsServiceProfileArgs;
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 TlsServiceProfile("example", TlsServiceProfileArgs.builder()
.folder("Shared")
.build());
}
}
resources:
example:
type: scm:TlsServiceProfile
properties:
folder: Shared
Create TlsServiceProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TlsServiceProfile(name: string, args: TlsServiceProfileArgs, opts?: CustomResourceOptions);
@overload
def TlsServiceProfile(resource_name: str,
args: TlsServiceProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TlsServiceProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[str] = None,
protocol_settings: Optional[TlsServiceProfileProtocolSettingsArgs] = None,
device: Optional[str] = None,
folder: Optional[str] = None,
name: Optional[str] = None,
snippet: Optional[str] = None)
func NewTlsServiceProfile(ctx *Context, name string, args TlsServiceProfileArgs, opts ...ResourceOption) (*TlsServiceProfile, error)
public TlsServiceProfile(string name, TlsServiceProfileArgs args, CustomResourceOptions? opts = null)
public TlsServiceProfile(String name, TlsServiceProfileArgs args)
public TlsServiceProfile(String name, TlsServiceProfileArgs args, CustomResourceOptions options)
type: scm:TlsServiceProfile
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 TlsServiceProfileArgs
- 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 TlsServiceProfileArgs
- 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 TlsServiceProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TlsServiceProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TlsServiceProfileArgs
- 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 tlsServiceProfileResource = new Scm.TlsServiceProfile("tlsServiceProfileResource", new()
{
Certificate = "string",
ProtocolSettings = new Scm.Inputs.TlsServiceProfileProtocolSettingsArgs
{
AuthAlgoSha1 = false,
AuthAlgoSha256 = false,
AuthAlgoSha384 = false,
EncAlgo3des = false,
EncAlgoAes128Cbc = false,
EncAlgoAes128Gcm = false,
EncAlgoAes256Cbc = false,
EncAlgoAes256Gcm = false,
EncAlgoRc4 = false,
KeyxchgAlgoDhe = false,
KeyxchgAlgoEcdhe = false,
KeyxchgAlgoRsa = false,
MaxVersion = "string",
MinVersion = "string",
},
Device = "string",
Folder = "string",
Name = "string",
Snippet = "string",
});
example, err := scm.NewTlsServiceProfile(ctx, "tlsServiceProfileResource", &scm.TlsServiceProfileArgs{
Certificate: pulumi.String("string"),
ProtocolSettings: &scm.TlsServiceProfileProtocolSettingsArgs{
AuthAlgoSha1: pulumi.Bool(false),
AuthAlgoSha256: pulumi.Bool(false),
AuthAlgoSha384: pulumi.Bool(false),
EncAlgo3des: pulumi.Bool(false),
EncAlgoAes128Cbc: pulumi.Bool(false),
EncAlgoAes128Gcm: pulumi.Bool(false),
EncAlgoAes256Cbc: pulumi.Bool(false),
EncAlgoAes256Gcm: pulumi.Bool(false),
EncAlgoRc4: pulumi.Bool(false),
KeyxchgAlgoDhe: pulumi.Bool(false),
KeyxchgAlgoEcdhe: pulumi.Bool(false),
KeyxchgAlgoRsa: pulumi.Bool(false),
MaxVersion: pulumi.String("string"),
MinVersion: pulumi.String("string"),
},
Device: pulumi.String("string"),
Folder: pulumi.String("string"),
Name: pulumi.String("string"),
Snippet: pulumi.String("string"),
})
var tlsServiceProfileResource = new TlsServiceProfile("tlsServiceProfileResource", TlsServiceProfileArgs.builder()
.certificate("string")
.protocolSettings(TlsServiceProfileProtocolSettingsArgs.builder()
.authAlgoSha1(false)
.authAlgoSha256(false)
.authAlgoSha384(false)
.encAlgo3des(false)
.encAlgoAes128Cbc(false)
.encAlgoAes128Gcm(false)
.encAlgoAes256Cbc(false)
.encAlgoAes256Gcm(false)
.encAlgoRc4(false)
.keyxchgAlgoDhe(false)
.keyxchgAlgoEcdhe(false)
.keyxchgAlgoRsa(false)
.maxVersion("string")
.minVersion("string")
.build())
.device("string")
.folder("string")
.name("string")
.snippet("string")
.build());
tls_service_profile_resource = scm.TlsServiceProfile("tlsServiceProfileResource",
certificate="string",
protocol_settings={
"auth_algo_sha1": False,
"auth_algo_sha256": False,
"auth_algo_sha384": False,
"enc_algo3des": False,
"enc_algo_aes128_cbc": False,
"enc_algo_aes128_gcm": False,
"enc_algo_aes256_cbc": False,
"enc_algo_aes256_gcm": False,
"enc_algo_rc4": False,
"keyxchg_algo_dhe": False,
"keyxchg_algo_ecdhe": False,
"keyxchg_algo_rsa": False,
"max_version": "string",
"min_version": "string",
},
device="string",
folder="string",
name="string",
snippet="string")
const tlsServiceProfileResource = new scm.TlsServiceProfile("tlsServiceProfileResource", {
certificate: "string",
protocolSettings: {
authAlgoSha1: false,
authAlgoSha256: false,
authAlgoSha384: false,
encAlgo3des: false,
encAlgoAes128Cbc: false,
encAlgoAes128Gcm: false,
encAlgoAes256Cbc: false,
encAlgoAes256Gcm: false,
encAlgoRc4: false,
keyxchgAlgoDhe: false,
keyxchgAlgoEcdhe: false,
keyxchgAlgoRsa: false,
maxVersion: "string",
minVersion: "string",
},
device: "string",
folder: "string",
name: "string",
snippet: "string",
});
type: scm:TlsServiceProfile
properties:
certificate: string
device: string
folder: string
name: string
protocolSettings:
authAlgoSha1: false
authAlgoSha256: false
authAlgoSha384: false
encAlgo3des: false
encAlgoAes128Cbc: false
encAlgoAes128Gcm: false
encAlgoAes256Cbc: false
encAlgoAes256Gcm: false
encAlgoRc4: false
keyxchgAlgoDhe: false
keyxchgAlgoEcdhe: false
keyxchgAlgoRsa: false
maxVersion: string
minVersion: string
snippet: string
TlsServiceProfile 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 TlsServiceProfile resource accepts the following input properties:
- Certificate string
- SSL certificate file name. String length must not exceed 255 characters.
- Protocol
Settings TlsService Profile Protocol Settings - The ProtocolSettings param.
- Device string
- The Device param.
- Folder string
- The Folder param.
- Name string
- SSL TLS Service Profile name, value is muCustomDomainSSLProfile when it is used on mobile-agent infra settings. String length must not exceed 127 characters. String validation regex:
^[a-zA-Z0-9._-]+$
. - Snippet string
- The Snippet param.
- Certificate string
- SSL certificate file name. String length must not exceed 255 characters.
- Protocol
Settings TlsService Profile Protocol Settings Args - The ProtocolSettings param.
- Device string
- The Device param.
- Folder string
- The Folder param.
- Name string
- SSL TLS Service Profile name, value is muCustomDomainSSLProfile when it is used on mobile-agent infra settings. String length must not exceed 127 characters. String validation regex:
^[a-zA-Z0-9._-]+$
. - Snippet string
- The Snippet param.
- certificate String
- SSL certificate file name. String length must not exceed 255 characters.
- protocol
Settings TlsService Profile Protocol Settings - The ProtocolSettings param.
- device String
- The Device param.
- folder String
- The Folder param.
- name String
- SSL TLS Service Profile name, value is muCustomDomainSSLProfile when it is used on mobile-agent infra settings. String length must not exceed 127 characters. String validation regex:
^[a-zA-Z0-9._-]+$
. - snippet String
- The Snippet param.
- certificate string
- SSL certificate file name. String length must not exceed 255 characters.
- protocol
Settings TlsService Profile Protocol Settings - The ProtocolSettings param.
- device string
- The Device param.
- folder string
- The Folder param.
- name string
- SSL TLS Service Profile name, value is muCustomDomainSSLProfile when it is used on mobile-agent infra settings. String length must not exceed 127 characters. String validation regex:
^[a-zA-Z0-9._-]+$
. - snippet string
- The Snippet param.
- certificate str
- SSL certificate file name. String length must not exceed 255 characters.
- protocol_
settings TlsService Profile Protocol Settings Args - The ProtocolSettings param.
- device str
- The Device param.
- folder str
- The Folder param.
- name str
- SSL TLS Service Profile name, value is muCustomDomainSSLProfile when it is used on mobile-agent infra settings. String length must not exceed 127 characters. String validation regex:
^[a-zA-Z0-9._-]+$
. - snippet str
- The Snippet param.
- certificate String
- SSL certificate file name. String length must not exceed 255 characters.
- protocol
Settings Property Map - The ProtocolSettings param.
- device String
- The Device param.
- folder String
- The Folder param.
- name String
- SSL TLS Service Profile name, value is muCustomDomainSSLProfile when it is used on mobile-agent infra settings. String length must not exceed 127 characters. String validation regex:
^[a-zA-Z0-9._-]+$
. - snippet String
- The Snippet param.
Outputs
All input properties are implicitly available as output properties. Additionally, the TlsServiceProfile resource produces the following output properties:
Look up Existing TlsServiceProfile Resource
Get an existing TlsServiceProfile 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?: TlsServiceProfileState, opts?: CustomResourceOptions): TlsServiceProfile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[str] = None,
device: Optional[str] = None,
folder: Optional[str] = None,
name: Optional[str] = None,
protocol_settings: Optional[TlsServiceProfileProtocolSettingsArgs] = None,
snippet: Optional[str] = None,
tfid: Optional[str] = None) -> TlsServiceProfile
func GetTlsServiceProfile(ctx *Context, name string, id IDInput, state *TlsServiceProfileState, opts ...ResourceOption) (*TlsServiceProfile, error)
public static TlsServiceProfile Get(string name, Input<string> id, TlsServiceProfileState? state, CustomResourceOptions? opts = null)
public static TlsServiceProfile get(String name, Output<String> id, TlsServiceProfileState 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.
- Certificate string
- SSL certificate file name. String length must not exceed 255 characters.
- Device string
- The Device param.
- Folder string
- The Folder param.
- Name string
- SSL TLS Service Profile name, value is muCustomDomainSSLProfile when it is used on mobile-agent infra settings. String length must not exceed 127 characters. String validation regex:
^[a-zA-Z0-9._-]+$
. - Protocol
Settings TlsService Profile Protocol Settings - The ProtocolSettings param.
- Snippet string
- The Snippet param.
- Tfid string
- Certificate string
- SSL certificate file name. String length must not exceed 255 characters.
- Device string
- The Device param.
- Folder string
- The Folder param.
- Name string
- SSL TLS Service Profile name, value is muCustomDomainSSLProfile when it is used on mobile-agent infra settings. String length must not exceed 127 characters. String validation regex:
^[a-zA-Z0-9._-]+$
. - Protocol
Settings TlsService Profile Protocol Settings Args - The ProtocolSettings param.
- Snippet string
- The Snippet param.
- Tfid string
- certificate String
- SSL certificate file name. String length must not exceed 255 characters.
- device String
- The Device param.
- folder String
- The Folder param.
- name String
- SSL TLS Service Profile name, value is muCustomDomainSSLProfile when it is used on mobile-agent infra settings. String length must not exceed 127 characters. String validation regex:
^[a-zA-Z0-9._-]+$
. - protocol
Settings TlsService Profile Protocol Settings - The ProtocolSettings param.
- snippet String
- The Snippet param.
- tfid String
- certificate string
- SSL certificate file name. String length must not exceed 255 characters.
- device string
- The Device param.
- folder string
- The Folder param.
- name string
- SSL TLS Service Profile name, value is muCustomDomainSSLProfile when it is used on mobile-agent infra settings. String length must not exceed 127 characters. String validation regex:
^[a-zA-Z0-9._-]+$
. - protocol
Settings TlsService Profile Protocol Settings - The ProtocolSettings param.
- snippet string
- The Snippet param.
- tfid string
- certificate str
- SSL certificate file name. String length must not exceed 255 characters.
- device str
- The Device param.
- folder str
- The Folder param.
- name str
- SSL TLS Service Profile name, value is muCustomDomainSSLProfile when it is used on mobile-agent infra settings. String length must not exceed 127 characters. String validation regex:
^[a-zA-Z0-9._-]+$
. - protocol_
settings TlsService Profile Protocol Settings Args - The ProtocolSettings param.
- snippet str
- The Snippet param.
- tfid str
- certificate String
- SSL certificate file name. String length must not exceed 255 characters.
- device String
- The Device param.
- folder String
- The Folder param.
- name String
- SSL TLS Service Profile name, value is muCustomDomainSSLProfile when it is used on mobile-agent infra settings. String length must not exceed 127 characters. String validation regex:
^[a-zA-Z0-9._-]+$
. - protocol
Settings Property Map - The ProtocolSettings param.
- snippet String
- The Snippet param.
- tfid String
Supporting Types
TlsServiceProfileProtocolSettings, TlsServiceProfileProtocolSettingsArgs
- Auth
Algo boolSha1 - Allow authentication SHA1.
- Auth
Algo boolSha256 - Allow authentication SHA256.
- Auth
Algo boolSha384 - Allow authentication SHA384.
- Enc
Algo3des bool - Allow algorithm 3DES.
- Enc
Algo boolAes128Cbc - Allow algorithm AES-128-CBC.
- Enc
Algo boolAes128Gcm - Allow algorithm AES-128-GCM.
- Enc
Algo boolAes256Cbc - Allow algorithm AES-256-CBC.
- Enc
Algo boolAes256Gcm - Allow algorithm AES-256-GCM.
- Enc
Algo boolRc4 - Allow algorithm RC4.
- Keyxchg
Algo boolDhe - Allow algorithm DHE.
- Keyxchg
Algo boolEcdhe - Allow algorithm ECDHE.
- Keyxchg
Algo boolRsa - Allow algorithm RSA.
- Max
Version string - The MaxVersion param. String must be one of these:
"tls1-0"
,"tls1-1"
,"tls1-2"
,"tls1-3"
,"max"
. Default:"max"
. - Min
Version string - The MinVersion param. String must be one of these:
"tls1-0"
,"tls1-1"
,"tls1-2"
. Default:"tls1-0"
.
- Auth
Algo boolSha1 - Allow authentication SHA1.
- Auth
Algo boolSha256 - Allow authentication SHA256.
- Auth
Algo boolSha384 - Allow authentication SHA384.
- Enc
Algo3des bool - Allow algorithm 3DES.
- Enc
Algo boolAes128Cbc - Allow algorithm AES-128-CBC.
- Enc
Algo boolAes128Gcm - Allow algorithm AES-128-GCM.
- Enc
Algo boolAes256Cbc - Allow algorithm AES-256-CBC.
- Enc
Algo boolAes256Gcm - Allow algorithm AES-256-GCM.
- Enc
Algo boolRc4 - Allow algorithm RC4.
- Keyxchg
Algo boolDhe - Allow algorithm DHE.
- Keyxchg
Algo boolEcdhe - Allow algorithm ECDHE.
- Keyxchg
Algo boolRsa - Allow algorithm RSA.
- Max
Version string - The MaxVersion param. String must be one of these:
"tls1-0"
,"tls1-1"
,"tls1-2"
,"tls1-3"
,"max"
. Default:"max"
. - Min
Version string - The MinVersion param. String must be one of these:
"tls1-0"
,"tls1-1"
,"tls1-2"
. Default:"tls1-0"
.
- auth
Algo BooleanSha1 - Allow authentication SHA1.
- auth
Algo BooleanSha256 - Allow authentication SHA256.
- auth
Algo BooleanSha384 - Allow authentication SHA384.
- enc
Algo3des Boolean - Allow algorithm 3DES.
- enc
Algo BooleanAes128Cbc - Allow algorithm AES-128-CBC.
- enc
Algo BooleanAes128Gcm - Allow algorithm AES-128-GCM.
- enc
Algo BooleanAes256Cbc - Allow algorithm AES-256-CBC.
- enc
Algo BooleanAes256Gcm - Allow algorithm AES-256-GCM.
- enc
Algo BooleanRc4 - Allow algorithm RC4.
- keyxchg
Algo BooleanDhe - Allow algorithm DHE.
- keyxchg
Algo BooleanEcdhe - Allow algorithm ECDHE.
- keyxchg
Algo BooleanRsa - Allow algorithm RSA.
- max
Version String - The MaxVersion param. String must be one of these:
"tls1-0"
,"tls1-1"
,"tls1-2"
,"tls1-3"
,"max"
. Default:"max"
. - min
Version String - The MinVersion param. String must be one of these:
"tls1-0"
,"tls1-1"
,"tls1-2"
. Default:"tls1-0"
.
- auth
Algo booleanSha1 - Allow authentication SHA1.
- auth
Algo booleanSha256 - Allow authentication SHA256.
- auth
Algo booleanSha384 - Allow authentication SHA384.
- enc
Algo3des boolean - Allow algorithm 3DES.
- enc
Algo booleanAes128Cbc - Allow algorithm AES-128-CBC.
- enc
Algo booleanAes128Gcm - Allow algorithm AES-128-GCM.
- enc
Algo booleanAes256Cbc - Allow algorithm AES-256-CBC.
- enc
Algo booleanAes256Gcm - Allow algorithm AES-256-GCM.
- enc
Algo booleanRc4 - Allow algorithm RC4.
- keyxchg
Algo booleanDhe - Allow algorithm DHE.
- keyxchg
Algo booleanEcdhe - Allow algorithm ECDHE.
- keyxchg
Algo booleanRsa - Allow algorithm RSA.
- max
Version string - The MaxVersion param. String must be one of these:
"tls1-0"
,"tls1-1"
,"tls1-2"
,"tls1-3"
,"max"
. Default:"max"
. - min
Version string - The MinVersion param. String must be one of these:
"tls1-0"
,"tls1-1"
,"tls1-2"
. Default:"tls1-0"
.
- auth_
algo_ boolsha1 - Allow authentication SHA1.
- auth_
algo_ boolsha256 - Allow authentication SHA256.
- auth_
algo_ boolsha384 - Allow authentication SHA384.
- enc_
algo3des bool - Allow algorithm 3DES.
- enc_
algo_ boolaes128_ cbc - Allow algorithm AES-128-CBC.
- enc_
algo_ boolaes128_ gcm - Allow algorithm AES-128-GCM.
- enc_
algo_ boolaes256_ cbc - Allow algorithm AES-256-CBC.
- enc_
algo_ boolaes256_ gcm - Allow algorithm AES-256-GCM.
- enc_
algo_ boolrc4 - Allow algorithm RC4.
- keyxchg_
algo_ booldhe - Allow algorithm DHE.
- keyxchg_
algo_ boolecdhe - Allow algorithm ECDHE.
- keyxchg_
algo_ boolrsa - Allow algorithm RSA.
- max_
version str - The MaxVersion param. String must be one of these:
"tls1-0"
,"tls1-1"
,"tls1-2"
,"tls1-3"
,"max"
. Default:"max"
. - min_
version str - The MinVersion param. String must be one of these:
"tls1-0"
,"tls1-1"
,"tls1-2"
. Default:"tls1-0"
.
- auth
Algo BooleanSha1 - Allow authentication SHA1.
- auth
Algo BooleanSha256 - Allow authentication SHA256.
- auth
Algo BooleanSha384 - Allow authentication SHA384.
- enc
Algo3des Boolean - Allow algorithm 3DES.
- enc
Algo BooleanAes128Cbc - Allow algorithm AES-128-CBC.
- enc
Algo BooleanAes128Gcm - Allow algorithm AES-128-GCM.
- enc
Algo BooleanAes256Cbc - Allow algorithm AES-256-CBC.
- enc
Algo BooleanAes256Gcm - Allow algorithm AES-256-GCM.
- enc
Algo BooleanRc4 - Allow algorithm RC4.
- keyxchg
Algo BooleanDhe - Allow algorithm DHE.
- keyxchg
Algo BooleanEcdhe - Allow algorithm ECDHE.
- keyxchg
Algo BooleanRsa - Allow algorithm RSA.
- max
Version String - The MaxVersion param. String must be one of these:
"tls1-0"
,"tls1-1"
,"tls1-2"
,"tls1-3"
,"max"
. Default:"max"
. - min
Version String - The MinVersion param. String must be one of these:
"tls1-0"
,"tls1-1"
,"tls1-2"
. Default:"tls1-0"
.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scm
Terraform Provider.