Todos os produtos
Search
Central de documentação

Resource Orchestration Service:DATASOURCE::SAE::Namespace

Última atualização: Jun 27, 2026

Consulta os detalhes de um namespace do Serverless App Engine (SAE).

Sintaxe

{
  "Type": "DATASOURCE::SAE::Namespace",
  "Properties": {
    "NameSpaceShortId": String,
    "NamespaceId": String,
    "RefreshOptions": String
  }
}

Propriedades

Nome da propriedade

Tipo

Obrigatória

Atualização permitida

Descrição

Restrições

NameSpaceShortId

String

Não

Sim

ID curto do namespace.

A região não é obrigatória. O ID pode ter até 20 caracteres e deve conter apenas letras minúsculas e dígitos.

NamespaceId

String

Não

Sim

ID do namespace.

Nenhuma

RefreshOptions

String

Não

Sim

Política de atualização dos recursos da source de dados ao atualizar a pilha.

Valores válidos:

  • Never (padrão): o recurso da source de dados não é atualizado ao atualizar a pilha.

  • Always: o recurso da source de dados é atualizado em cada atualização da pilha.

Valores de retorno

Fn::GetAtt

  • Description: descrição do namespace.

  • SecurityGroupId: ID do grupo de segurança.

  • VSwitchId: ID do vSwitch.

  • AppCount: número de aplicações.

  • NotificationExpired: indica se a notificação da ordem de alteração expirou.

  • BelongRegion: região à qual o namespace pertence.

  • NameSpaceShortId: ID curto do namespace.

  • NamespaceName: nome do namespace.

  • TenantId: ID do tenant no namespace do SAE.

  • VpcId: ID da Virtual Private Cloud (VPC).

  • LastChangeOrderRunning: indica se há uma ordem de alteração em andamento no namespace.

  • UserId: ID do usuário.

  • LastChangeOrderId: ID da ordem de alteração mais recente.

  • VSwitchName: nome do vSwitch.

  • VpcName: nome da VPC.

  • JumpServerIp: endereço IP do jump server.

  • NamespaceId: ID do namespace.

  • JumpServerAppId: ID da aplicação do jump server.

  • LastChangeOrderStatus: status da ordem de alteração mais recente.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  NamespaceId:
    Type: String
    Description: The ID of the namespace.
    Required: false
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::SAE::Namespace
    Properties:
      NamespaceId:
        Ref: NamespaceId
Outputs:
  Description:
    Description: The description of the namespace.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Description
  SecurityGroupId:
    Description: The ID of the security group.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - SecurityGroupId
  VSwitchId:
    Description: The ID of the vSwitch.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - VSwitchId
  AppCount:
    Description: The number of applications.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - AppCount
  NotificationExpired:
    Description: Indicates whether the notification for a change order has expired.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - NotificationExpired
  BelongRegion:
    Description: The region to which the namespace belongs.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - BelongRegion
  NameSpaceShortId:
    Description: The short ID of the namespace.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - NameSpaceShortId
  NamespaceName:
    Description: The name of the namespace.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - NamespaceName
  TenantId:
    Description: The ID of the tenant in the SAE namespace.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - TenantId
  VpcId:
    Description: The ID of the virtual private cloud (VPC).
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - VpcId
  LastChangeOrderRunning:
    Description: Indicates whether a change order is running in the namespace.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - LastChangeOrderRunning
  UserId:
    Description: The ID of the user.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - UserId
  LastChangeOrderId:
    Description: The ID of the change order.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - LastChangeOrderId
  VSwitchName:
    Description: The name of the vSwitch.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - VSwitchName
  VpcName:
    Description: The name of the VPC.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - VpcName
  JumpServerIp:
    Description: The IP address of the jump server.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - JumpServerIp
  NamespaceId:
    Description: The ID of the namespace.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - NamespaceId
  JumpServerAppId:
    Description: The ID of the jump server application.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - JumpServerAppId
  LastChangeOrderStatus:
    Description: The status of the most recent change order.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - LastChangeOrderStatus
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "NamespaceId": {
      "Type": "String",
      "Description": "The ID of the namespace.",
      "Required": false
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::SAE::Namespace",
      "Properties": {
        "NamespaceId": {
          "Ref": "NamespaceId"
        }
      }
    }
  },
  "Outputs": {
    "Description": {
      "Description": "The description of the namespace.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Description"
        ]
      }
    },
    "SecurityGroupId": {
      "Description": "The ID of the security group.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "SecurityGroupId"
        ]
      }
    },
    "VSwitchId": {
      "Description": "The ID of the vSwitch.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "VSwitchId"
        ]
      }
    },
    "AppCount": {
      "Description": "The number of applications.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "AppCount"
        ]
      }
    },
    "NotificationExpired": {
      "Description": "Indicates whether the notification for a change order has expired.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "NotificationExpired"
        ]
      }
    },
    "BelongRegion": {
      "Description": "The region to which the namespace belongs.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "BelongRegion"
        ]
      }
    },
    "NameSpaceShortId": {
      "Description": "The short ID of the namespace.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "NameSpaceShortId"
        ]
      }
    },
    "NamespaceName": {
      "Description": "The name of the namespace.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "NamespaceName"
        ]
      }
    },
    "TenantId": {
      "Description": "The ID of the tenant in the SAE namespace.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "TenantId"
        ]
      }
    },
    "VpcId": {
      "Description": "The ID of the virtual private cloud (VPC).",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "VpcId"
        ]
      }
    },
    "LastChangeOrderRunning": {
      "Description": "Indicates whether a change order is running in the namespace.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "LastChangeOrderRunning"
        ]
      }
    },
    "UserId": {
      "Description": "The ID of the user.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "UserId"
        ]
      }
    },
    "LastChangeOrderId": {
      "Description": "The ID of the change order.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "LastChangeOrderId"
        ]
      }
    },
    "VSwitchName": {
      "Description": "The name of the vSwitch.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "VSwitchName"
        ]
      }
    },
    "VpcName": {
      "Description": "The name of the VPC.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "VpcName"
        ]
      }
    },
    "JumpServerIp": {
      "Description": "The IP address of the jump server.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "JumpServerIp"
        ]
      }
    },
    "NamespaceId": {
      "Description": "The ID of the namespace.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "NamespaceId"
        ]
      }
    },
    "JumpServerAppId": {
      "Description": "The ID of the jump server application.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "JumpServerAppId"
        ]
      }
    },
    "LastChangeOrderStatus": {
      "Description": "The status of the most recent change order.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "LastChangeOrderStatus"
        ]
      }
    }
  }
}