Dynatrace v0.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse
dynatrace.OneagentUpdates
Explore with Pulumi AI
Create OneagentUpdates Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OneagentUpdates(name: string, args: OneagentUpdatesArgs, opts?: CustomResourceOptions);
@overload
def OneagentUpdates(resource_name: str,
args: OneagentUpdatesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OneagentUpdates(resource_name: str,
opts: Optional[ResourceOptions] = None,
update_mode: Optional[str] = None,
maintenance_windows: Optional[OneagentUpdatesMaintenanceWindowsArgs] = None,
revision: Optional[str] = None,
scope: Optional[str] = None,
target_version: Optional[str] = None)
func NewOneagentUpdates(ctx *Context, name string, args OneagentUpdatesArgs, opts ...ResourceOption) (*OneagentUpdates, error)
public OneagentUpdates(string name, OneagentUpdatesArgs args, CustomResourceOptions? opts = null)
public OneagentUpdates(String name, OneagentUpdatesArgs args)
public OneagentUpdates(String name, OneagentUpdatesArgs args, CustomResourceOptions options)
type: dynatrace:OneagentUpdates
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 OneagentUpdatesArgs
- 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 OneagentUpdatesArgs
- 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 OneagentUpdatesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OneagentUpdatesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OneagentUpdatesArgs
- 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 oneagentUpdatesResource = new Dynatrace.OneagentUpdates("oneagentUpdatesResource", new()
{
UpdateMode = "string",
MaintenanceWindows = new Dynatrace.Inputs.OneagentUpdatesMaintenanceWindowsArgs
{
MaintenanceWindows = new[]
{
new Dynatrace.Inputs.OneagentUpdatesMaintenanceWindowsMaintenanceWindowArgs
{
MaintenanceWindow = "string",
},
},
},
Revision = "string",
Scope = "string",
TargetVersion = "string",
});
example, err := dynatrace.NewOneagentUpdates(ctx, "oneagentUpdatesResource", &dynatrace.OneagentUpdatesArgs{
UpdateMode: pulumi.String("string"),
MaintenanceWindows: &dynatrace.OneagentUpdatesMaintenanceWindowsArgs{
MaintenanceWindows: dynatrace.OneagentUpdatesMaintenanceWindowsMaintenanceWindowArray{
&dynatrace.OneagentUpdatesMaintenanceWindowsMaintenanceWindowArgs{
MaintenanceWindow: pulumi.String("string"),
},
},
},
Revision: pulumi.String("string"),
Scope: pulumi.String("string"),
TargetVersion: pulumi.String("string"),
})
var oneagentUpdatesResource = new OneagentUpdates("oneagentUpdatesResource", OneagentUpdatesArgs.builder()
.updateMode("string")
.maintenanceWindows(OneagentUpdatesMaintenanceWindowsArgs.builder()
.maintenanceWindows(OneagentUpdatesMaintenanceWindowsMaintenanceWindowArgs.builder()
.maintenanceWindow("string")
.build())
.build())
.revision("string")
.scope("string")
.targetVersion("string")
.build());
oneagent_updates_resource = dynatrace.OneagentUpdates("oneagentUpdatesResource",
update_mode="string",
maintenance_windows=dynatrace.OneagentUpdatesMaintenanceWindowsArgs(
maintenance_windows=[dynatrace.OneagentUpdatesMaintenanceWindowsMaintenanceWindowArgs(
maintenance_window="string",
)],
),
revision="string",
scope="string",
target_version="string")
const oneagentUpdatesResource = new dynatrace.OneagentUpdates("oneagentUpdatesResource", {
updateMode: "string",
maintenanceWindows: {
maintenanceWindows: [{
maintenanceWindow: "string",
}],
},
revision: "string",
scope: "string",
targetVersion: "string",
});
type: dynatrace:OneagentUpdates
properties:
maintenanceWindows:
maintenanceWindows:
- maintenanceWindow: string
revision: string
scope: string
targetVersion: string
updateMode: string
OneagentUpdates 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 OneagentUpdates resource accepts the following input properties:
- Update
Mode string - Possible Values:
AUTOMATIC
,AUTOMATIC_DURING_MW
,MANUAL
- Maintenance
Windows Pulumiverse.Dynatrace. Inputs. Oneagent Updates Maintenance Windows - Maintenance windows
- Revision string
- Revision
- Scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- Target
Version string - Target version
- Update
Mode string - Possible Values:
AUTOMATIC
,AUTOMATIC_DURING_MW
,MANUAL
- Maintenance
Windows OneagentUpdates Maintenance Windows Args - Maintenance windows
- Revision string
- Revision
- Scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- Target
Version string - Target version
- update
Mode String - Possible Values:
AUTOMATIC
,AUTOMATIC_DURING_MW
,MANUAL
- maintenance
Windows OneagentUpdates Maintenance Windows - Maintenance windows
- revision String
- Revision
- scope String
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- target
Version String - Target version
- update
Mode string - Possible Values:
AUTOMATIC
,AUTOMATIC_DURING_MW
,MANUAL
- maintenance
Windows OneagentUpdates Maintenance Windows - Maintenance windows
- revision string
- Revision
- scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- target
Version string - Target version
- update_
mode str - Possible Values:
AUTOMATIC
,AUTOMATIC_DURING_MW
,MANUAL
- maintenance_
windows OneagentUpdates Maintenance Windows Args - Maintenance windows
- revision str
- Revision
- scope str
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- target_
version str - Target version
- update
Mode String - Possible Values:
AUTOMATIC
,AUTOMATIC_DURING_MW
,MANUAL
- maintenance
Windows Property Map - Maintenance windows
- revision String
- Revision
- scope String
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- target
Version String - Target version
Outputs
All input properties are implicitly available as output properties. Additionally, the OneagentUpdates 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 OneagentUpdates Resource
Get an existing OneagentUpdates 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?: OneagentUpdatesState, opts?: CustomResourceOptions): OneagentUpdates
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
maintenance_windows: Optional[OneagentUpdatesMaintenanceWindowsArgs] = None,
revision: Optional[str] = None,
scope: Optional[str] = None,
target_version: Optional[str] = None,
update_mode: Optional[str] = None) -> OneagentUpdates
func GetOneagentUpdates(ctx *Context, name string, id IDInput, state *OneagentUpdatesState, opts ...ResourceOption) (*OneagentUpdates, error)
public static OneagentUpdates Get(string name, Input<string> id, OneagentUpdatesState? state, CustomResourceOptions? opts = null)
public static OneagentUpdates get(String name, Output<String> id, OneagentUpdatesState 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.
- Maintenance
Windows Pulumiverse.Dynatrace. Inputs. Oneagent Updates Maintenance Windows - Maintenance windows
- Revision string
- Revision
- Scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- Target
Version string - Target version
- Update
Mode string - Possible Values:
AUTOMATIC
,AUTOMATIC_DURING_MW
,MANUAL
- Maintenance
Windows OneagentUpdates Maintenance Windows Args - Maintenance windows
- Revision string
- Revision
- Scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- Target
Version string - Target version
- Update
Mode string - Possible Values:
AUTOMATIC
,AUTOMATIC_DURING_MW
,MANUAL
- maintenance
Windows OneagentUpdates Maintenance Windows - Maintenance windows
- revision String
- Revision
- scope String
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- target
Version String - Target version
- update
Mode String - Possible Values:
AUTOMATIC
,AUTOMATIC_DURING_MW
,MANUAL
- maintenance
Windows OneagentUpdates Maintenance Windows - Maintenance windows
- revision string
- Revision
- scope string
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- target
Version string - Target version
- update
Mode string - Possible Values:
AUTOMATIC
,AUTOMATIC_DURING_MW
,MANUAL
- maintenance_
windows OneagentUpdates Maintenance Windows Args - Maintenance windows
- revision str
- Revision
- scope str
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- target_
version str - Target version
- update_
mode str - Possible Values:
AUTOMATIC
,AUTOMATIC_DURING_MW
,MANUAL
- maintenance
Windows Property Map - Maintenance windows
- revision String
- Revision
- scope String
- The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
- target
Version String - Target version
- update
Mode String - Possible Values:
AUTOMATIC
,AUTOMATIC_DURING_MW
,MANUAL
Supporting Types
OneagentUpdatesMaintenanceWindows, OneagentUpdatesMaintenanceWindowsArgs
OneagentUpdatesMaintenanceWindowsMaintenanceWindow, OneagentUpdatesMaintenanceWindowsMaintenanceWindowArgs
- Maintenance
Window string - Select a maintenance window for OneAgent updates
- Maintenance
Window string - Select a maintenance window for OneAgent updates
- maintenance
Window String - Select a maintenance window for OneAgent updates
- maintenance
Window string - Select a maintenance window for OneAgent updates
- maintenance
Window String - Select a maintenance window for OneAgent updates
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.