Skip to content

Commit

Permalink
chore: fix properties
Browse files Browse the repository at this point in the history
  • Loading branch information
RenzoPrettoMS committed Jan 21, 2025
1 parent 909f845 commit 8db5323
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,16 @@ model CapabilityTypeProperties {
azureRbacDataActions?: string[];

/**
* Data plane actions necessary to execute capability type.
* Required Azure Role Definition Ids to execute capability type.
*/
@visibility("read")
@added(Microsoft.Chaos.Versions.v2025_01_01)
requiredAzureRoleDefinitionIds?: string[];

/**
* Runtime properties of this Capability Type.
*/
@visibility("read")
@added(Microsoft.Chaos.Versions.v2025_01_01)
runtimeProperties?: CapabilityTypePropertiesRuntimeProperties;
}

Expand Down
1 change: 0 additions & 1 deletion specification/chaos/Chaos.Management/experiment.models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ model ChaosTargetFilter {
/**
* Model that represents the Customer Managed Storage for an Experiment.
*/
@removed(Microsoft.Chaos.Versions.v2025_01_01)
model CustomerDataStorageProperties {
/**
* ARM Resource ID of the Storage account to use for Customer Data storage.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2487,12 +2487,20 @@
},
"readOnly": true
},
"requiredAzureRoleDefinitionIds": {
"type": "array",
"description": "Data plane actions necessary to execute capability type.",
"items": {
"type": "string"
},
"runtimeProperties": {
"$ref": "#/definitions/CapabilityTypePropertiesRuntimeProperties",
"description": "Runtime properties of this Capability Type.",
"readOnly": true
}
}
},
"CapabilityTypePropertiesRuntimeProperties": {
"type": "object",
"description": "Runtime properties of this Capability Type.",
"properties": {
"kind": {
"type": "string",
"description": "String of the kind of the resource's action type (continuous or discrete).",
"readOnly": true
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1772,7 +1772,7 @@
},
"requiredAzureRoleDefinitionIds": {
"type": "array",
"description": "Data plane actions necessary to execute capability type.",
"description": "Required Azure Role Definition Ids to execute capability type.",
"items": {
"type": "string"
},
Expand Down

0 comments on commit 8db5323

Please sign in to comment.