cohesity.dataprotect.cohesity_view (1.1.9) — module

Management of Cohesity View

| "added in version" 1.1.9 of cohesity.dataprotect"

Authors: Naveena (@naveena-maplelabs)

Install collection

Install with ansible-galaxy collection install cohesity.dataprotect:==1.1.9


Add to requirements.yml

  collections:
    - name: cohesity.dataprotect
      version: 1.1.9

Description

Ansible Module to create View.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Create Cohesity View.
- cohesity_view:
    server: cohesity.lab
    username: admin
    password: password
    state: present
    name: "AnsibleView"
    description: "View is created using Ansible"
    storage_domain: "DefaultStorageDomain"
    qos_policy: "Backup Target Low"
    protocol: "All"
    case_insensitive: false
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Delete Cohesity View.
- cohesity_view:
    server: cohesity.lab
    username: admin
    password: password
    state: absent
    name: "AnsibleView"

Inputs

    
name:
    description: Name of the view
    required: true
    type: str

quota:
    description: Quota
    required: false
    type: dict

state:
    choices:
    - present
    - absent
    default: present
    description: Determines if the agent should be C(present) or C(absent) from the host
    type: str

cluster:
    aliases:
    - cohesity_server
    description:
    - IP or FQDN for the Cohesity Cluster
    type: str

protocol:
    default: All
    description: Protocol
    type: str

security:
    description: Security
    required: false
    type: dict

qos_policy:
    default: Backup Target Low
    description: Qos Policy
    type: str

description:
    default: ''
    description: Description for the View
    type: str

nfs_options:
    description: Nfs Option
    required: false
    type: dict

smb_options:
    description: SMB Option
    required: false
    type: dict

cohesity_admin:
    aliases:
    - admin_name
    - cohesity_user
    - username
    description:
    - Username with which Ansible will connect to the Cohesity Cluster. Domain Specific
      credentails can be configured in following formats
    - AD.domain.com/username
    - AD.domain.com/username@tenant
    - LOCAL/username@tenant
    type: str

storage_domain:
    description: Storage Domain where view is created
    required: true
    type: str

validate_certs:
    aliases:
    - cohesity_validate_certs
    default: true
    description:
    - Switch determines if SSL Validation should be enabled.
    type: bool

case_insensitive:
    description: ''
    required: true
    type: bool

cohesity_password:
    aliases:
    - password
    - admin_pass
    description:
    - Password belonging to the selected Username.  This parameter will not be logged.
    type: str

object_key_pattern:
    description: Object Key Pattern
    required: false
    type: str

inline_dedupe_compression:
    default: false
    description: Inline Dedupe Compression
    type: bool