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

tencentcloud.getSsmServiceStatus

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 service_status

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getSsmServiceStatus({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_ssm_service_status()
    
    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.GetSsmServiceStatus(ctx, &tencentcloud.GetSsmServiceStatusArgs{}, 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.GetSsmServiceStatus.Invoke();
    
    });
    
    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.GetSsmServiceStatusArgs;
    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.getSsmServiceStatus();
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getSsmServiceStatus
          arguments: {}
    

    Using getSsmServiceStatus

    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 getSsmServiceStatus(args: GetSsmServiceStatusArgs, opts?: InvokeOptions): Promise<GetSsmServiceStatusResult>
    function getSsmServiceStatusOutput(args: GetSsmServiceStatusOutputArgs, opts?: InvokeOptions): Output<GetSsmServiceStatusResult>
    def get_ssm_service_status(id: Optional[str] = None,
                               result_output_file: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetSsmServiceStatusResult
    def get_ssm_service_status_output(id: Optional[pulumi.Input[str]] = None,
                               result_output_file: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetSsmServiceStatusResult]
    func GetSsmServiceStatus(ctx *Context, args *GetSsmServiceStatusArgs, opts ...InvokeOption) (*GetSsmServiceStatusResult, error)
    func GetSsmServiceStatusOutput(ctx *Context, args *GetSsmServiceStatusOutputArgs, opts ...InvokeOption) GetSsmServiceStatusResultOutput

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

    public static class GetSsmServiceStatus 
    {
        public static Task<GetSsmServiceStatusResult> InvokeAsync(GetSsmServiceStatusArgs args, InvokeOptions? opts = null)
        public static Output<GetSsmServiceStatusResult> Invoke(GetSsmServiceStatusInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSsmServiceStatusResult> getSsmServiceStatus(GetSsmServiceStatusArgs args, InvokeOptions options)
    public static Output<GetSsmServiceStatusResult> getSsmServiceStatus(GetSsmServiceStatusArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getSsmServiceStatus:getSsmServiceStatus
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ResultOutputFile string
    Used to save results.
    Id string
    ResultOutputFile string
    Used to save results.
    id String
    resultOutputFile String
    Used to save results.
    id string
    resultOutputFile string
    Used to save results.
    id str
    result_output_file str
    Used to save results.
    id String
    resultOutputFile String
    Used to save results.

    getSsmServiceStatus Result

    The following output properties are available:

    AccessKeyEscrowEnabled bool
    True means that the user can already use the key safe hosting function, false means that the user cannot use the key safe hosting function temporarily.
    Id string
    InvalidType double
    Service unavailability type: 0-Not purchased, 1-Normal, 2-Service suspended due to arrears, 3-Resource release.
    ServiceEnabled bool
    True means the service has been activated, false means the service has not been activated yet.
    ResultOutputFile string
    AccessKeyEscrowEnabled bool
    True means that the user can already use the key safe hosting function, false means that the user cannot use the key safe hosting function temporarily.
    Id string
    InvalidType float64
    Service unavailability type: 0-Not purchased, 1-Normal, 2-Service suspended due to arrears, 3-Resource release.
    ServiceEnabled bool
    True means the service has been activated, false means the service has not been activated yet.
    ResultOutputFile string
    accessKeyEscrowEnabled Boolean
    True means that the user can already use the key safe hosting function, false means that the user cannot use the key safe hosting function temporarily.
    id String
    invalidType Double
    Service unavailability type: 0-Not purchased, 1-Normal, 2-Service suspended due to arrears, 3-Resource release.
    serviceEnabled Boolean
    True means the service has been activated, false means the service has not been activated yet.
    resultOutputFile String
    accessKeyEscrowEnabled boolean
    True means that the user can already use the key safe hosting function, false means that the user cannot use the key safe hosting function temporarily.
    id string
    invalidType number
    Service unavailability type: 0-Not purchased, 1-Normal, 2-Service suspended due to arrears, 3-Resource release.
    serviceEnabled boolean
    True means the service has been activated, false means the service has not been activated yet.
    resultOutputFile string
    access_key_escrow_enabled bool
    True means that the user can already use the key safe hosting function, false means that the user cannot use the key safe hosting function temporarily.
    id str
    invalid_type float
    Service unavailability type: 0-Not purchased, 1-Normal, 2-Service suspended due to arrears, 3-Resource release.
    service_enabled bool
    True means the service has been activated, false means the service has not been activated yet.
    result_output_file str
    accessKeyEscrowEnabled Boolean
    True means that the user can already use the key safe hosting function, false means that the user cannot use the key safe hosting function temporarily.
    id String
    invalidType Number
    Service unavailability type: 0-Not purchased, 1-Normal, 2-Service suspended due to arrears, 3-Resource release.
    serviceEnabled Boolean
    True means the service has been activated, false means the service has not been activated yet.
    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