These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.servicefabricmesh.getSecret
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets the information about the secret resource with the given name. The information include the description and other properties of the secret. 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:
- Resource
Group stringName - Azure resource group name
- Secret
Resource stringName - The name of the secret resource.
- Resource
Group stringName - Azure resource group name
- Secret
Resource stringName - The name of the secret resource.
- resource
Group StringName - Azure resource group name
- secret
Resource StringName - The name of the secret resource.
- resource
Group stringName - Azure resource group name
- secret
Resource stringName - The name of the secret resource.
- resource_
group_ strname - Azure resource group name
- secret_
resource_ strname - The name of the secret resource.
- resource
Group StringName - Azure resource group name
- secret
Resource StringName - 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.
Azure Native. Service Fabric Mesh. Outputs. Secret Resource Properties Response - Describes the properties of a secret resource.
- Type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- 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
Secret
Resource Properties Response - Describes the properties of a secret resource.
- Type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- 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
Secret
Resource Properties Response - Describes the properties of a secret resource.
- type String
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- 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
Secret
Resource Properties Response - Describes the properties of a secret resource.
- type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- {[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
Secret
Resource Properties Response - Describes the properties of a secret resource.
- type str
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- 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.
- Map<String>
- Resource tags.
Supporting Types
SecretResourcePropertiesResponse
- Provisioning
State string - State of the resource.
- Status string
- Status of the resource.
- Status
Details string - Gives additional information about the current status of the secret.
- Content
Type 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 string - State of the resource.
- Status string
- Status of the resource.
- Status
Details string - Gives additional information about the current status of the secret.
- Content
Type 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 String - State of the resource.
- status String
- Status of the resource.
- status
Details String - Gives additional information about the current status of the secret.
- content
Type 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 string - State of the resource.
- status string
- Status of the resource.
- status
Details string - Gives additional information about the current status of the secret.
- content
Type 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.
- provisioning
State String - State of the resource.
- status String
- Status of the resource.
- status
Details String - Gives additional information about the current status of the secret.
- content
Type 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
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi