Azure Native

v1.88.1 published on Thursday, Dec 1, 2022 by Pulumi

getSecretValue

This type describes a value of a secret resource. The name of this resource is the version identifier corresponding to this secret value. API Version: 2018-09-01-preview.

Using getSecretValue

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 getSecretValue(args: GetSecretValueArgs, opts?: InvokeOptions): Promise<GetSecretValueResult>
function getSecretValueOutput(args: GetSecretValueOutputArgs, opts?: InvokeOptions): Output<GetSecretValueResult>
def get_secret_value(resource_group_name: Optional[str] = None,
                     secret_resource_name: Optional[str] = None,
                     secret_value_resource_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetSecretValueResult
def get_secret_value_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                     secret_resource_name: Optional[pulumi.Input[str]] = None,
                     secret_value_resource_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetSecretValueResult]
func LookupSecretValue(ctx *Context, args *LookupSecretValueArgs, opts ...InvokeOption) (*LookupSecretValueResult, error)
func LookupSecretValueOutput(ctx *Context, args *LookupSecretValueOutputArgs, opts ...InvokeOption) LookupSecretValueResultOutput

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

public static class GetSecretValue 
{
    public static Task<GetSecretValueResult> InvokeAsync(GetSecretValueArgs args, InvokeOptions? opts = null)
    public static Output<GetSecretValueResult> Invoke(GetSecretValueInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSecretValueResult> getSecretValue(GetSecretValueArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: azure-native:servicefabricmesh:getSecretValue
  arguments:
    # arguments dictionary

The following arguments are supported:

ResourceGroupName string

Azure resource group name

SecretResourceName string

The name of the secret resource.

SecretValueResourceName string

The name of the secret resource value which is typically the version identifier for the value.

ResourceGroupName string

Azure resource group name

SecretResourceName string

The name of the secret resource.

SecretValueResourceName string

The name of the secret resource value which is typically the version identifier for the value.

resourceGroupName String

Azure resource group name

secretResourceName String

The name of the secret resource.

secretValueResourceName String

The name of the secret resource value which is typically the version identifier for the value.

resourceGroupName string

Azure resource group name

secretResourceName string

The name of the secret resource.

secretValueResourceName string

The name of the secret resource value which is typically the version identifier for the value.

resource_group_name str

Azure resource group name

secret_resource_name str

The name of the secret resource.

secret_value_resource_name str

The name of the secret resource value which is typically the version identifier for the value.

resourceGroupName String

Azure resource group name

secretResourceName String

The name of the secret resource.

secretValueResourceName String

The name of the secret resource value which is typically the version identifier for the value.

getSecretValue Result

The following output properties are available:

Id string

Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Location string

The geo-location where the resource lives

Name string

The name of the resource

ProvisioningState string

State of the resource.

Type string

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

Tags Dictionary<string, string>

Resource tags.

Value string

The actual value of the secret.

Id string

Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Location string

The geo-location where the resource lives

Name string

The name of the resource

ProvisioningState string

State of the resource.

Type string

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

Tags map[string]string

Resource tags.

Value string

The actual value of the secret.

id String

Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location String

The geo-location where the resource lives

name String

The name of the resource

provisioningState String

State of the resource.

type String

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

tags Map<String,String>

Resource tags.

value String

The actual value of the secret.

id string

Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location string

The geo-location where the resource lives

name string

The name of the resource

provisioningState string

State of the resource.

type string

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

tags {[key: string]: string}

Resource tags.

value string

The actual value of the secret.

id str

Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location str

The geo-location where the resource lives

name str

The name of the resource

provisioning_state str

State of the resource.

type str

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

tags Mapping[str, str]

Resource tags.

value str

The actual value of the secret.

id String

Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location String

The geo-location where the resource lives

name String

The name of the resource

provisioningState String

State of the resource.

type String

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

tags Map<String>

Resource tags.

value String

The actual value of the secret.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0