action visualstudio_update_environment_route { label: "UpdateEnvironmentRoute" provider: visualstudio method: POST path: "/api/v1/Environments/{environmentId}/_callback" encoding: json input: { type: "object" properties: { environmentId: { type: "string" } payload: { type: "object" properties: { sessionId: { type: "string" } sessionPath: { type: "string" } } additionalProperties: false } type: { type: "string" } } required: ["environmentId", "type"] additionalProperties: false } output: { type: "object" properties: { accessToken: { type: "string" } active: { type: "string" format: "date-time" } autoShutdownDelayMinutes: { type: "integer" format: "int32" } billableOwnerType: { type: "integer" format: "int32" enum: ["0 (User)", "1 (Organization)"] } clientUsage: { type: "object" properties: { sessionId: { type: "string" } usageData: { type: "object" } } additionalProperties: false } connection: { type: "object" properties: { connectionServiceUri: { type: "string" } connectionSessionId: { type: "string" } connectionSessionPath: { type: "string" } hostPublicKeys: { type: "array" items: { type: "string" } } relayEndpoint: { type: "string" } relaySasToken: { type: "string" } sessionToken: { type: "string" } tunnelProperties: { type: "object" properties: { clusterId: { type: "string" } connectAccessToken: { type: "string" } domain: { type: "string" } managePortsAccessToken: { type: "string" } serviceUri: { type: "string" } tunnelId: { type: "string" } tunnelName: { type: "string" } } additionalProperties: false } } additionalProperties: false } container: { type: "object" properties: { id: { type: "string" } schemaVersion: { type: "string" } } additionalProperties: false } containerImage: { type: "string" } createFromPrebuild: { type: "boolean" } created: { type: "string" format: "date-time" } displayStorageUtilizationInKb: { type: "boolean" } exportedBlobUrl: { type: "string" } failoverDetails: { type: "object" properties: { failoverEnabled: { type: "boolean" } failoverRegion: { type: "integer" format: "int32" enum: ["101 (EastAsia)", "102 (SouthEastAsia)", "201 (AustraliaCentral)", "202 (AustraliaCentral2)", "203 (AustraliaEast)", "205 (AustraliaSouthEast)", "301 (BrazilSouth)", "401 (CanadaCentral)", "402 (CanadaEast)", "501 (NorthEurope)", "502 (WestEurope)", "601 (FranceCentral)", "602 (FranceSouth)", "701 (CentralIndia)", "702 (SouthIndia)", "703 (WestIndia)", "801 (JapanEast)", "802 (JapanWest)", "901 (KoreaCentral)", "902 (KoreaSouth)", "1001 (SouthAfricaNorth)", "1002 (SouthAfricaWest)", "1201 (UaeCentral)", "1202 (UaeNorth)", "1401 (UkSouth)", "1402 (UkWest)", "1501 (CentralUs)", "1502 (EastUs)", "1503 (EastUs2)", "1504 (NorthCentralUs)", "1505 (SouthCentralUs)", "1506 (WestCentralUs)", "1507 (WestUs)", "1508 (WestUs2)", "1509 (WestUs3)", "1601 (CentralUsEuap)", "1602 (EastUs2Euap)", "1701 (SwitzerlandNorth)", "1702 (SwitzerlandWest)", "1801 (GermanyNorth)", "1802 (GermanyWestCentral)", "1901 (NorwayWest)", "1902 (NorwayEast)"] } } additionalProperties: false } features: { type: "object" } friendlyName: { type: "string" } gitStatus: { type: "object" properties: { ahead: { type: "integer" format: "int32" } behind: { type: "integer" format: "int32" } branch: { type: "string" } commit: { type: "string" } hasUncommittedChanges: { type: "boolean" } hasUnpushedChanges: { type: "boolean" } noGitRepo: { type: "boolean" } } additionalProperties: false } id: { type: "string" } lastStateUpdateReason: { type: "string" } lastUsed: { type: "string" format: "date-time" } location: { type: "string" } organizationId: { type: "string" } ownerId: { type: "string" } planId: { type: "string" } platform: { type: "string" } portForwardingConnection: { type: "object" additionalProperties: true } prebuildType: { type: "string" } recentFolders: { type: "array" items: { type: "string" } } resourceTier: { type: "integer" format: "int32" enum: ["0 (None)", "1 (System)", "2 (Trusted)", "4 (Neutral)", "8 (Untrusted)", "9 (Test)"] } runtimeConstraints: { type: "object" properties: { allowedPortPrivacySettings: { type: "array" items: { type: "integer" format: "int32" enum: ["0 (Private)", "1 (Public)", "2 (Org)"] } } imageAllowList: { type: "array" items: { type: "string" } } } additionalProperties: false } seed: { type: "object" properties: { cloneUrl: { type: "string" } gitConfig: { type: "object" properties: { userEmail: { type: "string" } userName: { type: "string" } } additionalProperties: false } recurseClone: { type: "boolean" } repository: { type: "object" properties: { branchName: { type: "string" } commitId: { type: "string" } createType: { type: "string" } diskUsage: { type: "string" } name: { type: "string" } owner: { type: "string" } prebuildHash: { type: "string" } repoId: { type: "integer" format: "int64" } url: { type: "string" } } additionalProperties: false } seedMoniker: { type: "string" } seedType: { type: "string" } } additionalProperties: false } skuDisplayName: { type: "string" } skuName: { type: "string" } state: { type: "string" } storageUtilizationInKb: { type: "integer" format: "int64" } subscriptionData: { type: "object" properties: { computeQuota: { type: "integer" format: "int32" } computeUsage: { type: "integer" format: "int32" } subscriptionId: { type: "string" } subscriptionState: { type: "string" } } additionalProperties: false } templateStatus: { type: "string" } type: { type: "string" } updated: { type: "string" format: "date-time" } } additionalProperties: false } }