powerscale.SynciqPeerCertificate
Explore with Pulumi AI
This resource is used to manage the SyncIQ Peer Certificate entity of PowerScale Array. We can Create, Read, Update and Delete the SyncIQ Peer Certificate using this resource. We can also import existing SyncIQ Peer Certificate from PowerScale array.
Create SynciqPeerCertificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SynciqPeerCertificate(name: string, args: SynciqPeerCertificateArgs, opts?: CustomResourceOptions);
@overload
def SynciqPeerCertificate(resource_name: str,
args: SynciqPeerCertificateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SynciqPeerCertificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
path: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None)
func NewSynciqPeerCertificate(ctx *Context, name string, args SynciqPeerCertificateArgs, opts ...ResourceOption) (*SynciqPeerCertificate, error)
public SynciqPeerCertificate(string name, SynciqPeerCertificateArgs args, CustomResourceOptions? opts = null)
public SynciqPeerCertificate(String name, SynciqPeerCertificateArgs args)
public SynciqPeerCertificate(String name, SynciqPeerCertificateArgs args, CustomResourceOptions options)
type: powerscale:SynciqPeerCertificate
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 SynciqPeerCertificateArgs
- 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 SynciqPeerCertificateArgs
- 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 SynciqPeerCertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SynciqPeerCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SynciqPeerCertificateArgs
- 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 synciqPeerCertificateResource = new Powerscale.SynciqPeerCertificate("synciqPeerCertificateResource", new()
{
Path = "string",
Description = "string",
Name = "string",
});
example, err := powerscale.NewSynciqPeerCertificate(ctx, "synciqPeerCertificateResource", &powerscale.SynciqPeerCertificateArgs{
Path: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
})
var synciqPeerCertificateResource = new SynciqPeerCertificate("synciqPeerCertificateResource", SynciqPeerCertificateArgs.builder()
.path("string")
.description("string")
.name("string")
.build());
synciq_peer_certificate_resource = powerscale.SynciqPeerCertificate("synciqPeerCertificateResource",
path="string",
description="string",
name="string")
const synciqPeerCertificateResource = new powerscale.SynciqPeerCertificate("synciqPeerCertificateResource", {
path: "string",
description: "string",
name: "string",
});
type: powerscale:SynciqPeerCertificate
properties:
description: string
name: string
path: string
SynciqPeerCertificate 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 SynciqPeerCertificate resource accepts the following input properties:
- Path string
- Local path (on the PowerScale filesystem) to the certificate that is to be imported. This resource will be recreated if the value of this field is changed.
- Description string
- Description field associated with a certificate provided for administrative convenience.
- Name string
- Administrator specified name identifier.
- Path string
- Local path (on the PowerScale filesystem) to the certificate that is to be imported. This resource will be recreated if the value of this field is changed.
- Description string
- Description field associated with a certificate provided for administrative convenience.
- Name string
- Administrator specified name identifier.
- path String
- Local path (on the PowerScale filesystem) to the certificate that is to be imported. This resource will be recreated if the value of this field is changed.
- description String
- Description field associated with a certificate provided for administrative convenience.
- name String
- Administrator specified name identifier.
- path string
- Local path (on the PowerScale filesystem) to the certificate that is to be imported. This resource will be recreated if the value of this field is changed.
- description string
- Description field associated with a certificate provided for administrative convenience.
- name string
- Administrator specified name identifier.
- path str
- Local path (on the PowerScale filesystem) to the certificate that is to be imported. This resource will be recreated if the value of this field is changed.
- description str
- Description field associated with a certificate provided for administrative convenience.
- name str
- Administrator specified name identifier.
- path String
- Local path (on the PowerScale filesystem) to the certificate that is to be imported. This resource will be recreated if the value of this field is changed.
- description String
- Description field associated with a certificate provided for administrative convenience.
- name String
- Administrator specified name identifier.
Outputs
All input properties are implicitly available as output properties. Additionally, the SynciqPeerCertificate 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 SynciqPeerCertificate Resource
Get an existing SynciqPeerCertificate 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?: SynciqPeerCertificateState, opts?: CustomResourceOptions): SynciqPeerCertificate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
name: Optional[str] = None,
path: Optional[str] = None) -> SynciqPeerCertificate
func GetSynciqPeerCertificate(ctx *Context, name string, id IDInput, state *SynciqPeerCertificateState, opts ...ResourceOption) (*SynciqPeerCertificate, error)
public static SynciqPeerCertificate Get(string name, Input<string> id, SynciqPeerCertificateState? state, CustomResourceOptions? opts = null)
public static SynciqPeerCertificate get(String name, Output<String> id, SynciqPeerCertificateState state, CustomResourceOptions options)
resources: _: type: powerscale:SynciqPeerCertificate get: 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.
- Description string
- Description field associated with a certificate provided for administrative convenience.
- Name string
- Administrator specified name identifier.
- Path string
- Local path (on the PowerScale filesystem) to the certificate that is to be imported. This resource will be recreated if the value of this field is changed.
- Description string
- Description field associated with a certificate provided for administrative convenience.
- Name string
- Administrator specified name identifier.
- Path string
- Local path (on the PowerScale filesystem) to the certificate that is to be imported. This resource will be recreated if the value of this field is changed.
- description String
- Description field associated with a certificate provided for administrative convenience.
- name String
- Administrator specified name identifier.
- path String
- Local path (on the PowerScale filesystem) to the certificate that is to be imported. This resource will be recreated if the value of this field is changed.
- description string
- Description field associated with a certificate provided for administrative convenience.
- name string
- Administrator specified name identifier.
- path string
- Local path (on the PowerScale filesystem) to the certificate that is to be imported. This resource will be recreated if the value of this field is changed.
- description str
- Description field associated with a certificate provided for administrative convenience.
- name str
- Administrator specified name identifier.
- path str
- Local path (on the PowerScale filesystem) to the certificate that is to be imported. This resource will be recreated if the value of this field is changed.
- description String
- Description field associated with a certificate provided for administrative convenience.
- name String
- Administrator specified name identifier.
- path String
- Local path (on the PowerScale filesystem) to the certificate that is to be imported. This resource will be recreated if the value of this field is changed.
Import
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.
A Peer Certificate can be imported by its name
The command to import is
$ pulumi import powerscale:index/synciqPeerCertificate:SynciqPeerCertificate certificate <certificate name>
Example:
$ pulumi import powerscale:index/synciqPeerCertificate:SynciqPeerCertificate certificate2 "peer_certificate_01"
after running any of these commands, populate the path field with the value “/dummy” to start managing this resource. Add other fields as required.
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.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- powerscale dell/terraform-provider-powerscale
- License
- Notes
- This Pulumi package is based on the
powerscale
Terraform Provider.