published on Wednesday, May 6, 2026 by stackitcloud
published on Wednesday, May 6, 2026 by stackitcloud
Server update enable resource schema. Must have a region specified in the provider configuration. Always use only one enable resource per server.
Create ServerUpdateEnable Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServerUpdateEnable(name: string, args: ServerUpdateEnableArgs, opts?: CustomResourceOptions);@overload
def ServerUpdateEnable(resource_name: str,
args: ServerUpdateEnableArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServerUpdateEnable(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[str] = None,
server_id: Optional[str] = None,
region: Optional[str] = None,
update_policy_id: Optional[str] = None)func NewServerUpdateEnable(ctx *Context, name string, args ServerUpdateEnableArgs, opts ...ResourceOption) (*ServerUpdateEnable, error)public ServerUpdateEnable(string name, ServerUpdateEnableArgs args, CustomResourceOptions? opts = null)
public ServerUpdateEnable(String name, ServerUpdateEnableArgs args)
public ServerUpdateEnable(String name, ServerUpdateEnableArgs args, CustomResourceOptions options)
type: stackit:ServerUpdateEnable
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "stackit_serverupdateenable" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ServerUpdateEnableArgs
- 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 ServerUpdateEnableArgs
- 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 ServerUpdateEnableArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServerUpdateEnableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServerUpdateEnableArgs
- 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 serverUpdateEnableResource = new Stackit.ServerUpdateEnable("serverUpdateEnableResource", new()
{
ProjectId = "string",
ServerId = "string",
Region = "string",
UpdatePolicyId = "string",
});
example, err := stackit.NewServerUpdateEnable(ctx, "serverUpdateEnableResource", &stackit.ServerUpdateEnableArgs{
ProjectId: pulumi.String("string"),
ServerId: pulumi.String("string"),
Region: pulumi.String("string"),
UpdatePolicyId: pulumi.String("string"),
})
resource "stackit_serverupdateenable" "serverUpdateEnableResource" {
project_id = "string"
server_id = "string"
region = "string"
update_policy_id = "string"
}
var serverUpdateEnableResource = new ServerUpdateEnable("serverUpdateEnableResource", ServerUpdateEnableArgs.builder()
.projectId("string")
.serverId("string")
.region("string")
.updatePolicyId("string")
.build());
server_update_enable_resource = stackit.ServerUpdateEnable("serverUpdateEnableResource",
project_id="string",
server_id="string",
region="string",
update_policy_id="string")
const serverUpdateEnableResource = new stackit.ServerUpdateEnable("serverUpdateEnableResource", {
projectId: "string",
serverId: "string",
region: "string",
updatePolicyId: "string",
});
type: stackit:ServerUpdateEnable
properties:
projectId: string
region: string
serverId: string
updatePolicyId: string
ServerUpdateEnable 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 ServerUpdateEnable resource accepts the following input properties:
- Project
Id string - STACKIT Project ID to which the server update enable is associated.
- Server
Id string - Server ID to which the server update enable is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Update
Policy stringId - The update policy ID.
- Project
Id string - STACKIT Project ID to which the server update enable is associated.
- Server
Id string - Server ID to which the server update enable is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Update
Policy stringId - The update policy ID.
- project_
id string - STACKIT Project ID to which the server update enable is associated.
- server_
id string - Server ID to which the server update enable is associated.
- region string
- The resource region. If not defined, the provider region is used.
- update_
policy_ stringid - The update policy ID.
- project
Id String - STACKIT Project ID to which the server update enable is associated.
- server
Id String - Server ID to which the server update enable is associated.
- region String
- The resource region. If not defined, the provider region is used.
- update
Policy StringId - The update policy ID.
- project
Id string - STACKIT Project ID to which the server update enable is associated.
- server
Id string - Server ID to which the server update enable is associated.
- region string
- The resource region. If not defined, the provider region is used.
- update
Policy stringId - The update policy ID.
- project_
id str - STACKIT Project ID to which the server update enable is associated.
- server_
id str - Server ID to which the server update enable is associated.
- region str
- The resource region. If not defined, the provider region is used.
- update_
policy_ strid - The update policy ID.
- project
Id String - STACKIT Project ID to which the server update enable is associated.
- server
Id String - Server ID to which the server update enable is associated.
- region String
- The resource region. If not defined, the provider region is used.
- update
Policy StringId - The update policy ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServerUpdateEnable resource produces the following output properties:
Look up Existing ServerUpdateEnable Resource
Get an existing ServerUpdateEnable 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?: ServerUpdateEnableState, opts?: CustomResourceOptions): ServerUpdateEnable@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
server_id: Optional[str] = None,
update_policy_id: Optional[str] = None) -> ServerUpdateEnablefunc GetServerUpdateEnable(ctx *Context, name string, id IDInput, state *ServerUpdateEnableState, opts ...ResourceOption) (*ServerUpdateEnable, error)public static ServerUpdateEnable Get(string name, Input<string> id, ServerUpdateEnableState? state, CustomResourceOptions? opts = null)public static ServerUpdateEnable get(String name, Output<String> id, ServerUpdateEnableState state, CustomResourceOptions options)resources: _: type: stackit:ServerUpdateEnable get: id: ${id}import {
to = stackit_serverupdateenable.example
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.
- Enabled bool
- Set to true if the service is enabled.
- Project
Id string - STACKIT Project ID to which the server update 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 update enable is associated.
- Update
Policy stringId - The update policy ID.
- Enabled bool
- Set to true if the service is enabled.
- Project
Id string - STACKIT Project ID to which the server update 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 update enable is associated.
- Update
Policy stringId - The update policy ID.
- enabled bool
- Set to true if the service is enabled.
- project_
id string - STACKIT Project ID to which the server update 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 update enable is associated.
- update_
policy_ stringid - The update policy ID.
- enabled Boolean
- Set to true if the service is enabled.
- project
Id String - STACKIT Project ID to which the server update 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 update enable is associated.
- update
Policy StringId - The update policy ID.
- enabled boolean
- Set to true if the service is enabled.
- project
Id string - STACKIT Project ID to which the server update 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 update enable is associated.
- update
Policy stringId - The update policy ID.
- enabled bool
- Set to true if the service is enabled.
- project_
id str - STACKIT Project ID to which the server update 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 update enable is associated.
- update_
policy_ strid - The update policy ID.
- enabled Boolean
- Set to true if the service is enabled.
- project
Id String - STACKIT Project ID to which the server update 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 update enable is associated.
- update
Policy StringId - The update policy ID.
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
