tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getSsmRotationHistory
Start a Neo task
Explain and create a tencentcloud.getSsmRotationHistory resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of ssm rotation_history
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getSsmRotationHistory({
secretName: "keep_terraform",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_ssm_rotation_history(secret_name="keep_terraform")
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.GetSsmRotationHistory(ctx, &tencentcloud.GetSsmRotationHistoryArgs{
SecretName: "keep_terraform",
}, 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.GetSsmRotationHistory.Invoke(new()
{
SecretName = "keep_terraform",
});
});
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.GetSsmRotationHistoryArgs;
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.getSsmRotationHistory(GetSsmRotationHistoryArgs.builder()
.secretName("keep_terraform")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getSsmRotationHistory
arguments:
secretName: keep_terraform
Using getSsmRotationHistory
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 getSsmRotationHistory(args: GetSsmRotationHistoryArgs, opts?: InvokeOptions): Promise<GetSsmRotationHistoryResult>
function getSsmRotationHistoryOutput(args: GetSsmRotationHistoryOutputArgs, opts?: InvokeOptions): Output<GetSsmRotationHistoryResult>def get_ssm_rotation_history(id: Optional[str] = None,
result_output_file: Optional[str] = None,
secret_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSsmRotationHistoryResult
def get_ssm_rotation_history_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[GetSsmRotationHistoryResult]func GetSsmRotationHistory(ctx *Context, args *GetSsmRotationHistoryArgs, opts ...InvokeOption) (*GetSsmRotationHistoryResult, error)
func GetSsmRotationHistoryOutput(ctx *Context, args *GetSsmRotationHistoryOutputArgs, opts ...InvokeOption) GetSsmRotationHistoryResultOutput> Note: This function is named GetSsmRotationHistory in the Go SDK.
public static class GetSsmRotationHistory
{
public static Task<GetSsmRotationHistoryResult> InvokeAsync(GetSsmRotationHistoryArgs args, InvokeOptions? opts = null)
public static Output<GetSsmRotationHistoryResult> Invoke(GetSsmRotationHistoryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSsmRotationHistoryResult> getSsmRotationHistory(GetSsmRotationHistoryArgs args, InvokeOptions options)
public static Output<GetSsmRotationHistoryResult> getSsmRotationHistory(GetSsmRotationHistoryArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getSsmRotationHistory:getSsmRotationHistory
arguments:
# arguments dictionaryThe following arguments are supported:
- Secret
Name string - Secret name.
- Id string
- Result
Output stringFile - Used to save results.
- Secret
Name string - Secret name.
- Id string
- Result
Output stringFile - Used to save results.
- secret
Name String - Secret name.
- id String
- result
Output StringFile - Used to save results.
- secret
Name string - Secret name.
- id string
- result
Output stringFile - Used to save results.
- secret_
name str - Secret name.
- id str
- result_
output_ strfile - Used to save results.
- secret
Name String - Secret name.
- id String
- result
Output StringFile - Used to save results.
getSsmRotationHistory Result
The following output properties are available:
- Id string
- Secret
Name string - Version
Ids List<string> - The number of version numbers. The maximum number of version numbers that can be displayed to users is 10.
- Result
Output stringFile
- Id string
- Secret
Name string - Version
Ids []string - The number of version numbers. The maximum number of version numbers that can be displayed to users is 10.
- Result
Output stringFile
- id String
- secret
Name String - version
Ids List<String> - The number of version numbers. The maximum number of version numbers that can be displayed to users is 10.
- result
Output StringFile
- id string
- secret
Name string - version
Ids string[] - The number of version numbers. The maximum number of version numbers that can be displayed to users is 10.
- result
Output stringFile
- id str
- secret_
name str - version_
ids Sequence[str] - The number of version numbers. The maximum number of version numbers that can be displayed to users is 10.
- result_
output_ strfile
- id String
- secret
Name String - version
Ids List<String> - The number of version numbers. The maximum number of version numbers that can be displayed to users is 10.
- result
Output StringFile
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
