1. Packages
  2. Packages
  3. Power Platform
  4. API Docs
  5. EnvironmentBackup
Viewing docs for Power Platform v0.3.3
published on Monday, May 18, 2026 by rpothin
powerplatform logo
Viewing docs for Power Platform v0.3.3
published on Monday, May 18, 2026 by rpothin

    Creates a manual backup of a Power Platform environment. Backups are immutable — any change to inputs triggers replacement.

    Create EnvironmentBackup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EnvironmentBackup(name: string, args: EnvironmentBackupArgs, opts?: CustomResourceOptions);
    @overload
    def EnvironmentBackup(resource_name: str,
                          args: EnvironmentBackupArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def EnvironmentBackup(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          environment_id: Optional[str] = None,
                          label: Optional[str] = None)
    func NewEnvironmentBackup(ctx *Context, name string, args EnvironmentBackupArgs, opts ...ResourceOption) (*EnvironmentBackup, error)
    public EnvironmentBackup(string name, EnvironmentBackupArgs args, CustomResourceOptions? opts = null)
    public EnvironmentBackup(String name, EnvironmentBackupArgs args)
    public EnvironmentBackup(String name, EnvironmentBackupArgs args, CustomResourceOptions options)
    
    type: powerplatform:EnvironmentBackup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "powerplatform_environmentbackup" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args EnvironmentBackupArgs
    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 EnvironmentBackupArgs
    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 EnvironmentBackupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnvironmentBackupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnvironmentBackupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var environmentBackupResource = new Powerplatform.EnvironmentBackup("environmentBackupResource", new()
    {
        EnvironmentId = "string",
        Label = "string",
    });
    
    example, err := powerplatform.NewEnvironmentBackup(ctx, "environmentBackupResource", &powerplatform.EnvironmentBackupArgs{
    	EnvironmentId: pulumi.String("string"),
    	Label:         pulumi.String("string"),
    })
    
    resource "powerplatform_environmentbackup" "environmentBackupResource" {
      environment_id = "string"
      label          = "string"
    }
    
    var environmentBackupResource = new EnvironmentBackup("environmentBackupResource", EnvironmentBackupArgs.builder()
        .environmentId("string")
        .label("string")
        .build());
    
    environment_backup_resource = powerplatform.EnvironmentBackup("environmentBackupResource",
        environment_id="string",
        label="string")
    
    const environmentBackupResource = new powerplatform.EnvironmentBackup("environmentBackupResource", {
        environmentId: "string",
        label: "string",
    });
    
    type: powerplatform:EnvironmentBackup
    properties:
        environmentId: string
        label: string
    

    EnvironmentBackup Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EnvironmentBackup resource accepts the following input properties:

    EnvironmentId string
    The ID of the environment to back up.
    Label string
    A descriptive label for the backup.
    EnvironmentId string
    The ID of the environment to back up.
    Label string
    A descriptive label for the backup.
    environment_id string
    The ID of the environment to back up.
    label string
    A descriptive label for the backup.
    environmentId String
    The ID of the environment to back up.
    label String
    A descriptive label for the backup.
    environmentId string
    The ID of the environment to back up.
    label string
    A descriptive label for the backup.
    environment_id str
    The ID of the environment to back up.
    label str
    A descriptive label for the backup.
    environmentId String
    The ID of the environment to back up.
    label String
    A descriptive label for the backup.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    BackupExpiryDateTime string
    The date and time when the backup expires.
    BackupPointDateTime string
    The date and time when the backup was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    BackupExpiryDateTime string
    The date and time when the backup expires.
    BackupPointDateTime string
    The date and time when the backup was created.
    id string
    The provider-assigned unique ID for this managed resource.
    backup_expiry_date_time string
    The date and time when the backup expires.
    backup_point_date_time string
    The date and time when the backup was created.
    id String
    The provider-assigned unique ID for this managed resource.
    backupExpiryDateTime String
    The date and time when the backup expires.
    backupPointDateTime String
    The date and time when the backup was created.
    id string
    The provider-assigned unique ID for this managed resource.
    backupExpiryDateTime string
    The date and time when the backup expires.
    backupPointDateTime string
    The date and time when the backup was created.
    id str
    The provider-assigned unique ID for this managed resource.
    backup_expiry_date_time str
    The date and time when the backup expires.
    backup_point_date_time str
    The date and time when the backup was created.
    id String
    The provider-assigned unique ID for this managed resource.
    backupExpiryDateTime String
    The date and time when the backup expires.
    backupPointDateTime String
    The date and time when the backup was created.

    Package Details

    Repository
    powerplatform rpothin/pulumi-powerplatform
    License
    MIT
    powerplatform logo
    Viewing docs for Power Platform v0.3.3
    published on Monday, May 18, 2026 by rpothin

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial