1. Packages
  2. Packages
  3. stackit
  4. API Docs
  5. ServerUpdateEnable
Viewing docs for stackit v0.0.6
published on Wednesday, May 6, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.6
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:

    ProjectId string
    STACKIT Project ID to which the server update enable is associated.
    ServerId string
    Server ID to which the server update enable is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    UpdatePolicyId string
    The update policy ID.
    ProjectId string
    STACKIT Project ID to which the server update enable is associated.
    ServerId string
    Server ID to which the server update enable is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    UpdatePolicyId string
    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_id string
    The update policy ID.
    projectId String
    STACKIT Project ID to which the server update enable is associated.
    serverId String
    Server ID to which the server update enable is associated.
    region String
    The resource region. If not defined, the provider region is used.
    updatePolicyId String
    The update policy ID.
    projectId string
    STACKIT Project ID to which the server update enable is associated.
    serverId string
    Server ID to which the server update enable is associated.
    region string
    The resource region. If not defined, the provider region is used.
    updatePolicyId string
    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_id str
    The update policy ID.
    projectId String
    STACKIT Project ID to which the server update enable is associated.
    serverId String
    Server ID to which the server update enable is associated.
    region String
    The resource region. If not defined, the provider region is used.
    updatePolicyId String
    The update policy ID.

    Outputs

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

    Enabled bool
    Set to true if the service is enabled.
    Id string
    The provider-assigned unique ID for this managed resource.
    Enabled bool
    Set to true if the service is enabled.
    Id string
    The provider-assigned unique ID for this managed resource.
    enabled bool
    Set to true if the service is enabled.
    id string
    The provider-assigned unique ID for this managed resource.
    enabled Boolean
    Set to true if the service is enabled.
    id String
    The provider-assigned unique ID for this managed resource.
    enabled boolean
    Set to true if the service is enabled.
    id string
    The provider-assigned unique ID for this managed resource.
    enabled bool
    Set to true if the service is enabled.
    id str
    The provider-assigned unique ID for this managed resource.
    enabled Boolean
    Set to true if the service is enabled.
    id String
    The provider-assigned unique ID for this managed resource.

    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) -> ServerUpdateEnable
    func 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.
    The following state arguments are supported:
    Enabled bool
    Set to true if the service is enabled.
    ProjectId 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.
    ServerId string
    Server ID to which the server update enable is associated.
    UpdatePolicyId string
    The update policy ID.
    Enabled bool
    Set to true if the service is enabled.
    ProjectId 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.
    ServerId string
    Server ID to which the server update enable is associated.
    UpdatePolicyId string
    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_id string
    The update policy ID.
    enabled Boolean
    Set to true if the service is enabled.
    projectId 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.
    serverId String
    Server ID to which the server update enable is associated.
    updatePolicyId String
    The update policy ID.
    enabled boolean
    Set to true if the service is enabled.
    projectId 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.
    serverId string
    Server ID to which the server update enable is associated.
    updatePolicyId string
    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_id str
    The update policy ID.
    enabled Boolean
    Set to true if the service is enabled.
    projectId 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.
    serverId String
    Server ID to which the server update enable is associated.
    updatePolicyId String
    The update policy ID.

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.6
    published on Wednesday, May 6, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.