This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.servicefabricmesh.getSecretValue
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
Get the information about the specified named secret value resources. The information does not include the actual value of the secret. Azure REST 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:
- Resource
Group stringName - Azure resource group name
- Secret
Resource stringName - The name of the secret resource.
- Secret
Value stringResource Name - The name of the secret resource value which is typically the version identifier for the value.
- Resource
Group stringName - Azure resource group name
- Secret
Resource stringName - The name of the secret resource.
- Secret
Value stringResource Name - The name of the secret resource value which is typically the version identifier for the value.
- resource
Group StringName - Azure resource group name
- secret
Resource StringName - The name of the secret resource.
- secret
Value StringResource Name - The name of the secret resource value which is typically the version identifier for the value.
- resource
Group stringName - Azure resource group name
- secret
Resource stringName - The name of the secret resource.
- secret
Value stringResource Name - The name of the secret resource value which is typically the version identifier for the value.
- resource_
group_ strname - Azure resource group name
- secret_
resource_ strname - The name of the secret resource.
- secret_
value_ strresource_ name - The name of the secret resource value which is typically the version identifier for the value.
- resource
Group StringName - Azure resource group name
- secret
Resource StringName - The name of the secret resource.
- secret
Value StringResource Name - 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
- Provisioning
State string - State of the resource.
- Type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- 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
- Provisioning
State string - State of the resource.
- Type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- 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
- provisioning
State String - State of the resource.
- type String
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- 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
- provisioning
State string - State of the resource.
- type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- {[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.
- 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
- provisioning
State String - State of the resource.
- type String
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Map<String>
- Resource tags.
- value String
- The actual value of the secret.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi