EVS / Client / get_environment

get_environment

EVS.Client.get_environment(**kwargs)

Returns a description of the specified environment.

See also: AWS API Documentation

Request Syntax

response = client.get_environment(
    environmentId='string'
)
Parameters:

environmentId (string) –

[REQUIRED]

A unique ID for the environment.

Return type:

dict

Returns:

Response Syntax

{
    'environment': {
        'environmentId': 'string',
        'environmentState': 'CREATING'|'CREATED'|'DELETING'|'DELETED'|'CREATE_FAILED',
        'stateDetails': 'string',
        'createdAt': datetime(2015, 1, 1),
        'modifiedAt': datetime(2015, 1, 1),
        'environmentArn': 'string',
        'environmentName': 'string',
        'vpcId': 'string',
        'serviceAccessSubnetId': 'string',
        'vcfVersion': 'VCF-5.2.1'|'VCF-5.2.2'|'SELF_DEPLOYED',
        'termsAccepted': True|False,
        'licenseInfo': [
            {
                'solutionKey': 'string',
                'vsanKey': 'string'
            },
        ],
        'siteId': 'string',
        'environmentStatus': 'PASSED'|'FAILED'|'UNKNOWN',
        'checks': [
            {
                'type': 'KEY_REUSE'|'KEY_COVERAGE'|'REACHABILITY'|'HOST_COUNT'|'VCENTER_REACHABILITY'|'VCENTER_VM_SYNC'|'VCENTER_VM_EVENT'|'OPERATIONS_MANAGER_REACHABILITY'|'SDDC_MANAGER_REACHABILITY'|'SDDC_MANAGER_HOST_COUNT'|'SDDC_MANAGER_KEY_COVERAGE'|'SDDC_MANAGER_KEY_REUSE'|'CONNECTOR_HEALTH',
                'id': 'string',
                'result': 'PASSED'|'FAILED'|'UNKNOWN',
                'impairedSince': datetime(2015, 1, 1)
            },
        ],
        'connectivityInfo': {
            'privateRouteServerPeerings': [
                'string',
            ]
        },
        'vcfHostnames': {
            'vCenter': 'string',
            'nsx': 'string',
            'nsxManager1': 'string',
            'nsxManager2': 'string',
            'nsxManager3': 'string',
            'nsxEdge1': 'string',
            'nsxEdge2': 'string',
            'sddcManager': 'string',
            'cloudBuilder': 'string'
        },
        'kmsKeyId': 'string',
        'serviceAccessSecurityGroups': {
            'securityGroups': [
                'string',
            ]
        },
        'credentials': [
            {
                'secretArn': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) –

    • environment (dict) –

      A description of the requested environment.

      • environmentId (string) –

        The unique ID for the environment.

      • environmentState (string) –

        The state of an environment.

      • stateDetails (string) –

        A detailed description of the environmentState of an environment.

      • createdAt (datetime) –

        The date and time that the environment was created.

      • modifiedAt (datetime) –

        The date and time that the environment was modified.

      • environmentArn (string) –

        The Amazon Resource Name (ARN) that is associated with the environment.

      • environmentName (string) –

        The name of the environment.

      • vpcId (string) –

        The VPC associated with the environment.

      • serviceAccessSubnetId (string) –

        The subnet that is used to establish connectivity between the Amazon EVS control plane and VPC. Amazon EVS uses this subnet to perform validations and create the environment.

      • vcfVersion (string) –

        The VCF version of the environment.

      • termsAccepted (boolean) –

        Customer confirmation that the customer has purchased and will continue to maintain the required number of VCF software licenses to cover all physical processor cores in the Amazon EVS environment. Information about your VCF software in Amazon EVS will be shared with Broadcom to verify license compliance. Amazon EVS does not validate license keys. To validate license keys, visit the Broadcom support portal.

      • licenseInfo (list) –

        The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key. The VCF solution key must meet minimum core requirements, and the vSAN license key must meet minimum capacity requirements for your selected instance type.

        For information about minimum license requirements, see the VCF subscriptions section in the Amazon EVS User Guide.

        • (dict) –

          The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key.

          • solutionKey (string) –

            The VCF solution key. This license unlocks VMware VCF product features, including vSphere, NSX, SDDC Manager, and vCenter Server. The VCF solution key must meet the instance-type-specific minimum core requirements.

          • vsanKey (string) –

            The VSAN license key. This license unlocks vSAN features. The vSAN license key must meet the instance-type-specific minimum capacity requirements.

      • siteId (string) –

        The Broadcom Site ID that is associated with your Amazon EVS environment. Amazon EVS uses the Broadcom Site ID that you provide to meet Broadcom VCF license usage reporting requirements for Amazon EVS.

      • environmentStatus (string) –

        Reports impaired functionality that stems from issues internal to the environment, such as impaired reachability.

      • checks (list) –

        A check on the environment to identify connector health.

        • (dict) –

          A check on the environment to identify environment health and validate VMware VCF licensing compliance.

          • type (string) –

            The check type. Amazon EVS performs the following checks:

            • KEY_REUSE: Verifies that the VCF license key is not used by another Amazon EVS environment.

            • KEY_COVERAGE: Verifies that the VCF license key allocates sufficient vCPU cores for all deployed hosts.

            • REACHABILITY: Verifies that the Amazon EVS control plane has a persistent connection to SDDC Manager.

            • HOST_COUNT: Verifies that the environment meets the minimum host count.

            • VCENTER_REACHABILITY: Verifies vCenter Server reachability through the vCenter connector.

            • VCENTER_VM_SYNC: Verifies that the vCenter connector can synchronize VM inventory from vCenter Server.

            • VCENTER_VM_EVENT: Verifies that the vCenter connector can receive VM lifecycle events from vCenter Server.

            • OPERATIONS_MANAGER_REACHABILITY: Verifies Operations Manager reachability through the Operations Manager connector.

            • SDDC_MANAGER_REACHABILITY: Verifies SDDC Manager reachability through the SDDC Manager connector.

            • SDDC_MANAGER_HOST_COUNT: Verifies that the host count reported by SDDC Manager meets Amazon EVS minimum requirements.

            • SDDC_MANAGER_KEY_COVERAGE: Verifies that the VCF license key configured in SDDC Manager covers all deployed hosts.

            • SDDC_MANAGER_KEY_REUSE: Verifies that the VCF license key configured in SDDC Manager is not used by another Amazon EVS environment.

            • CONNECTOR_HEALTH: Aggregate health across all connectors in the environment.

          • id (string) –

            A unique ID for the check.

          • result (string) –

            The check result.

          • impairedSince (datetime) –

            The time when environment health began to be impaired.

      • connectivityInfo (dict) –

        The connectivity configuration for the environment. Amazon EVS requires that you specify two route server peer IDs. During environment creation, the route server endpoints peer with the NSX uplink VLAN for connectivity to the NSX overlay network.

        • privateRouteServerPeerings (list) –

          The unique IDs for private route server peers.

          • (string) –

      • vcfHostnames (dict) –

        The DNS hostnames to be used by the VCF management appliances in your environment.

        For environment creation to be successful, each hostname entry must resolve to a domain name that you’ve registered in your DNS service of choice and configured in the DHCP option set of your VPC. DNS hostnames cannot be changed after environment creation has started.

        • vCenter (string) –

          The VMware vCenter hostname.

        • nsx (string) –

          The VMware NSX Virtual IP (VIP) hostname.

        • nsxManager1 (string) –

          The hostname for the first VMware NSX Manager virtual machine (VM).

        • nsxManager2 (string) –

          The hostname for the second VMware NSX Manager virtual machine (VM).

        • nsxManager3 (string) –

          The hostname for the third VMware NSX Manager virtual machine (VM).

        • nsxEdge1 (string) –

          The hostname for the first NSX Edge node.

        • nsxEdge2 (string) –

          The hostname for the second NSX Edge node.

        • sddcManager (string) –

          The hostname for SDDC Manager.

        • cloudBuilder (string) –

          The hostname for VMware Cloud Builder.

      • kmsKeyId (string) –

        The Amazon Web Services KMS key ID that Amazon Web Services Secrets Manager uses to encrypt secrets that are associated with the environment. These secrets contain the VCF credentials that are needed to install vCenter Server, NSX, and SDDC Manager.

        By default, Amazon EVS use the Amazon Web Services Secrets Manager managed key aws/secretsmanager. You can also specify a customer managed key.

      • serviceAccessSecurityGroups (dict) –

        The security groups that allow traffic between the Amazon EVS control plane and your VPC for service access. If a security group is not specified, Amazon EVS uses the default security group in your account for service access.

        • securityGroups (list) –

          The security groups that allow service access.

          • (string) –

      • credentials (list) –

        The VCF credentials that are stored as Amazon EVS managed secrets in Amazon Web Services Secrets Manager.

        Amazon EVS stores credentials that are needed to install vCenter Server, NSX, and SDDC Manager.

        • (dict) –

          A managed secret that contains the credentials for installing vCenter Server, NSX, and SDDC Manager. During environment creation, the Amazon EVS control plane uses Amazon Web Services Secrets Manager to create, encrypt, validate, and store secrets. If you choose to delete your environment, Amazon EVS also deletes the secrets that are associated with your environment. Amazon EVS does not provide managed rotation of secrets. We recommend that you rotate secrets regularly to ensure that secrets are not long-lived.

          • secretArn (string) –

            The Amazon Resource Name (ARN) of the secret.

Exceptions