1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getSsmRotationDetail
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getSsmRotationDetail

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of ssm rotation_detail

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getSsmRotationDetail({
        secretName: "tf_example",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_ssm_rotation_detail(secret_name="tf_example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetSsmRotationDetail(ctx, &tencentcloud.GetSsmRotationDetailArgs{
    			SecretName: "tf_example",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetSsmRotationDetail.Invoke(new()
        {
            SecretName = "tf_example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetSsmRotationDetailArgs;
    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 = TencentcloudFunctions.getSsmRotationDetail(GetSsmRotationDetailArgs.builder()
                .secretName("tf_example")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getSsmRotationDetail
          arguments:
            secretName: tf_example
    

    Using getSsmRotationDetail

    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 getSsmRotationDetail(args: GetSsmRotationDetailArgs, opts?: InvokeOptions): Promise<GetSsmRotationDetailResult>
    function getSsmRotationDetailOutput(args: GetSsmRotationDetailOutputArgs, opts?: InvokeOptions): Output<GetSsmRotationDetailResult>
    def get_ssm_rotation_detail(id: Optional[str] = None,
                                result_output_file: Optional[str] = None,
                                secret_name: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetSsmRotationDetailResult
    def get_ssm_rotation_detail_output(id: Optional[pulumi.Input[str]] = None,
                                result_output_file: Optional[pulumi.Input[str]] = None,
                                secret_name: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetSsmRotationDetailResult]
    func GetSsmRotationDetail(ctx *Context, args *GetSsmRotationDetailArgs, opts ...InvokeOption) (*GetSsmRotationDetailResult, error)
    func GetSsmRotationDetailOutput(ctx *Context, args *GetSsmRotationDetailOutputArgs, opts ...InvokeOption) GetSsmRotationDetailResultOutput

    > Note: This function is named GetSsmRotationDetail in the Go SDK.

    public static class GetSsmRotationDetail 
    {
        public static Task<GetSsmRotationDetailResult> InvokeAsync(GetSsmRotationDetailArgs args, InvokeOptions? opts = null)
        public static Output<GetSsmRotationDetailResult> Invoke(GetSsmRotationDetailInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSsmRotationDetailResult> getSsmRotationDetail(GetSsmRotationDetailArgs args, InvokeOptions options)
    public static Output<GetSsmRotationDetailResult> getSsmRotationDetail(GetSsmRotationDetailArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getSsmRotationDetail:getSsmRotationDetail
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SecretName string
    Secret name.
    Id string
    ResultOutputFile string
    Used to save results.
    SecretName string
    Secret name.
    Id string
    ResultOutputFile string
    Used to save results.
    secretName String
    Secret name.
    id String
    resultOutputFile String
    Used to save results.
    secretName string
    Secret name.
    id string
    resultOutputFile string
    Used to save results.
    secret_name str
    Secret name.
    id str
    result_output_file str
    Used to save results.
    secretName String
    Secret name.
    id String
    resultOutputFile String
    Used to save results.

    getSsmRotationDetail Result

    The following output properties are available:

    EnableRotation bool
    Whether to allow rotation.
    Frequency double
    The rotation frequency, in days, defaults to 1 day.
    Id string
    LatestRotateTime string
    Time of last rotation.
    NextRotateBeginTime string
    The time to start the next rotation.
    SecretName string
    ResultOutputFile string
    EnableRotation bool
    Whether to allow rotation.
    Frequency float64
    The rotation frequency, in days, defaults to 1 day.
    Id string
    LatestRotateTime string
    Time of last rotation.
    NextRotateBeginTime string
    The time to start the next rotation.
    SecretName string
    ResultOutputFile string
    enableRotation Boolean
    Whether to allow rotation.
    frequency Double
    The rotation frequency, in days, defaults to 1 day.
    id String
    latestRotateTime String
    Time of last rotation.
    nextRotateBeginTime String
    The time to start the next rotation.
    secretName String
    resultOutputFile String
    enableRotation boolean
    Whether to allow rotation.
    frequency number
    The rotation frequency, in days, defaults to 1 day.
    id string
    latestRotateTime string
    Time of last rotation.
    nextRotateBeginTime string
    The time to start the next rotation.
    secretName string
    resultOutputFile string
    enable_rotation bool
    Whether to allow rotation.
    frequency float
    The rotation frequency, in days, defaults to 1 day.
    id str
    latest_rotate_time str
    Time of last rotation.
    next_rotate_begin_time str
    The time to start the next rotation.
    secret_name str
    result_output_file str
    enableRotation Boolean
    Whether to allow rotation.
    frequency Number
    The rotation frequency, in days, defaults to 1 day.
    id String
    latestRotateTime String
    Time of last rotation.
    nextRotateBeginTime String
    The time to start the next rotation.
    secretName String
    resultOutputFile String

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack