Fork me on GitHub

Module recoveryservices

@pulumi/azure > recoveryservices

Index

recoveryservices/getVault.ts recoveryservices/vault.ts

class Vault

Manage an Recovery Services Vault.

constructor

new Vault(name: string, args: VaultArgs, opts?: pulumi.CustomResourceOptions)

Create a Vault resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VaultState): Vault

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property location

public location: pulumi.Output<string>;

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

property name

public name: pulumi.Output<string>;

Specifies the name of the Recovery Services Vault. Changing this forces a new resource to be created.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.

property sku

public sku: pulumi.Output<string>;

Sets the vault’s SKU. Possible values include: Standard, RS0.

property tags

public tags: pulumi.Output<{ ... }>;

A mapping of tags to assign to the resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

function getVault

getVault(args: GetVaultArgs, opts?: pulumi.InvokeOptions): Promise<GetVaultResult>

Use this data source to access the properties of a Recovery Services Vault.

interface GetVaultArgs

A collection of arguments for invoking getVault.

property name

name: string;

Specifies the name of the Recovery Services Vault.

property resourceGroupName

resourceGroupName: string;

The name of the resource group in which the Recovery Services Vault resides.

interface GetVaultResult

A collection of values returned by getVault.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property location

location: string;

The Azure location where the resource resides.

property sku

sku: string;

The vault’s current SKU.

property tags

tags: { ... };

A mapping of tags assigned to the resource.

interface VaultArgs

The set of arguments for constructing a Vault resource.

property location

location: pulumi.Input<string>;

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

property name

name?: pulumi.Input<string>;

Specifies the name of the Recovery Services Vault. Changing this forces a new resource to be created.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.

property sku

sku: pulumi.Input<string>;

Sets the vault’s SKU. Possible values include: Standard, RS0.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

interface VaultState

Input properties used for looking up and filtering Vault resources.

property location

location?: pulumi.Input<string>;

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

property name

name?: pulumi.Input<string>;

Specifies the name of the Recovery Services Vault. Changing this forces a new resource to be created.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.

property sku

sku?: pulumi.Input<string>;

Sets the vault’s SKU. Possible values include: Standard, RS0.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.