title | linkTitle | page_title | subcategory | description |
---|---|---|---|---|
powerscale_cluster_time resource |
powerscale_cluster_time |
powerscale_cluster_time Resource - terraform-provider-powerscale |
This resource is used to manage the Cluster Time settings of PowerScale Array. We can Create, Update and Delete the Cluster Time using this resource. We can also import an existing Cluster Time from PowerScale array. |
This resource is used to manage the Cluster Time settings of PowerScale Array. We can Create, Update and Delete the Cluster Time using this resource. We can also import an existing Cluster Time from PowerScale array.
/*
Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
# Available actions: Create, Update, Delete and Import
# If resource arguments are omitted, `terraform apply` will load Cluster Time Details from PowerScale, and save to
# terraform state file.
# If any resource arguments are specified, `terraform apply` will try to load Cluster Time Details (if not loaded) and update the settings.
# `terraform destroy` will delete the resource from terraform state file rather than deleting Cluster Time Details from PowerScale.
# For more information, Please check the terraform state file.
resource "powerscale_cluster_time" "test" {
date = "01/12/2024"
time = "00:32"
path = "Asia/Kolkata"
}
# After the execution of above resource block, Cluster Time Settings would have been cached in terraform state file, and
# Cluster Time Settings would have been updated on PowerScale.
# For more information, Please check the terraform state file.
date
(String) Date of the Cluster Time Settings, Please follow format MM/dd/yyyypath
(String) Timezone hierarchical name.time
(String) Time of the Cluster Time Settings, Please follow format HH:mm
abbreviation
(String) Timezone abbreviation.id
(String) ID of the Cluster Time Settings.time_millis
(Number) Time in Miliseconds of the Cluster
Unless specified otherwise, all fields of this resource can be updated.
Import is supported using the following syntax:
# Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
# Licensed under the Mozilla Public License Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://mozilla.org/MPL/2.0/
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# The command is
# terraform import powerscale_cluster_time.time <anystring>
# Example:
terraform import powerscale_cluster_time.time cluster_time
# after running this command, populate the name field and other required parameters in the config file to start managing this resource.
# Note: running "terraform show" after importing shows the current config/state of the resource. You can copy/paste that config to make it easier to manage the resource.