1. Packages
  2. Alicloud Provider
  3. API Docs
  4. oos
  5. getSecretParameters
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

alicloud.oos.getSecretParameters

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

    This data source provides the Oos Secret Parameters of the current Alibaba Cloud user.

    NOTE: Available in v1.147.0+.

    Using getSecretParameters

    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 getSecretParameters(args: GetSecretParametersArgs, opts?: InvokeOptions): Promise<GetSecretParametersResult>
    function getSecretParametersOutput(args: GetSecretParametersOutputArgs, opts?: InvokeOptions): Output<GetSecretParametersResult>
    def get_secret_parameters(enable_details: Optional[bool] = None,
                              ids: Optional[Sequence[str]] = None,
                              name_regex: Optional[str] = None,
                              output_file: Optional[str] = None,
                              resource_group_id: Optional[str] = None,
                              secret_parameter_name: Optional[str] = None,
                              sort_field: Optional[str] = None,
                              sort_order: Optional[str] = None,
                              tags: Optional[Mapping[str, str]] = None,
                              opts: Optional[InvokeOptions] = None) -> GetSecretParametersResult
    def get_secret_parameters_output(enable_details: Optional[pulumi.Input[bool]] = None,
                              ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                              name_regex: Optional[pulumi.Input[str]] = None,
                              output_file: Optional[pulumi.Input[str]] = None,
                              resource_group_id: Optional[pulumi.Input[str]] = None,
                              secret_parameter_name: Optional[pulumi.Input[str]] = None,
                              sort_field: Optional[pulumi.Input[str]] = None,
                              sort_order: Optional[pulumi.Input[str]] = None,
                              tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetSecretParametersResult]
    func GetSecretParameters(ctx *Context, args *GetSecretParametersArgs, opts ...InvokeOption) (*GetSecretParametersResult, error)
    func GetSecretParametersOutput(ctx *Context, args *GetSecretParametersOutputArgs, opts ...InvokeOption) GetSecretParametersResultOutput

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

    public static class GetSecretParameters 
    {
        public static Task<GetSecretParametersResult> InvokeAsync(GetSecretParametersArgs args, InvokeOptions? opts = null)
        public static Output<GetSecretParametersResult> Invoke(GetSecretParametersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecretParametersResult> getSecretParameters(GetSecretParametersArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:oos/getSecretParameters:getSecretParameters
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EnableDetails bool
    Default to false. Set it to true can output more details about resource attributes.
    Ids List<string>
    A list of Secret Parameter IDs.
    NameRegex string
    A regex string to filter results by Secret Parameter name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    ResourceGroupId string
    The ID of the Resource Group.
    SecretParameterName string
    The name of the secret parameter.
    SortField string
    SortOrder string
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    EnableDetails bool
    Default to false. Set it to true can output more details about resource attributes.
    Ids []string
    A list of Secret Parameter IDs.
    NameRegex string
    A regex string to filter results by Secret Parameter name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    ResourceGroupId string
    The ID of the Resource Group.
    SecretParameterName string
    The name of the secret parameter.
    SortField string
    SortOrder string
    Tags map[string]string
    A mapping of tags to assign to the resource.
    enableDetails Boolean
    Default to false. Set it to true can output more details about resource attributes.
    ids List<String>
    A list of Secret Parameter IDs.
    nameRegex String
    A regex string to filter results by Secret Parameter name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    resourceGroupId String
    The ID of the Resource Group.
    secretParameterName String
    The name of the secret parameter.
    sortField String
    sortOrder String
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    enableDetails boolean
    Default to false. Set it to true can output more details about resource attributes.
    ids string[]
    A list of Secret Parameter IDs.
    nameRegex string
    A regex string to filter results by Secret Parameter name.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    resourceGroupId string
    The ID of the Resource Group.
    secretParameterName string
    The name of the secret parameter.
    sortField string
    sortOrder string
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    enable_details bool
    Default to false. Set it to true can output more details about resource attributes.
    ids Sequence[str]
    A list of Secret Parameter IDs.
    name_regex str
    A regex string to filter results by Secret Parameter name.
    output_file str
    File name where to save data source results (after running pulumi preview).
    resource_group_id str
    The ID of the Resource Group.
    secret_parameter_name str
    The name of the secret parameter.
    sort_field str
    sort_order str
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    enableDetails Boolean
    Default to false. Set it to true can output more details about resource attributes.
    ids List<String>
    A list of Secret Parameter IDs.
    nameRegex String
    A regex string to filter results by Secret Parameter name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    resourceGroupId String
    The ID of the Resource Group.
    secretParameterName String
    The name of the secret parameter.
    sortField String
    sortOrder String
    tags Map<String>
    A mapping of tags to assign to the resource.

    getSecretParameters Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    Names List<string>
    Parameters List<Pulumi.AliCloud.Oos.Outputs.GetSecretParametersParameter>
    EnableDetails bool
    NameRegex string
    OutputFile string
    ResourceGroupId string
    SecretParameterName string
    SortField string
    SortOrder string
    Tags Dictionary<string, string>
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Names []string
    Parameters []GetSecretParametersParameter
    EnableDetails bool
    NameRegex string
    OutputFile string
    ResourceGroupId string
    SecretParameterName string
    SortField string
    SortOrder string
    Tags map[string]string
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    parameters List<GetSecretParametersParameter>
    enableDetails Boolean
    nameRegex String
    outputFile String
    resourceGroupId String
    secretParameterName String
    sortField String
    sortOrder String
    tags Map<String,String>
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    names string[]
    parameters GetSecretParametersParameter[]
    enableDetails boolean
    nameRegex string
    outputFile string
    resourceGroupId string
    secretParameterName string
    sortField string
    sortOrder string
    tags {[key: string]: string}
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    names Sequence[str]
    parameters Sequence[GetSecretParametersParameter]
    enable_details bool
    name_regex str
    output_file str
    resource_group_id str
    secret_parameter_name str
    sort_field str
    sort_order str
    tags Mapping[str, str]
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    parameters List<Property Map>
    enableDetails Boolean
    nameRegex String
    outputFile String
    resourceGroupId String
    secretParameterName String
    sortField String
    sortOrder String
    tags Map<String>

    Supporting Types

    GetSecretParametersParameter

    Constraints string
    The constraints of the encryption parameter.
    CreateTime string
    The time when the encryption parameter was created.
    CreatedBy string
    The user who created the encryption parameter.
    Description string
    The description of the encryption parameter.
    Id string
    The ID of the Secret Parameter.
    KeyId string
    KeyId of KMS used for encryption.
    ParameterVersion int
    The version number of the encryption parameter.
    ResourceGroupId string
    The ID of the Resource Group.
    SecretParameterId string
    The ID of the encryption parameter.
    SecretParameterName string
    The name of the encryption parameter.
    ShareType string
    The share type of the encryption parameter.
    Tags Dictionary<string, string>
    The tag of the resource.
    Type string
    The data type of the encryption parameter.
    UpdatedBy string
    The user who updated the encryption parameter.
    UpdatedDate string
    The time when the encryption parameter was updated.
    Constraints string
    The constraints of the encryption parameter.
    CreateTime string
    The time when the encryption parameter was created.
    CreatedBy string
    The user who created the encryption parameter.
    Description string
    The description of the encryption parameter.
    Id string
    The ID of the Secret Parameter.
    KeyId string
    KeyId of KMS used for encryption.
    ParameterVersion int
    The version number of the encryption parameter.
    ResourceGroupId string
    The ID of the Resource Group.
    SecretParameterId string
    The ID of the encryption parameter.
    SecretParameterName string
    The name of the encryption parameter.
    ShareType string
    The share type of the encryption parameter.
    Tags map[string]string
    The tag of the resource.
    Type string
    The data type of the encryption parameter.
    UpdatedBy string
    The user who updated the encryption parameter.
    UpdatedDate string
    The time when the encryption parameter was updated.
    constraints String
    The constraints of the encryption parameter.
    createTime String
    The time when the encryption parameter was created.
    createdBy String
    The user who created the encryption parameter.
    description String
    The description of the encryption parameter.
    id String
    The ID of the Secret Parameter.
    keyId String
    KeyId of KMS used for encryption.
    parameterVersion Integer
    The version number of the encryption parameter.
    resourceGroupId String
    The ID of the Resource Group.
    secretParameterId String
    The ID of the encryption parameter.
    secretParameterName String
    The name of the encryption parameter.
    shareType String
    The share type of the encryption parameter.
    tags Map<String,String>
    The tag of the resource.
    type String
    The data type of the encryption parameter.
    updatedBy String
    The user who updated the encryption parameter.
    updatedDate String
    The time when the encryption parameter was updated.
    constraints string
    The constraints of the encryption parameter.
    createTime string
    The time when the encryption parameter was created.
    createdBy string
    The user who created the encryption parameter.
    description string
    The description of the encryption parameter.
    id string
    The ID of the Secret Parameter.
    keyId string
    KeyId of KMS used for encryption.
    parameterVersion number
    The version number of the encryption parameter.
    resourceGroupId string
    The ID of the Resource Group.
    secretParameterId string
    The ID of the encryption parameter.
    secretParameterName string
    The name of the encryption parameter.
    shareType string
    The share type of the encryption parameter.
    tags {[key: string]: string}
    The tag of the resource.
    type string
    The data type of the encryption parameter.
    updatedBy string
    The user who updated the encryption parameter.
    updatedDate string
    The time when the encryption parameter was updated.
    constraints str
    The constraints of the encryption parameter.
    create_time str
    The time when the encryption parameter was created.
    created_by str
    The user who created the encryption parameter.
    description str
    The description of the encryption parameter.
    id str
    The ID of the Secret Parameter.
    key_id str
    KeyId of KMS used for encryption.
    parameter_version int
    The version number of the encryption parameter.
    resource_group_id str
    The ID of the Resource Group.
    secret_parameter_id str
    The ID of the encryption parameter.
    secret_parameter_name str
    The name of the encryption parameter.
    share_type str
    The share type of the encryption parameter.
    tags Mapping[str, str]
    The tag of the resource.
    type str
    The data type of the encryption parameter.
    updated_by str
    The user who updated the encryption parameter.
    updated_date str
    The time when the encryption parameter was updated.
    constraints String
    The constraints of the encryption parameter.
    createTime String
    The time when the encryption parameter was created.
    createdBy String
    The user who created the encryption parameter.
    description String
    The description of the encryption parameter.
    id String
    The ID of the Secret Parameter.
    keyId String
    KeyId of KMS used for encryption.
    parameterVersion Number
    The version number of the encryption parameter.
    resourceGroupId String
    The ID of the Resource Group.
    secretParameterId String
    The ID of the encryption parameter.
    secretParameterName String
    The name of the encryption parameter.
    shareType String
    The share type of the encryption parameter.
    tags Map<String>
    The tag of the resource.
    type String
    The data type of the encryption parameter.
    updatedBy String
    The user who updated the encryption parameter.
    updatedDate String
    The time when the encryption parameter was updated.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi