Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::ComputeNest::IntranetConnectorEndpoint

Última atualização: Jun 27, 2026

Cria um endpoint para o conector de intranet do ComputeNest.

Sintaxe

{
  "Type": "ALIYUN::ComputeNest::IntranetConnectorEndpoint",
  "Properties": {
    "EnablePrivateZone": Boolean,
    "Type": String,
    "EndpointRegionId": String,
    "Description": String,
    "VpcId": String,
    "ResourceIds": List,
    "Name": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatório

Editável

Descrição

Restrição

EndpointRegionId

String

Sim

Não

ID da região do endpoint.

Nenhuma.

VpcId

String

Sim

Não

ID da Virtual Private Cloud (VPC) à qual o endpoint pertence.

Nenhuma.

Description

String

Não

Não

Descrição do endpoint.

A descrição pode ter até 500 caracteres.

EnablePrivateZone

Boolean

Não

Não

Indica se o recurso de zona privada está ativado.

Nenhuma.

Name

String

Não

Não

Nome do endpoint.

Nenhuma.

ResourceIds

List

Não

Não

IDs das instâncias a associar ao endpoint.

Para associar uma instância do Elastic Compute Service (ECS) ao endpoint, defina esta propriedade como o ID da instância ECS. É possível especificar até duas instâncias, que devem residir na VPC indicada.

Type

String

Não

Não

Tipo do endpoint.

Valores válidos:

  • Private

  • Managed

Valores de retorno

Fn::GetAtt

EndpointId: o ID do endpoint.

Exemplos

Formato YAML

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Type:
    Type: String
    Description:
      en: |-
        The type of the endpoint. 
        - Private (default) : private access point
        - Managed: managed access point.
    AllowedValues:
      - Private
      - Managed
    Required: false
  EndpointRegionId:
    Type: String
    Description:
      en: The region ID of the endpoint.
    Required: true
  VpcId:
    AssociationProperty: ALIYUN::ECS::VPC::VPCId
    Type: String
    Description:
      en: The ID of the VPC to which the endpoint belongs.
    Required: true
  ResourceIds:
    AssociationPropertyMetadata:
      Parameter:
        Type: String
        Required: false
    AssociationProperty: List[Parameter]
    Type: Json
    Description:
      en: |-
        Endpoint instance ID, when using ECS as an access point, fill in the instance ID of this ECS. Multiple instances can be specified up to a maximum of 2. The instance is required to be under the passed VPC.
        Hosted access points do not require incoming.
    Required: false
    MaxLength: 2
Resources:
  IntranetConnectEndpoint:
    Type: ALIYUN::ComputeNest::IntranetConnectorEndpoint
    Properties:
      Type:
        Ref: Type
      EndpointRegionId:
        Ref: EndpointRegionId
      VpcId:
        Ref: VpcId
      ResourceIds:
        Ref: ResourceIds
Outputs:
  EndpointId:
    Description: The ID of the endpoint.
    Value:
      Fn::GetAtt:
        - IntranetConnectEndpoint
        - EndpointId

Formato JSON

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Type": {
      "Type": "String",
      "Description": {
        "en": "The type of the endpoint.\n- Private (default) : private access point\n- Managed: managed access point."
      },
      "AllowedValues": [
        "Private",
        "Managed"
      ],
      "Required": false
    },
    "EndpointRegionId": {
      "Type": "String",
      "Description": {
        "en": "The region ID of the endpoint."
      },
      "Required": true
    },
    "VpcId": {
      "AssociationProperty": "ALIYUN::ECS::VPC::VPCId",
      "Type": "String",
      "Description": {
        "en": "The ID of the VPC to which the endpoint belongs."
      },
      "Required": true
    },
    "ResourceIds": {
      "AssociationPropertyMetadata": {
        "Parameter": {
          "Type": "String",
          "Required": false
        }
      },
      "AssociationProperty": "List[Parameter]",
      "Type": "Json",
      "Description": {
        "en": "Endpoint instance ID, when using ECS as an access point, fill in the instance ID of this ECS. Multiple instances can be specified up to a maximum of 2. The instance is required to be under the passed VPC.\nHosted access points do not require incoming."
      },
      "Required": false,
      "MaxLength": 2
    }
  },
  "Resources": {
    "IntranetConnectEndpoint": {
      "Type": "ALIYUN::ComputeNest::IntranetConnectorEndpoint",
      "Properties": {
        "Type": {
          "Ref": "Type"
        },
        "EndpointRegionId": {
          "Ref": "EndpointRegionId"
        },
        "VpcId": {
          "Ref": "VpcId"
        },
        "ResourceIds": {
          "Ref": "ResourceIds"
        }
      }
    }
  },
  "Outputs": {
    "EndpointId": {
      "Description": "The ID of the endpoint.",
      "Value": {
        "Fn::GetAtt": [
          "IntranetConnectEndpoint",
          "EndpointId"
        ]
      }
    }
  }
}