Dynatrace v0.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse
dynatrace.ManagedBackup
Explore with Pulumi AI
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
The ManagedBackup resource accepts the following input properties:
- Cassandra
Scheduled intTime - Hour to start Cassandra backups each day.
- Bandwidth
Limit intMbits - Cassandra backup bandwidth limit in Mbps
- Current
State 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).
- Include
Lm20Data bool - Include (true) or exclude (false) Log Monitoring v2 data
- Include
Rum boolData - Include user sessions (true) or GDPR compliance (false)
- Include
Ts boolMetric Data - Include time series metric-data (true) or retain configuration data only (false))
- Max
Es intSnapshots To Clean - 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 string - A full path to the backup archive
- Cassandra
Scheduled intTime - Hour to start Cassandra backups each day.
- Bandwidth
Limit intMbits - Cassandra backup bandwidth limit in Mbps
- Current
State 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).
- Include
Lm20Data bool - Include (true) or exclude (false) Log Monitoring v2 data
- Include
Rum boolData - Include user sessions (true) or GDPR compliance (false)
- Include
Ts boolMetric Data - Include time series metric-data (true) or retain configuration data only (false))
- Max
Es intSnapshots To Clean - 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 string - A full path to the backup archive
- cassandra
Scheduled IntegerTime - Hour to start Cassandra backups each day.
- bandwidth
Limit IntegerMbits - Cassandra backup bandwidth limit in Mbps
- current
State 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).
- include
Lm20Data Boolean - Include (true) or exclude (false) Log Monitoring v2 data
- include
Rum BooleanData - Include user sessions (true) or GDPR compliance (false)
- include
Ts BooleanMetric Data - Include time series metric-data (true) or retain configuration data only (false))
- max
Es IntegerSnapshots To Clean - 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 Boolean - Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
- storage
Path String - A full path to the backup archive
- cassandra
Scheduled numberTime - Hour to start Cassandra backups each day.
- bandwidth
Limit numberMbits - Cassandra backup bandwidth limit in Mbps
- current
State 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).
- include
Lm20Data boolean - Include (true) or exclude (false) Log Monitoring v2 data
- include
Rum booleanData - Include user sessions (true) or GDPR compliance (false)
- include
Ts booleanMetric Data - Include time series metric-data (true) or retain configuration data only (false))
- max
Es numberSnapshots To Clean - 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 boolean - Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
- storage
Path string - A full path to the backup archive
- cassandra_
scheduled_ inttime - Hour to start Cassandra backups each day.
- bandwidth_
limit_ intmbits - 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_ booldata - Include (true) or exclude (false) Log Monitoring v2 data
- include_
rum_ booldata - Include user sessions (true) or GDPR compliance (false)
- include_
ts_ boolmetric_ data - Include time series metric-data (true) or retain configuration data only (false))
- max_
es_ intsnapshots_ to_ clean - 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
- cassandra
Scheduled NumberTime - Hour to start Cassandra backups each day.
- bandwidth
Limit NumberMbits - Cassandra backup bandwidth limit in Mbps
- current
State 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).
- include
Lm20Data Boolean - Include (true) or exclude (false) Log Monitoring v2 data
- include
Rum BooleanData - Include user sessions (true) or GDPR compliance (false)
- include
Ts BooleanMetric Data - Include time series metric-data (true) or retain configuration data only (false))
- max
Es NumberSnapshots To Clean - 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 Boolean - Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
- storage
Path 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.
- Bandwidth
Limit intMbits - Cassandra backup bandwidth limit in Mbps
- Cassandra
Scheduled intTime - Hour to start Cassandra backups each day.
- Current
State 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).
- Include
Lm20Data bool - Include (true) or exclude (false) Log Monitoring v2 data
- Include
Rum boolData - Include user sessions (true) or GDPR compliance (false)
- Include
Ts boolMetric Data - Include time series metric-data (true) or retain configuration data only (false))
- Max
Es intSnapshots To Clean - 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 string - A full path to the backup archive
- Bandwidth
Limit intMbits - Cassandra backup bandwidth limit in Mbps
- Cassandra
Scheduled intTime - Hour to start Cassandra backups each day.
- Current
State 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).
- Include
Lm20Data bool - Include (true) or exclude (false) Log Monitoring v2 data
- Include
Rum boolData - Include user sessions (true) or GDPR compliance (false)
- Include
Ts boolMetric Data - Include time series metric-data (true) or retain configuration data only (false))
- Max
Es intSnapshots To Clean - 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 string - A full path to the backup archive
- bandwidth
Limit IntegerMbits - Cassandra backup bandwidth limit in Mbps
- cassandra
Scheduled IntegerTime - Hour to start Cassandra backups each day.
- current
State 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).
- include
Lm20Data Boolean - Include (true) or exclude (false) Log Monitoring v2 data
- include
Rum BooleanData - Include user sessions (true) or GDPR compliance (false)
- include
Ts BooleanMetric Data - Include time series metric-data (true) or retain configuration data only (false))
- max
Es IntegerSnapshots To Clean - 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 Boolean - Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
- storage
Path String - A full path to the backup archive
- bandwidth
Limit numberMbits - Cassandra backup bandwidth limit in Mbps
- cassandra
Scheduled numberTime - Hour to start Cassandra backups each day.
- current
State 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).
- include
Lm20Data boolean - Include (true) or exclude (false) Log Monitoring v2 data
- include
Rum booleanData - Include user sessions (true) or GDPR compliance (false)
- include
Ts booleanMetric Data - Include time series metric-data (true) or retain configuration data only (false))
- max
Es numberSnapshots To Clean - 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 boolean - Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
- storage
Path string - A full path to the backup archive
- bandwidth_
limit_ intmbits - Cassandra backup bandwidth limit in Mbps
- cassandra_
scheduled_ inttime - 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_ booldata - Include (true) or exclude (false) Log Monitoring v2 data
- include_
rum_ booldata - Include user sessions (true) or GDPR compliance (false)
- include_
ts_ boolmetric_ data - Include time series metric-data (true) or retain configuration data only (false))
- max_
es_ intsnapshots_ to_ clean - 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
- bandwidth
Limit NumberMbits - Cassandra backup bandwidth limit in Mbps
- cassandra
Scheduled NumberTime - Hour to start Cassandra backups each day.
- current
State 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).
- include
Lm20Data Boolean - Include (true) or exclude (false) Log Monitoring v2 data
- include
Rum BooleanData - Include user sessions (true) or GDPR compliance (false)
- include
Ts BooleanMetric Data - Include time series metric-data (true) or retain configuration data only (false))
- max
Es NumberSnapshots To Clean - 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 Boolean - Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
- storage
Path 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.