Backend

Create a Backend Resource

new Backend(name: string, args: BackendArgs, opts?: CustomResourceOptions);
@overload
def Backend(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            client_id: Optional[str] = None,
            client_secret: Optional[str] = None,
            description: Optional[str] = None,
            environment: Optional[str] = None,
            path: Optional[str] = None,
            subscription_id: Optional[str] = None,
            tenant_id: Optional[str] = None)
@overload
def Backend(resource_name: str,
            args: BackendArgs,
            opts: Optional[ResourceOptions] = None)
func NewBackend(ctx *Context, name string, args BackendArgs, opts ...ResourceOption) (*Backend, error)
public Backend(string name, BackendArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args BackendArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args BackendArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args BackendArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BackendArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Backend Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Backend resource accepts the following input properties:

SubscriptionId string
  • The subscription id for the Azure Active Directory.
TenantId string
  • The tenant id for the Azure Active Directory.
ClientId string
  • The OAuth2 client id to connect to Azure.
ClientSecret string
  • The OAuth2 client secret to connect to Azure.
Description string
Human-friendly description of the mount for the backend.
Environment string
  • The Azure environment.
Path string
  • The unique path this backend should be mounted at. Defaults to azure.
SubscriptionId string
  • The subscription id for the Azure Active Directory.
TenantId string
  • The tenant id for the Azure Active Directory.
ClientId string
  • The OAuth2 client id to connect to Azure.
ClientSecret string
  • The OAuth2 client secret to connect to Azure.
Description string
Human-friendly description of the mount for the backend.
Environment string
  • The Azure environment.
Path string
  • The unique path this backend should be mounted at. Defaults to azure.
subscriptionId string
  • The subscription id for the Azure Active Directory.
tenantId string
  • The tenant id for the Azure Active Directory.
clientId string
  • The OAuth2 client id to connect to Azure.
clientSecret string
  • The OAuth2 client secret to connect to Azure.
description string
Human-friendly description of the mount for the backend.
environment string
  • The Azure environment.
path string
  • The unique path this backend should be mounted at. Defaults to azure.
subscription_id str
  • The subscription id for the Azure Active Directory.
tenant_id str
  • The tenant id for the Azure Active Directory.
client_id str
  • The OAuth2 client id to connect to Azure.
client_secret str
  • The OAuth2 client secret to connect to Azure.
description str
Human-friendly description of the mount for the backend.
environment str
  • The Azure environment.
path str
  • The unique path this backend should be mounted at. Defaults to azure.

Outputs

All input properties are implicitly available as output properties. Additionally, the Backend resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Backend Resource

Get an existing Backend resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: BackendState, opts?: CustomResourceOptions): Backend
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        client_id: Optional[str] = None,
        client_secret: Optional[str] = None,
        description: Optional[str] = None,
        environment: Optional[str] = None,
        path: Optional[str] = None,
        subscription_id: Optional[str] = None,
        tenant_id: Optional[str] = None) -> Backend
func GetBackend(ctx *Context, name string, id IDInput, state *BackendState, opts ...ResourceOption) (*Backend, error)
public static Backend Get(string name, Input<string> id, BackendState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

ClientId string
  • The OAuth2 client id to connect to Azure.
ClientSecret string
  • The OAuth2 client secret to connect to Azure.
Description string
Human-friendly description of the mount for the backend.
Environment string
  • The Azure environment.
Path string
  • The unique path this backend should be mounted at. Defaults to azure.
SubscriptionId string
  • The subscription id for the Azure Active Directory.
TenantId string
  • The tenant id for the Azure Active Directory.
ClientId string
  • The OAuth2 client id to connect to Azure.
ClientSecret string
  • The OAuth2 client secret to connect to Azure.
Description string
Human-friendly description of the mount for the backend.
Environment string
  • The Azure environment.
Path string
  • The unique path this backend should be mounted at. Defaults to azure.
SubscriptionId string
  • The subscription id for the Azure Active Directory.
TenantId string
  • The tenant id for the Azure Active Directory.
clientId string
  • The OAuth2 client id to connect to Azure.
clientSecret string
  • The OAuth2 client secret to connect to Azure.
description string
Human-friendly description of the mount for the backend.
environment string
  • The Azure environment.
path string
  • The unique path this backend should be mounted at. Defaults to azure.
subscriptionId string
  • The subscription id for the Azure Active Directory.
tenantId string
  • The tenant id for the Azure Active Directory.
client_id str
  • The OAuth2 client id to connect to Azure.
client_secret str
  • The OAuth2 client secret to connect to Azure.
description str
Human-friendly description of the mount for the backend.
environment str
  • The Azure environment.
path str
  • The unique path this backend should be mounted at. Defaults to azure.
subscription_id str
  • The subscription id for the Azure Active Directory.
tenant_id str
  • The tenant id for the Azure Active Directory.

Package Details

Repository
https://github.com/pulumi/pulumi-vault
License
Apache-2.0
Notes
This Pulumi package is based on the vault Terraform Provider.