AssociationProperty Values | Description | Corresponding AssociationPropertyMetadata |
ALIYUN::Flow::Connection::ConnectionId | Get a list of service connections in Apsara Devops. | RegionId: The region ID. (Default: The region where the stack resides.) organizationId: The enterprise identity, also known as the enterprise ID, in string format. Obtain it from the Apsara Devops access link. For example, https://devops.aliyun.com/organization/[OrganizationId]
sericeConnectionType: The service connection type.
Example Code JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"OrganizationId": {
"Type": "String"
},
"SericeConnectionType": {
"Type": "String",
"Default": "aliyun_code"
},
"ServiceConnectionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::Flow::Connection::ConnectionId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"organizationId": "${OrganizationId}",
"sericeConnectionType": "${SericeConnectionType}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
OrganizationId:
Type: String
SericeConnectionType:
Type: String
Default: aliyun_code
ServiceConnectionId:
Type: String
AssociationProperty: ALIYUN::Flow::Connection::ConnectionId
AssociationPropertyMetadata:
RegionId: ${RegionId}
organizationId: ${OrganizationId}
sericeConnectionType: ${SericeConnectionType}
|
ALIYUN::Flow::Organization::OrganizationId | Query the list of enterprises for the current user. | RegionId: The region ID. (Default: The region where the stack resides.) accessLevel: The user permission. minAccessLevel: The minimum user permission. Use this to query the list of enterprises where the user's permission is greater than or equal to the value set for this field.
Example Code JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"OrganizationId": {
"Type": "String",
"AssociationProperty": "ALIYUN::Flow::Organization::OrganizationId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"accessLevel": 5,
"minAccessLevel": 5
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
OrganizationId:
Type: String
AssociationProperty: ALIYUN::Flow::Organization::OrganizationId
AssociationPropertyMetadata:
RegionId: ${RegionId}
accessLevel: 5
minAccessLevel: 5
|