published on Monday, May 18, 2026 by rpothin
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:
- Environment
Id 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.
- environment_
id 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.
- environment
Id 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.
- environment
Id 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.
- Backup
Expiry stringDate Time - The date and time when the backup expires.
- Backup
Point stringDate Time - The date and time when the backup was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Backup
Expiry stringDate Time - The date and time when the backup expires.
- Backup
Point stringDate Time - The date and time when the backup was created.
- id string
- The provider-assigned unique ID for this managed resource.
- backup_
expiry_ stringdate_ time - The date and time when the backup expires.
- backup_
point_ stringdate_ time - The date and time when the backup was created.
- id String
- The provider-assigned unique ID for this managed resource.
- backup
Expiry StringDate Time - The date and time when the backup expires.
- backup
Point StringDate Time - The date and time when the backup was created.
- id string
- The provider-assigned unique ID for this managed resource.
- backup
Expiry stringDate Time - The date and time when the backup expires.
- backup
Point stringDate Time - The date and time when the backup was created.
- id str
- The provider-assigned unique ID for this managed resource.
- backup_
expiry_ strdate_ time - The date and time when the backup expires.
- backup_
point_ strdate_ time - The date and time when the backup was created.
- id String
- The provider-assigned unique ID for this managed resource.
- backup
Expiry StringDate Time - The date and time when the backup expires.
- backup
Point StringDate Time - The date and time when the backup was created.
Package Details
- Repository
- powerplatform rpothin/pulumi-powerplatform
- License
- MIT
published on Monday, May 18, 2026 by rpothin