Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi
scm.getCertificateProfile
Explore with Pulumi AI
Retrieves a config item.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const example = scm.getCertificateProfile({
id: "1234-56-789",
});
import pulumi
import pulumi_scm as scm
example = scm.get_certificate_profile(id="1234-56-789")
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.LookupCertificateProfile(ctx, &scm.LookupCertificateProfileArgs{
Id: "1234-56-789",
}, nil)
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 = Scm.GetCertificateProfile.Invoke(new()
{
Id = "1234-56-789",
});
});
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.GetCertificateProfileArgs;
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) {
final var example = ScmFunctions.getCertificateProfile(GetCertificateProfileArgs.builder()
.id("1234-56-789")
.build());
}
}
variables:
example:
fn::invoke:
Function: scm:getCertificateProfile
Arguments:
id: 1234-56-789
Using getCertificateProfile
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 getCertificateProfile(args: GetCertificateProfileArgs, opts?: InvokeOptions): Promise<GetCertificateProfileResult>
function getCertificateProfileOutput(args: GetCertificateProfileOutputArgs, opts?: InvokeOptions): Output<GetCertificateProfileResult>
def get_certificate_profile(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCertificateProfileResult
def get_certificate_profile_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCertificateProfileResult]
func LookupCertificateProfile(ctx *Context, args *LookupCertificateProfileArgs, opts ...InvokeOption) (*LookupCertificateProfileResult, error)
func LookupCertificateProfileOutput(ctx *Context, args *LookupCertificateProfileOutputArgs, opts ...InvokeOption) LookupCertificateProfileResultOutput
> Note: This function is named LookupCertificateProfile
in the Go SDK.
public static class GetCertificateProfile
{
public static Task<GetCertificateProfileResult> InvokeAsync(GetCertificateProfileArgs args, InvokeOptions? opts = null)
public static Output<GetCertificateProfileResult> Invoke(GetCertificateProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCertificateProfileResult> getCertificateProfile(GetCertificateProfileArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scm:index/getCertificateProfile:getCertificateProfile
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The Id param.
- Id string
- The Id param.
- id String
- The Id param.
- id string
- The Id param.
- id str
- The Id param.
- id String
- The Id param.
getCertificateProfile Result
The following output properties are available:
- Block
Expired boolCert - The BlockExpiredCert param.
- Block
Timeout boolCert - The BlockTimeoutCert param.
- Block
Unauthenticated boolCert - The BlockUnauthenticatedCert param.
- Block
Unknown boolCert - The BlockUnknownCert param.
- Ca
Certificates List<GetCertificate Profile Ca Certificate> - The CaCertificates param.
- Cert
Status stringTimeout - The CertStatusTimeout param.
- Crl
Receive stringTimeout - The CrlReceiveTimeout param.
- Domain string
- The Domain param.
- Id string
- The Id param.
- Name string
- Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 63 characters.
- Ocsp
Receive stringTimeout - The OcspReceiveTimeout param.
- Tfid string
- Use
Crl bool - The UseCrl param.
- Use
Ocsp bool - The UseOcsp param.
- Username
Field GetCertificate Profile Username Field - The UsernameField param.
- Block
Expired boolCert - The BlockExpiredCert param.
- Block
Timeout boolCert - The BlockTimeoutCert param.
- Block
Unauthenticated boolCert - The BlockUnauthenticatedCert param.
- Block
Unknown boolCert - The BlockUnknownCert param.
- Ca
Certificates []GetCertificate Profile Ca Certificate - The CaCertificates param.
- Cert
Status stringTimeout - The CertStatusTimeout param.
- Crl
Receive stringTimeout - The CrlReceiveTimeout param.
- Domain string
- The Domain param.
- Id string
- The Id param.
- Name string
- Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 63 characters.
- Ocsp
Receive stringTimeout - The OcspReceiveTimeout param.
- Tfid string
- Use
Crl bool - The UseCrl param.
- Use
Ocsp bool - The UseOcsp param.
- Username
Field GetCertificate Profile Username Field - The UsernameField param.
- block
Expired BooleanCert - The BlockExpiredCert param.
- block
Timeout BooleanCert - The BlockTimeoutCert param.
- block
Unauthenticated BooleanCert - The BlockUnauthenticatedCert param.
- block
Unknown BooleanCert - The BlockUnknownCert param.
- ca
Certificates List<GetCertificate Profile Ca Certificate> - The CaCertificates param.
- cert
Status StringTimeout - The CertStatusTimeout param.
- crl
Receive StringTimeout - The CrlReceiveTimeout param.
- domain String
- The Domain param.
- id String
- The Id param.
- name String
- Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 63 characters.
- ocsp
Receive StringTimeout - The OcspReceiveTimeout param.
- tfid String
- use
Crl Boolean - The UseCrl param.
- use
Ocsp Boolean - The UseOcsp param.
- username
Field GetCertificate Profile Username Field - The UsernameField param.
- block
Expired booleanCert - The BlockExpiredCert param.
- block
Timeout booleanCert - The BlockTimeoutCert param.
- block
Unauthenticated booleanCert - The BlockUnauthenticatedCert param.
- block
Unknown booleanCert - The BlockUnknownCert param.
- ca
Certificates GetCertificate Profile Ca Certificate[] - The CaCertificates param.
- cert
Status stringTimeout - The CertStatusTimeout param.
- crl
Receive stringTimeout - The CrlReceiveTimeout param.
- domain string
- The Domain param.
- id string
- The Id param.
- name string
- Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 63 characters.
- ocsp
Receive stringTimeout - The OcspReceiveTimeout param.
- tfid string
- use
Crl boolean - The UseCrl param.
- use
Ocsp boolean - The UseOcsp param.
- username
Field GetCertificate Profile Username Field - The UsernameField param.
- block_
expired_ boolcert - The BlockExpiredCert param.
- block_
timeout_ boolcert - The BlockTimeoutCert param.
- block_
unauthenticated_ boolcert - The BlockUnauthenticatedCert param.
- block_
unknown_ boolcert - The BlockUnknownCert param.
- ca_
certificates Sequence[GetCertificate Profile Ca Certificate] - The CaCertificates param.
- cert_
status_ strtimeout - The CertStatusTimeout param.
- crl_
receive_ strtimeout - The CrlReceiveTimeout param.
- domain str
- The Domain param.
- id str
- The Id param.
- name str
- Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 63 characters.
- ocsp_
receive_ strtimeout - The OcspReceiveTimeout param.
- tfid str
- use_
crl bool - The UseCrl param.
- use_
ocsp bool - The UseOcsp param.
- username_
field GetCertificate Profile Username Field - The UsernameField param.
- block
Expired BooleanCert - The BlockExpiredCert param.
- block
Timeout BooleanCert - The BlockTimeoutCert param.
- block
Unauthenticated BooleanCert - The BlockUnauthenticatedCert param.
- block
Unknown BooleanCert - The BlockUnknownCert param.
- ca
Certificates List<Property Map> - The CaCertificates param.
- cert
Status StringTimeout - The CertStatusTimeout param.
- crl
Receive StringTimeout - The CrlReceiveTimeout param.
- domain String
- The Domain param.
- id String
- The Id param.
- name String
- Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 63 characters.
- ocsp
Receive StringTimeout - The OcspReceiveTimeout param.
- tfid String
- use
Crl Boolean - The UseCrl param.
- use
Ocsp Boolean - The UseOcsp param.
- username
Field Property Map - The UsernameField param.
Supporting Types
GetCertificateProfileCaCertificate
- Default
Ocsp stringUrl - The DefaultOcspUrl param.
- Name string
- The Name param.
- Ocsp
Verify stringCert - The OcspVerifyCert param.
- Template
Name string - The TemplateName param.
- Default
Ocsp stringUrl - The DefaultOcspUrl param.
- Name string
- The Name param.
- Ocsp
Verify stringCert - The OcspVerifyCert param.
- Template
Name string - The TemplateName param.
- default
Ocsp StringUrl - The DefaultOcspUrl param.
- name String
- The Name param.
- ocsp
Verify StringCert - The OcspVerifyCert param.
- template
Name String - The TemplateName param.
- default
Ocsp stringUrl - The DefaultOcspUrl param.
- name string
- The Name param.
- ocsp
Verify stringCert - The OcspVerifyCert param.
- template
Name string - The TemplateName param.
- default_
ocsp_ strurl - The DefaultOcspUrl param.
- name str
- The Name param.
- ocsp_
verify_ strcert - The OcspVerifyCert param.
- template_
name str - The TemplateName param.
- default
Ocsp StringUrl - The DefaultOcspUrl param.
- name String
- The Name param.
- ocsp
Verify StringCert - The OcspVerifyCert param.
- template
Name String - The TemplateName param.
GetCertificateProfileUsernameField
- Subject string
- The Subject param. String must be one of these:
"common-name"
. - Subject
Alt string - The SubjectAlt param. String must be one of these:
"email"
.
- Subject string
- The Subject param. String must be one of these:
"common-name"
. - Subject
Alt string - The SubjectAlt param. String must be one of these:
"email"
.
- subject String
- The Subject param. String must be one of these:
"common-name"
. - subject
Alt String - The SubjectAlt param. String must be one of these:
"email"
.
- subject string
- The Subject param. String must be one of these:
"common-name"
. - subject
Alt string - The SubjectAlt param. String must be one of these:
"email"
.
- subject str
- The Subject param. String must be one of these:
"common-name"
. - subject_
alt str - The SubjectAlt param. String must be one of these:
"email"
.
- subject String
- The Subject param. String must be one of these:
"common-name"
. - subject
Alt String - The SubjectAlt param. String must be one of these:
"email"
.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scm
Terraform Provider.