Show / Hide Table of Contents

Class PolicyFileShare

Manages an Azure File Share Backup Policy within a Recovery Services vault.

NOTE: Azure Backup for Azure File Shares is currently in public preview. During the preview, the service is subject to additional limitations and unsupported backup scenarios. Read More

Inheritance
System.Object
Resource
CustomResource
PolicyFileShare
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Backup
Assembly: Pulumi.Azure.dll
Syntax
public class PolicyFileShare : CustomResource

Constructors

View Source

PolicyFileShare(String, PolicyFileShareArgs, CustomResourceOptions)

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

Declaration
public PolicyFileShare(string name, PolicyFileShareArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

PolicyFileShareArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Backup

Configures the Policy backup frequency and times as documented in the backup block below.

Declaration
public Output<PolicyFileShareBackup> Backup { get; }
Property Value
Type Description
Output<PolicyFileShareBackup>
View Source

Name

Specifies the name of the policy. Changing this forces a new resource to be created.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

RecoveryVaultName

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

Declaration
public Output<string> RecoveryVaultName { get; }
Property Value
Type Description
Output<System.String>
View Source

ResourceGroupName

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

Declaration
public Output<string> ResourceGroupName { get; }
Property Value
Type Description
Output<System.String>
View Source

RetentionDaily

Configures the policy daily retention as documented in the retention_daily block below.

Declaration
public Output<PolicyFileShareRetentionDaily> RetentionDaily { get; }
Property Value
Type Description
Output<PolicyFileShareRetentionDaily>
View Source

Timezone

Specifies the timezone. Defaults to UTC

Declaration
public Output<string> Timezone { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, PolicyFileShareState, CustomResourceOptions)

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

Declaration
public static PolicyFileShare Get(string name, Input<string> id, PolicyFileShareState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

PolicyFileShareState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
PolicyFileShare
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.