1. Packages
  2. Dynatrace
  3. API Docs
  4. ManagedBackup
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

dynatrace.ManagedBackup

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

    Create ManagedBackup Resource

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

    Constructor syntax

    new ManagedBackup(name: string, args: ManagedBackupArgs, opts?: CustomResourceOptions);
    @overload
    def ManagedBackup(resource_name: str,
                      args: ManagedBackupArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagedBackup(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      cassandra_scheduled_time: Optional[int] = None,
                      bandwidth_limit_mbits: Optional[int] = None,
                      current_state: Optional[str] = None,
                      datacenter: Optional[str] = None,
                      enabled: Optional[bool] = None,
                      include_lm20_data: Optional[bool] = None,
                      include_rum_data: Optional[bool] = None,
                      include_ts_metric_data: Optional[bool] = None,
                      max_es_snapshots_to_clean: Optional[int] = None,
                      pause_backups: Optional[bool] = None,
                      storage_path: Optional[str] = None)
    func NewManagedBackup(ctx *Context, name string, args ManagedBackupArgs, opts ...ResourceOption) (*ManagedBackup, error)
    public ManagedBackup(string name, ManagedBackupArgs args, CustomResourceOptions? opts = null)
    public ManagedBackup(String name, ManagedBackupArgs args)
    public ManagedBackup(String name, ManagedBackupArgs args, CustomResourceOptions options)
    
    type: dynatrace:ManagedBackup
    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 ManagedBackupArgs
    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 ManagedBackupArgs
    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 ManagedBackupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagedBackupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagedBackupArgs
    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 managedBackupResource = new Dynatrace.ManagedBackup("managedBackupResource", new()
    {
        CassandraScheduledTime = 0,
        BandwidthLimitMbits = 0,
        CurrentState = "string",
        Datacenter = "string",
        Enabled = false,
        IncludeLm20Data = false,
        IncludeRumData = false,
        IncludeTsMetricData = false,
        MaxEsSnapshotsToClean = 0,
        PauseBackups = false,
        StoragePath = "string",
    });
    
    example, err := dynatrace.NewManagedBackup(ctx, "managedBackupResource", &dynatrace.ManagedBackupArgs{
    	CassandraScheduledTime: pulumi.Int(0),
    	BandwidthLimitMbits:    pulumi.Int(0),
    	CurrentState:           pulumi.String("string"),
    	Datacenter:             pulumi.String("string"),
    	Enabled:                pulumi.Bool(false),
    	IncludeLm20Data:        pulumi.Bool(false),
    	IncludeRumData:         pulumi.Bool(false),
    	IncludeTsMetricData:    pulumi.Bool(false),
    	MaxEsSnapshotsToClean:  pulumi.Int(0),
    	PauseBackups:           pulumi.Bool(false),
    	StoragePath:            pulumi.String("string"),
    })
    
    var managedBackupResource = new ManagedBackup("managedBackupResource", ManagedBackupArgs.builder()
        .cassandraScheduledTime(0)
        .bandwidthLimitMbits(0)
        .currentState("string")
        .datacenter("string")
        .enabled(false)
        .includeLm20Data(false)
        .includeRumData(false)
        .includeTsMetricData(false)
        .maxEsSnapshotsToClean(0)
        .pauseBackups(false)
        .storagePath("string")
        .build());
    
    managed_backup_resource = dynatrace.ManagedBackup("managedBackupResource",
        cassandra_scheduled_time=0,
        bandwidth_limit_mbits=0,
        current_state="string",
        datacenter="string",
        enabled=False,
        include_lm20_data=False,
        include_rum_data=False,
        include_ts_metric_data=False,
        max_es_snapshots_to_clean=0,
        pause_backups=False,
        storage_path="string")
    
    const managedBackupResource = new dynatrace.ManagedBackup("managedBackupResource", {
        cassandraScheduledTime: 0,
        bandwidthLimitMbits: 0,
        currentState: "string",
        datacenter: "string",
        enabled: false,
        includeLm20Data: false,
        includeRumData: false,
        includeTsMetricData: false,
        maxEsSnapshotsToClean: 0,
        pauseBackups: false,
        storagePath: "string",
    });
    
    type: dynatrace:ManagedBackup
    properties:
        bandwidthLimitMbits: 0
        cassandraScheduledTime: 0
        currentState: string
        datacenter: string
        enabled: false
        includeLm20Data: false
        includeRumData: false
        includeTsMetricData: false
        maxEsSnapshotsToClean: 0
        pauseBackups: false
        storagePath: string
    

    ManagedBackup 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 ManagedBackup resource accepts the following input properties:

    CassandraScheduledTime int
    Hour to start Cassandra backups each day.
    BandwidthLimitMbits int
    Cassandra backup bandwidth limit in Mbps
    CurrentState string
    For internal use: current state of rules in JSON format
    Datacenter string
    Datacenter which will create backups
    Enabled bool
    Backups are enabled (true) or disabled (false).
    IncludeLm20Data bool
    Include (true) or exclude (false) Log Monitoring v2 data
    IncludeRumData bool
    Include user sessions (true) or GDPR compliance (false)
    IncludeTsMetricData bool
    Include time series metric-data (true) or retain configuration data only (false))
    MaxEsSnapshotsToClean int
    Max number of Elasticsearch snapshots to clean. Elasticsearch snapshots won't be created anymore if there will be more backups to clean than this value.
    PauseBackups bool
    Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
    StoragePath string
    A full path to the backup archive
    CassandraScheduledTime int
    Hour to start Cassandra backups each day.
    BandwidthLimitMbits int
    Cassandra backup bandwidth limit in Mbps
    CurrentState string
    For internal use: current state of rules in JSON format
    Datacenter string
    Datacenter which will create backups
    Enabled bool
    Backups are enabled (true) or disabled (false).
    IncludeLm20Data bool
    Include (true) or exclude (false) Log Monitoring v2 data
    IncludeRumData bool
    Include user sessions (true) or GDPR compliance (false)
    IncludeTsMetricData bool
    Include time series metric-data (true) or retain configuration data only (false))
    MaxEsSnapshotsToClean int
    Max number of Elasticsearch snapshots to clean. Elasticsearch snapshots won't be created anymore if there will be more backups to clean than this value.
    PauseBackups bool
    Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
    StoragePath string
    A full path to the backup archive
    cassandraScheduledTime Integer
    Hour to start Cassandra backups each day.
    bandwidthLimitMbits Integer
    Cassandra backup bandwidth limit in Mbps
    currentState String
    For internal use: current state of rules in JSON format
    datacenter String
    Datacenter which will create backups
    enabled Boolean
    Backups are enabled (true) or disabled (false).
    includeLm20Data Boolean
    Include (true) or exclude (false) Log Monitoring v2 data
    includeRumData Boolean
    Include user sessions (true) or GDPR compliance (false)
    includeTsMetricData Boolean
    Include time series metric-data (true) or retain configuration data only (false))
    maxEsSnapshotsToClean Integer
    Max number of Elasticsearch snapshots to clean. Elasticsearch snapshots won't be created anymore if there will be more backups to clean than this value.
    pauseBackups Boolean
    Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
    storagePath String
    A full path to the backup archive
    cassandraScheduledTime number
    Hour to start Cassandra backups each day.
    bandwidthLimitMbits number
    Cassandra backup bandwidth limit in Mbps
    currentState string
    For internal use: current state of rules in JSON format
    datacenter string
    Datacenter which will create backups
    enabled boolean
    Backups are enabled (true) or disabled (false).
    includeLm20Data boolean
    Include (true) or exclude (false) Log Monitoring v2 data
    includeRumData boolean
    Include user sessions (true) or GDPR compliance (false)
    includeTsMetricData boolean
    Include time series metric-data (true) or retain configuration data only (false))
    maxEsSnapshotsToClean number
    Max number of Elasticsearch snapshots to clean. Elasticsearch snapshots won't be created anymore if there will be more backups to clean than this value.
    pauseBackups boolean
    Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
    storagePath string
    A full path to the backup archive
    cassandra_scheduled_time int
    Hour to start Cassandra backups each day.
    bandwidth_limit_mbits int
    Cassandra backup bandwidth limit in Mbps
    current_state str
    For internal use: current state of rules in JSON format
    datacenter str
    Datacenter which will create backups
    enabled bool
    Backups are enabled (true) or disabled (false).
    include_lm20_data bool
    Include (true) or exclude (false) Log Monitoring v2 data
    include_rum_data bool
    Include user sessions (true) or GDPR compliance (false)
    include_ts_metric_data bool
    Include time series metric-data (true) or retain configuration data only (false))
    max_es_snapshots_to_clean int
    Max number of Elasticsearch snapshots to clean. Elasticsearch snapshots won't be created anymore if there will be more backups to clean than this value.
    pause_backups bool
    Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
    storage_path str
    A full path to the backup archive
    cassandraScheduledTime Number
    Hour to start Cassandra backups each day.
    bandwidthLimitMbits Number
    Cassandra backup bandwidth limit in Mbps
    currentState String
    For internal use: current state of rules in JSON format
    datacenter String
    Datacenter which will create backups
    enabled Boolean
    Backups are enabled (true) or disabled (false).
    includeLm20Data Boolean
    Include (true) or exclude (false) Log Monitoring v2 data
    includeRumData Boolean
    Include user sessions (true) or GDPR compliance (false)
    includeTsMetricData Boolean
    Include time series metric-data (true) or retain configuration data only (false))
    maxEsSnapshotsToClean Number
    Max number of Elasticsearch snapshots to clean. Elasticsearch snapshots won't be created anymore if there will be more backups to clean than this value.
    pauseBackups Boolean
    Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
    storagePath String
    A full path to the backup archive

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ManagedBackup Resource

    Get an existing ManagedBackup 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?: ManagedBackupState, opts?: CustomResourceOptions): ManagedBackup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bandwidth_limit_mbits: Optional[int] = None,
            cassandra_scheduled_time: Optional[int] = None,
            current_state: Optional[str] = None,
            datacenter: Optional[str] = None,
            enabled: Optional[bool] = None,
            include_lm20_data: Optional[bool] = None,
            include_rum_data: Optional[bool] = None,
            include_ts_metric_data: Optional[bool] = None,
            max_es_snapshots_to_clean: Optional[int] = None,
            pause_backups: Optional[bool] = None,
            storage_path: Optional[str] = None) -> ManagedBackup
    func GetManagedBackup(ctx *Context, name string, id IDInput, state *ManagedBackupState, opts ...ResourceOption) (*ManagedBackup, error)
    public static ManagedBackup Get(string name, Input<string> id, ManagedBackupState? state, CustomResourceOptions? opts = null)
    public static ManagedBackup get(String name, Output<String> id, ManagedBackupState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    BandwidthLimitMbits int
    Cassandra backup bandwidth limit in Mbps
    CassandraScheduledTime int
    Hour to start Cassandra backups each day.
    CurrentState string
    For internal use: current state of rules in JSON format
    Datacenter string
    Datacenter which will create backups
    Enabled bool
    Backups are enabled (true) or disabled (false).
    IncludeLm20Data bool
    Include (true) or exclude (false) Log Monitoring v2 data
    IncludeRumData bool
    Include user sessions (true) or GDPR compliance (false)
    IncludeTsMetricData bool
    Include time series metric-data (true) or retain configuration data only (false))
    MaxEsSnapshotsToClean int
    Max number of Elasticsearch snapshots to clean. Elasticsearch snapshots won't be created anymore if there will be more backups to clean than this value.
    PauseBackups bool
    Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
    StoragePath string
    A full path to the backup archive
    BandwidthLimitMbits int
    Cassandra backup bandwidth limit in Mbps
    CassandraScheduledTime int
    Hour to start Cassandra backups each day.
    CurrentState string
    For internal use: current state of rules in JSON format
    Datacenter string
    Datacenter which will create backups
    Enabled bool
    Backups are enabled (true) or disabled (false).
    IncludeLm20Data bool
    Include (true) or exclude (false) Log Monitoring v2 data
    IncludeRumData bool
    Include user sessions (true) or GDPR compliance (false)
    IncludeTsMetricData bool
    Include time series metric-data (true) or retain configuration data only (false))
    MaxEsSnapshotsToClean int
    Max number of Elasticsearch snapshots to clean. Elasticsearch snapshots won't be created anymore if there will be more backups to clean than this value.
    PauseBackups bool
    Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
    StoragePath string
    A full path to the backup archive
    bandwidthLimitMbits Integer
    Cassandra backup bandwidth limit in Mbps
    cassandraScheduledTime Integer
    Hour to start Cassandra backups each day.
    currentState String
    For internal use: current state of rules in JSON format
    datacenter String
    Datacenter which will create backups
    enabled Boolean
    Backups are enabled (true) or disabled (false).
    includeLm20Data Boolean
    Include (true) or exclude (false) Log Monitoring v2 data
    includeRumData Boolean
    Include user sessions (true) or GDPR compliance (false)
    includeTsMetricData Boolean
    Include time series metric-data (true) or retain configuration data only (false))
    maxEsSnapshotsToClean Integer
    Max number of Elasticsearch snapshots to clean. Elasticsearch snapshots won't be created anymore if there will be more backups to clean than this value.
    pauseBackups Boolean
    Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
    storagePath String
    A full path to the backup archive
    bandwidthLimitMbits number
    Cassandra backup bandwidth limit in Mbps
    cassandraScheduledTime number
    Hour to start Cassandra backups each day.
    currentState string
    For internal use: current state of rules in JSON format
    datacenter string
    Datacenter which will create backups
    enabled boolean
    Backups are enabled (true) or disabled (false).
    includeLm20Data boolean
    Include (true) or exclude (false) Log Monitoring v2 data
    includeRumData boolean
    Include user sessions (true) or GDPR compliance (false)
    includeTsMetricData boolean
    Include time series metric-data (true) or retain configuration data only (false))
    maxEsSnapshotsToClean number
    Max number of Elasticsearch snapshots to clean. Elasticsearch snapshots won't be created anymore if there will be more backups to clean than this value.
    pauseBackups boolean
    Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
    storagePath string
    A full path to the backup archive
    bandwidth_limit_mbits int
    Cassandra backup bandwidth limit in Mbps
    cassandra_scheduled_time int
    Hour to start Cassandra backups each day.
    current_state str
    For internal use: current state of rules in JSON format
    datacenter str
    Datacenter which will create backups
    enabled bool
    Backups are enabled (true) or disabled (false).
    include_lm20_data bool
    Include (true) or exclude (false) Log Monitoring v2 data
    include_rum_data bool
    Include user sessions (true) or GDPR compliance (false)
    include_ts_metric_data bool
    Include time series metric-data (true) or retain configuration data only (false))
    max_es_snapshots_to_clean int
    Max number of Elasticsearch snapshots to clean. Elasticsearch snapshots won't be created anymore if there will be more backups to clean than this value.
    pause_backups bool
    Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
    storage_path str
    A full path to the backup archive
    bandwidthLimitMbits Number
    Cassandra backup bandwidth limit in Mbps
    cassandraScheduledTime Number
    Hour to start Cassandra backups each day.
    currentState String
    For internal use: current state of rules in JSON format
    datacenter String
    Datacenter which will create backups
    enabled Boolean
    Backups are enabled (true) or disabled (false).
    includeLm20Data Boolean
    Include (true) or exclude (false) Log Monitoring v2 data
    includeRumData Boolean
    Include user sessions (true) or GDPR compliance (false)
    includeTsMetricData Boolean
    Include time series metric-data (true) or retain configuration data only (false))
    maxEsSnapshotsToClean Number
    Max number of Elasticsearch snapshots to clean. Elasticsearch snapshots won't be created anymore if there will be more backups to clean than this value.
    pauseBackups Boolean
    Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
    storagePath String
    A full path to the backup archive

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse