Skip to content

Commit

Permalink
added back missing provisioningState in preview version
Browse files Browse the repository at this point in the history
  • Loading branch information
brrusino committed Jan 22, 2025
1 parent 8db5323 commit d760549
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
8 changes: 8 additions & 0 deletions specification/chaos/Chaos.Management/capability.models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ using TypeSpec.Http;
using Azure.ResourceManager;
using Azure.ResourceManager.Foundations;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.Chaos;

Expand Down Expand Up @@ -64,6 +65,13 @@ model CapabilityProperties {
@visibility("read")
@maxLength(2048)
urn?: string;

/**
* Resource provisioning state. Not currently in use because resource is created synchronously.
*/
@removed(Microsoft.Chaos.Versions.v2025_01_01)
@visibility("read")
provisioningState?: ProvisioningState;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ using TypeSpec.Http;
using Azure.ResourceManager;
using Azure.ResourceManager.Foundations;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.Chaos;

Expand Down Expand Up @@ -48,6 +49,13 @@ model ExperimentExecutionProperties {
*/
@visibility("read")
stoppedAt?: utcDateTime;

/**
* Resource provisioning state. Not currently in use because resource is created synchronously.
*/
@removed(Microsoft.Chaos.Versions.v2025_01_01)
@visibility("read")
provisioningState?: ProvisioningState;
}

/**
Expand Down Expand Up @@ -102,6 +110,13 @@ model ExperimentExecutionDetailsProperties {
@visibility("read")
stoppedAt?: utcDateTime;

/**
* Resource provisioning state. Not currently in use because resource is created synchronously.
*/
@removed(Microsoft.Chaos.Versions.v2025_01_01)
@visibility("read")
provisioningState?: ProvisioningState;

/**
* The reason why the execution failed.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2390,6 +2390,11 @@
"description": "String of the URN for this Capability Type.",
"maxLength": 2048,
"readOnly": true
},
"provisioningState": {
"$ref": "#/definitions/ProvisioningState",
"description": "Resource provisioning state. Not currently in use because resource is created synchronously.",
"readOnly": true
}
}
},
Expand Down Expand Up @@ -2966,6 +2971,11 @@
"description": "String that represents the stop date time.",
"readOnly": true
},
"provisioningState": {
"$ref": "#/definitions/ProvisioningState",
"description": "Resource provisioning state. Not currently in use because resource is created synchronously.",
"readOnly": true
},
"failureReason": {
"type": "string",
"description": "The reason why the execution failed.",
Expand Down Expand Up @@ -3042,6 +3052,11 @@
"format": "date-time",
"description": "String that represents the stop date time.",
"readOnly": true
},
"provisioningState": {
"$ref": "#/definitions/ProvisioningState",
"description": "Resource provisioning state. Not currently in use because resource is created synchronously.",
"readOnly": true
}
}
},
Expand Down

0 comments on commit d760549

Please sign in to comment.