Azure Native

v1.87.0 published on Tuesday, Nov 22, 2022 by Pulumi

getSecret

This type describes a secret resource. API Version: 2018-09-01-preview.

Using getSecret

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 getSecret(args: GetSecretArgs, opts?: InvokeOptions): Promise<GetSecretResult>
function getSecretOutput(args: GetSecretOutputArgs, opts?: InvokeOptions): Output<GetSecretResult>
def get_secret(resource_group_name: Optional[str] = None,
               secret_resource_name: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetSecretResult
def get_secret_output(resource_group_name: Optional[pulumi.Input[str]] = None,
               secret_resource_name: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetSecretResult]
func LookupSecret(ctx *Context, args *LookupSecretArgs, opts ...InvokeOption) (*LookupSecretResult, error)
func LookupSecretOutput(ctx *Context, args *LookupSecretOutputArgs, opts ...InvokeOption) LookupSecretResultOutput

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

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

The following arguments are supported:

ResourceGroupName string

Azure resource group name

SecretResourceName string

The name of the secret resource.

ResourceGroupName string

Azure resource group name

SecretResourceName string

The name of the secret resource.

resourceGroupName String

Azure resource group name

secretResourceName String

The name of the secret resource.

resourceGroupName string

Azure resource group name

secretResourceName string

The name of the secret resource.

resource_group_name str

Azure resource group name

secret_resource_name str

The name of the secret resource.

resourceGroupName String

Azure resource group name

secretResourceName String

The name of the secret resource.

getSecret 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

Properties Pulumi.AzureNative.ServiceFabricMesh.Outputs.SecretResourcePropertiesResponse

Describes the properties of a secret resource.

Type string

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

Tags Dictionary<string, string>

Resource tags.

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

Properties SecretResourcePropertiesResponse

Describes the properties of a secret resource.

Type string

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

Tags map[string]string

Resource tags.

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

properties SecretResourcePropertiesResponse

Describes the properties of a secret resource.

type String

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

tags Map<String,String>

Resource tags.

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

properties SecretResourcePropertiesResponse

Describes the properties of a secret resource.

type string

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

tags {[key: string]: string}

Resource tags.

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

properties SecretResourcePropertiesResponse

Describes the properties of a secret resource.

type str

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

tags Mapping[str, str]

Resource tags.

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

properties Property Map

Describes the properties of a secret resource.

type String

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

tags Map<String>

Resource tags.

Supporting Types

SecretResourcePropertiesResponse

ProvisioningState string

State of the resource.

Status string

Status of the resource.

StatusDetails string

Gives additional information about the current status of the secret.

ContentType string

The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.

Description string

User readable description of the secret.

ProvisioningState string

State of the resource.

Status string

Status of the resource.

StatusDetails string

Gives additional information about the current status of the secret.

ContentType string

The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.

Description string

User readable description of the secret.

provisioningState String

State of the resource.

status String

Status of the resource.

statusDetails String

Gives additional information about the current status of the secret.

contentType String

The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.

description String

User readable description of the secret.

provisioningState string

State of the resource.

status string

Status of the resource.

statusDetails string

Gives additional information about the current status of the secret.

contentType string

The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.

description string

User readable description of the secret.

provisioning_state str

State of the resource.

status str

Status of the resource.

status_details str

Gives additional information about the current status of the secret.

content_type str

The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.

description str

User readable description of the secret.

provisioningState String

State of the resource.

status String

Status of the resource.

statusDetails String

Gives additional information about the current status of the secret.

contentType String

The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.

description String

User readable description of the secret.

Package Details

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