published on Wednesday, May 6, 2026 by stackitcloud
published on Wednesday, May 6, 2026 by stackitcloud
Server backup enable resource schema. Must have a region specified in the provider configuration. Always use only one enable resource per server.
Create ServerBackupEnable Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServerBackupEnable(name: string, args: ServerBackupEnableArgs, opts?: CustomResourceOptions);@overload
def ServerBackupEnable(resource_name: str,
args: ServerBackupEnableArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServerBackupEnable(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[str] = None,
server_id: Optional[str] = None,
backup_policy_id: Optional[str] = None,
region: Optional[str] = None)func NewServerBackupEnable(ctx *Context, name string, args ServerBackupEnableArgs, opts ...ResourceOption) (*ServerBackupEnable, error)public ServerBackupEnable(string name, ServerBackupEnableArgs args, CustomResourceOptions? opts = null)
public ServerBackupEnable(String name, ServerBackupEnableArgs args)
public ServerBackupEnable(String name, ServerBackupEnableArgs args, CustomResourceOptions options)
type: stackit:ServerBackupEnable
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ServerBackupEnableArgs
- 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 ServerBackupEnableArgs
- 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 ServerBackupEnableArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServerBackupEnableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServerBackupEnableArgs
- 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 serverBackupEnableResource = new Stackit.ServerBackupEnable("serverBackupEnableResource", new()
{
ProjectId = "string",
ServerId = "string",
BackupPolicyId = "string",
Region = "string",
});
example, err := stackit.NewServerBackupEnable(ctx, "serverBackupEnableResource", &stackit.ServerBackupEnableArgs{
ProjectId: pulumi.String("string"),
ServerId: pulumi.String("string"),
BackupPolicyId: pulumi.String("string"),
Region: pulumi.String("string"),
})
var serverBackupEnableResource = new ServerBackupEnable("serverBackupEnableResource", ServerBackupEnableArgs.builder()
.projectId("string")
.serverId("string")
.backupPolicyId("string")
.region("string")
.build());
server_backup_enable_resource = stackit.ServerBackupEnable("serverBackupEnableResource",
project_id="string",
server_id="string",
backup_policy_id="string",
region="string")
const serverBackupEnableResource = new stackit.ServerBackupEnable("serverBackupEnableResource", {
projectId: "string",
serverId: "string",
backupPolicyId: "string",
region: "string",
});
type: stackit:ServerBackupEnable
properties:
backupPolicyId: string
projectId: string
region: string
serverId: string
ServerBackupEnable 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 ServerBackupEnable resource accepts the following input properties:
- Project
Id string - STACKIT Project ID to which the server backup enable is associated.
- Server
Id string - Server ID to which the server backup enable is associated.
- Backup
Policy stringId - The backup policy ID.
- Region string
- The resource region. If not defined, the provider region is used.
- Project
Id string - STACKIT Project ID to which the server backup enable is associated.
- Server
Id string - Server ID to which the server backup enable is associated.
- Backup
Policy stringId - The backup policy ID.
- Region string
- The resource region. If not defined, the provider region is used.
- project
Id String - STACKIT Project ID to which the server backup enable is associated.
- server
Id String - Server ID to which the server backup enable is associated.
- backup
Policy StringId - The backup policy ID.
- region String
- The resource region. If not defined, the provider region is used.
- project
Id string - STACKIT Project ID to which the server backup enable is associated.
- server
Id string - Server ID to which the server backup enable is associated.
- backup
Policy stringId - The backup policy ID.
- region string
- The resource region. If not defined, the provider region is used.
- project_
id str - STACKIT Project ID to which the server backup enable is associated.
- server_
id str - Server ID to which the server backup enable is associated.
- backup_
policy_ strid - The backup policy ID.
- region str
- The resource region. If not defined, the provider region is used.
- project
Id String - STACKIT Project ID to which the server backup enable is associated.
- server
Id String - Server ID to which the server backup enable is associated.
- backup
Policy StringId - The backup policy ID.
- region String
- The resource region. If not defined, the provider region is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServerBackupEnable resource produces the following output properties:
Look up Existing ServerBackupEnable Resource
Get an existing ServerBackupEnable 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?: ServerBackupEnableState, opts?: CustomResourceOptions): ServerBackupEnable@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
backup_policy_id: Optional[str] = None,
enabled: Optional[bool] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
server_id: Optional[str] = None) -> ServerBackupEnablefunc GetServerBackupEnable(ctx *Context, name string, id IDInput, state *ServerBackupEnableState, opts ...ResourceOption) (*ServerBackupEnable, error)public static ServerBackupEnable Get(string name, Input<string> id, ServerBackupEnableState? state, CustomResourceOptions? opts = null)public static ServerBackupEnable get(String name, Output<String> id, ServerBackupEnableState state, CustomResourceOptions options)resources: _: type: stackit:ServerBackupEnable get: id: ${id}- 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.
- 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.
- Backup
Policy stringId - The backup policy ID.
- Enabled bool
- Set to true if the service is enabled.
- Project
Id string - STACKIT Project ID to which the server backup enable is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Server
Id string - Server ID to which the server backup enable is associated.
- Backup
Policy stringId - The backup policy ID.
- Enabled bool
- Set to true if the service is enabled.
- Project
Id string - STACKIT Project ID to which the server backup enable is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Server
Id string - Server ID to which the server backup enable is associated.
- backup
Policy StringId - The backup policy ID.
- enabled Boolean
- Set to true if the service is enabled.
- project
Id String - STACKIT Project ID to which the server backup enable is associated.
- region String
- The resource region. If not defined, the provider region is used.
- server
Id String - Server ID to which the server backup enable is associated.
- backup
Policy stringId - The backup policy ID.
- enabled boolean
- Set to true if the service is enabled.
- project
Id string - STACKIT Project ID to which the server backup enable is associated.
- region string
- The resource region. If not defined, the provider region is used.
- server
Id string - Server ID to which the server backup enable is associated.
- backup_
policy_ strid - The backup policy ID.
- enabled bool
- Set to true if the service is enabled.
- project_
id str - STACKIT Project ID to which the server backup enable is associated.
- region str
- The resource region. If not defined, the provider region is used.
- server_
id str - Server ID to which the server backup enable is associated.
- backup
Policy StringId - The backup policy ID.
- enabled Boolean
- Set to true if the service is enabled.
- project
Id String - STACKIT Project ID to which the server backup enable is associated.
- region String
- The resource region. If not defined, the provider region is used.
- server
Id String - Server ID to which the server backup enable is associated.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
published on Wednesday, May 6, 2026 by stackitcloud
