Retrieves a listing of config items.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
//
// Data source to retrieve a list of SCM SCEP Profile objects.
//
// Example: Fetch a list of all SCM SCEP Profile in the "All" folder.
const allShared = scm.getScepProfileList({
folder: "All",
});
export const scmScepProfileListAllShared = allShared.then(allShared => allShared.datas);
import pulumi
import pulumi_scm as scm
#
# Data source to retrieve a list of SCM SCEP Profile objects.
#
# Example: Fetch a list of all SCM SCEP Profile in the "All" folder.
all_shared = scm.get_scep_profile_list(folder="All")
pulumi.export("scmScepProfileListAllShared", all_shared.datas)
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 {
// Data source to retrieve a list of SCM SCEP Profile objects.
//
// Example: Fetch a list of all SCM SCEP Profile in the "All" folder.
allShared, err := scm.GetScepProfileList(ctx, &scm.GetScepProfileListArgs{
Folder: pulumi.StringRef("All"),
}, nil)
if err != nil {
return err
}
ctx.Export("scmScepProfileListAllShared", allShared.Datas)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
//
// Data source to retrieve a list of SCM SCEP Profile objects.
//
// Example: Fetch a list of all SCM SCEP Profile in the "All" folder.
var allShared = Scm.GetScepProfileList.Invoke(new()
{
Folder = "All",
});
return new Dictionary<string, object?>
{
["scmScepProfileListAllShared"] = allShared.Apply(getScepProfileListResult => getScepProfileListResult.Datas),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.ScmFunctions;
import com.pulumi.scm.inputs.GetScepProfileListArgs;
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) {
//
// Data source to retrieve a list of SCM SCEP Profile objects.
//
// Example: Fetch a list of all SCM SCEP Profile in the "All" folder.
final var allShared = ScmFunctions.getScepProfileList(GetScepProfileListArgs.builder()
.folder("All")
.build());
ctx.export("scmScepProfileListAllShared", allShared.datas());
}
}
variables:
#
# Data source to retrieve a list of SCM SCEP Profile objects.
#
# Example: Fetch a list of all SCM SCEP Profile in the "All" folder.
allShared:
fn::invoke:
function: scm:getScepProfileList
arguments:
folder: All
outputs:
# Output the list of all SCM SCEP Profile objects from the "All" folder.
scmScepProfileListAllShared: ${allShared.datas}
Using getScepProfileList
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getScepProfileList(args: GetScepProfileListArgs, opts?: InvokeOptions): Promise<GetScepProfileListResult>
function getScepProfileListOutput(args: GetScepProfileListOutputArgs, opts?: InvokeOptions): Output<GetScepProfileListResult>def get_scep_profile_list(device: Optional[str] = None,
folder: Optional[str] = None,
limit: Optional[int] = None,
name: Optional[str] = None,
offset: Optional[int] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScepProfileListResult
def get_scep_profile_list_output(device: Optional[pulumi.Input[str]] = None,
folder: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
offset: Optional[pulumi.Input[int]] = None,
snippet: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScepProfileListResult]func GetScepProfileList(ctx *Context, args *GetScepProfileListArgs, opts ...InvokeOption) (*GetScepProfileListResult, error)
func GetScepProfileListOutput(ctx *Context, args *GetScepProfileListOutputArgs, opts ...InvokeOption) GetScepProfileListResultOutput> Note: This function is named GetScepProfileList in the Go SDK.
public static class GetScepProfileList
{
public static Task<GetScepProfileListResult> InvokeAsync(GetScepProfileListArgs args, InvokeOptions? opts = null)
public static Output<GetScepProfileListResult> Invoke(GetScepProfileListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetScepProfileListResult> getScepProfileList(GetScepProfileListArgs args, InvokeOptions options)
public static Output<GetScepProfileListResult> getScepProfileList(GetScepProfileListArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getScepProfileList:getScepProfileList
arguments:
# arguments dictionaryThe following arguments are supported:
getScepProfileList Result
The following output properties are available:
- Datas
List<Get
Scep Profile List Data> - The data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tfid string
- The Terraform ID.
- Total int
- The total number of items.
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- Datas
[]Get
Scep Profile List Data - The data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tfid string
- The Terraform ID.
- Total int
- The total number of items.
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- datas
List<Get
Scep Profile List Data> - The data.
- id String
- The provider-assigned unique ID for this managed resource.
- tfid String
- The Terraform ID.
- total Integer
- The total number of items.
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Integer
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Integer
- The offset of the first item to return.
- snippet String
- The snippet of the item.
- datas
Get
Scep Profile List Data[] - The data.
- id string
- The provider-assigned unique ID for this managed resource.
- tfid string
- The Terraform ID.
- total number
- The total number of items.
- device string
- The device of the item.
- folder string
- The folder of the item. Default: Shared.
- limit number
- The max number of items to return. Default: 200.
- name string
- The name of the item.
- offset number
- The offset of the first item to return.
- snippet string
- The snippet of the item.
- datas
Sequence[Get
Scep Profile List Data] - The data.
- id str
- The provider-assigned unique ID for this managed resource.
- tfid str
- The Terraform ID.
- total int
- The total number of items.
- device str
- The device of the item.
- folder str
- The folder of the item. Default: Shared.
- limit int
- The max number of items to return. Default: 200.
- name str
- The name of the item.
- offset int
- The offset of the first item to return.
- snippet str
- The snippet of the item.
- datas List<Property Map>
- The data.
- id String
- The provider-assigned unique ID for this managed resource.
- tfid String
- The Terraform ID.
- total Number
- The total number of items.
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Number
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Number
- The offset of the first item to return.
- snippet String
- The snippet of the item.
Supporting Types
GetScepProfileListData
- Algorithm
Get
Scep Profile List Data Algorithm - Algorithm
- Ca
Identity stringName - Certificate Authority Identity
- Certificate
Attributes GetScep Profile List Data Certificate Attributes - Subject Alternative name type
- Device string
- The device in which the resource is defined
- Digest string
- Digest for CSR
- Encrypted
Values Dictionary<string, string> - Map of sensitive values returned from the API.
- Fingerprint string
- CA Certificate Fingerprint
- Folder string
- The folder of the item. Default: Shared.
- Id string
- The UUID of the SCEP profile
- Name string
- The name of the item.
- Scep
Ca stringCert - SCEP Server CA Certificate
- Scep
Challenge GetScep Profile List Data Scep Challenge - One Time Password Challenge
- Scep
Client stringCert - SCEP Client Certificate
- Scep
Url string - SCEP server URL
- Snippet string
- The snippet of the item.
- Subject string
- Subject
- Tfid string
- The Terraform ID.
- Use
As boolDigital Signature - Use as digital signature?
- Use
For boolKey Encipherment - Use for key encipherment?
- Algorithm
Get
Scep Profile List Data Algorithm - Algorithm
- Ca
Identity stringName - Certificate Authority Identity
- Certificate
Attributes GetScep Profile List Data Certificate Attributes - Subject Alternative name type
- Device string
- The device in which the resource is defined
- Digest string
- Digest for CSR
- Encrypted
Values map[string]string - Map of sensitive values returned from the API.
- Fingerprint string
- CA Certificate Fingerprint
- Folder string
- The folder of the item. Default: Shared.
- Id string
- The UUID of the SCEP profile
- Name string
- The name of the item.
- Scep
Ca stringCert - SCEP Server CA Certificate
- Scep
Challenge GetScep Profile List Data Scep Challenge - One Time Password Challenge
- Scep
Client stringCert - SCEP Client Certificate
- Scep
Url string - SCEP server URL
- Snippet string
- The snippet of the item.
- Subject string
- Subject
- Tfid string
- The Terraform ID.
- Use
As boolDigital Signature - Use as digital signature?
- Use
For boolKey Encipherment - Use for key encipherment?
- algorithm
Get
Scep Profile List Data Algorithm - Algorithm
- ca
Identity StringName - Certificate Authority Identity
- certificate
Attributes GetScep Profile List Data Certificate Attributes - Subject Alternative name type
- device String
- The device in which the resource is defined
- digest String
- Digest for CSR
- encrypted
Values Map<String,String> - Map of sensitive values returned from the API.
- fingerprint String
- CA Certificate Fingerprint
- folder String
- The folder of the item. Default: Shared.
- id String
- The UUID of the SCEP profile
- name String
- The name of the item.
- scep
Ca StringCert - SCEP Server CA Certificate
- scep
Challenge GetScep Profile List Data Scep Challenge - One Time Password Challenge
- scep
Client StringCert - SCEP Client Certificate
- scep
Url String - SCEP server URL
- snippet String
- The snippet of the item.
- subject String
- Subject
- tfid String
- The Terraform ID.
- use
As BooleanDigital Signature - Use as digital signature?
- use
For BooleanKey Encipherment - Use for key encipherment?
- algorithm
Get
Scep Profile List Data Algorithm - Algorithm
- ca
Identity stringName - Certificate Authority Identity
- certificate
Attributes GetScep Profile List Data Certificate Attributes - Subject Alternative name type
- device string
- The device in which the resource is defined
- digest string
- Digest for CSR
- encrypted
Values {[key: string]: string} - Map of sensitive values returned from the API.
- fingerprint string
- CA Certificate Fingerprint
- folder string
- The folder of the item. Default: Shared.
- id string
- The UUID of the SCEP profile
- name string
- The name of the item.
- scep
Ca stringCert - SCEP Server CA Certificate
- scep
Challenge GetScep Profile List Data Scep Challenge - One Time Password Challenge
- scep
Client stringCert - SCEP Client Certificate
- scep
Url string - SCEP server URL
- snippet string
- The snippet of the item.
- subject string
- Subject
- tfid string
- The Terraform ID.
- use
As booleanDigital Signature - Use as digital signature?
- use
For booleanKey Encipherment - Use for key encipherment?
- algorithm
Get
Scep Profile List Data Algorithm - Algorithm
- ca_
identity_ strname - Certificate Authority Identity
- certificate_
attributes GetScep Profile List Data Certificate Attributes - Subject Alternative name type
- device str
- The device in which the resource is defined
- digest str
- Digest for CSR
- encrypted_
values Mapping[str, str] - Map of sensitive values returned from the API.
- fingerprint str
- CA Certificate Fingerprint
- folder str
- The folder of the item. Default: Shared.
- id str
- The UUID of the SCEP profile
- name str
- The name of the item.
- scep_
ca_ strcert - SCEP Server CA Certificate
- scep_
challenge GetScep Profile List Data Scep Challenge - One Time Password Challenge
- scep_
client_ strcert - SCEP Client Certificate
- scep_
url str - SCEP server URL
- snippet str
- The snippet of the item.
- subject str
- Subject
- tfid str
- The Terraform ID.
- use_
as_ booldigital_ signature - Use as digital signature?
- use_
for_ boolkey_ encipherment - Use for key encipherment?
- algorithm Property Map
- Algorithm
- ca
Identity StringName - Certificate Authority Identity
- certificate
Attributes Property Map - Subject Alternative name type
- device String
- The device in which the resource is defined
- digest String
- Digest for CSR
- encrypted
Values Map<String> - Map of sensitive values returned from the API.
- fingerprint String
- CA Certificate Fingerprint
- folder String
- The folder of the item. Default: Shared.
- id String
- The UUID of the SCEP profile
- name String
- The name of the item.
- scep
Ca StringCert - SCEP Server CA Certificate
- scep
Challenge Property Map - One Time Password Challenge
- scep
Client StringCert - SCEP Client Certificate
- scep
Url String - SCEP server URL
- snippet String
- The snippet of the item.
- subject String
- Subject
- tfid String
- The Terraform ID.
- use
As BooleanDigital Signature - Use as digital signature?
- use
For BooleanKey Encipherment - Use for key encipherment?
GetScepProfileListDataAlgorithm
- Rsa
Get
Scep Profile List Data Algorithm Rsa - Key length (bits)
- Rsa
Get
Scep Profile List Data Algorithm Rsa - Key length (bits)
- rsa
Get
Scep Profile List Data Algorithm Rsa - Key length (bits)
- rsa
Get
Scep Profile List Data Algorithm Rsa - Key length (bits)
- rsa
Get
Scep Profile List Data Algorithm Rsa - Key length (bits)
- rsa Property Map
- Key length (bits)
GetScepProfileListDataAlgorithmRsa
- Rsa
Nbits string - Rsa nbits
- Rsa
Nbits string - Rsa nbits
- rsa
Nbits String - Rsa nbits
- rsa
Nbits string - Rsa nbits
- rsa_
nbits str - Rsa nbits
- rsa
Nbits String - Rsa nbits
GetScepProfileListDataCertificateAttributes
- Dnsname string
- Dnsname
- Rfc822name string
Rfc822name
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.- Uniform
Resource stringIdentifier Uniform resource identifier
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.
- Dnsname string
- Dnsname
- Rfc822name string
Rfc822name
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.- Uniform
Resource stringIdentifier Uniform resource identifier
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.
- dnsname String
- Dnsname
- rfc822name String
Rfc822name
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.- uniform
Resource StringIdentifier Uniform resource identifier
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.
- dnsname string
- Dnsname
- rfc822name string
Rfc822name
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.- uniform
Resource stringIdentifier Uniform resource identifier
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.
- dnsname str
- Dnsname
- rfc822name str
Rfc822name
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.- uniform_
resource_ stridentifier Uniform resource identifier
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.
- dnsname String
- Dnsname
- rfc822name String
Rfc822name
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.- uniform
Resource StringIdentifier Uniform resource identifier
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.
GetScepProfileListDataScepChallenge
- Dynamic
Get
Scep Profile List Data Scep Challenge Dynamic - Dynamic
- Fixed string
Challenge to use for SCEP server on mobile clients
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.- None
Get
Scep Profile List Data Scep Challenge None No OTP
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.
- Dynamic
Get
Scep Profile List Data Scep Challenge Dynamic - Dynamic
- Fixed string
Challenge to use for SCEP server on mobile clients
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.- None
Get
Scep Profile List Data Scep Challenge None No OTP
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.
- dynamic
Get
Scep Profile List Data Scep Challenge Dynamic - Dynamic
- fixed String
Challenge to use for SCEP server on mobile clients
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.- none
Get
Scep Profile List Data Scep Challenge None No OTP
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.
- dynamic
Get
Scep Profile List Data Scep Challenge Dynamic - Dynamic
- fixed string
Challenge to use for SCEP server on mobile clients
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.- none
Get
Scep Profile List Data Scep Challenge None No OTP
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.
- dynamic
Get
Scep Profile List Data Scep Challenge Dynamic - Dynamic
- fixed str
Challenge to use for SCEP server on mobile clients
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.- none
Get
Scep Profile List Data Scep Challenge None No OTP
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.
- dynamic Property Map
- Dynamic
- fixed String
Challenge to use for SCEP server on mobile clients
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.- none Property Map
No OTP
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.
GetScepProfileListDataScepChallengeDynamic
- Otp
Server stringUrl - OTP server URL
- Password string
- OTP password
- Username string
- OTP username
- Otp
Server stringUrl - OTP server URL
- Password string
- OTP password
- Username string
- OTP username
- otp
Server StringUrl - OTP server URL
- password String
- OTP password
- username String
- OTP username
- otp
Server stringUrl - OTP server URL
- password string
- OTP password
- username string
- OTP username
- otp_
server_ strurl - OTP server URL
- password str
- OTP password
- username str
- OTP username
- otp
Server StringUrl - OTP server URL
- password String
- OTP password
- username String
- OTP username
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
