Skip to content

Commit

Permalink
Moving read only to property level
Browse files Browse the repository at this point in the history
  • Loading branch information
samkreter authored and sakreter committed Mar 30, 2018
1 parent 31e8d1c commit ab364c6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -513,61 +513,70 @@
"ContainerState": {
"description": "The container instance state.",
"type": "object",
"readOnly": true,
"properties": {
"state": {
"type": "string",
"readOnly": true,
"description": "The state of the container instance."
},
"startTime": {
"type": "string",
"readOnly": true,
"format": "date-time",
"description": "The date-time when the container instance state started."
},
"exitCode": {
"type": "integer",
"readOnly": true,
"description": "The container instance exit codes correspond to those from the `docker run` command."
},
"finishTime": {
"type": "string",
"readOnly": true,
"format": "date-time",
"description": "The date-time when the container instance state finished."
},
"detailStatus": {
"description": "The human-readable status of the container instance state.",
"type": "string"
"type": "string",
"readOnly": true
}
}
},
"Event": {
"description": "A container group or container instance event.",
"type": "object",
"readOnly": true,
"properties": {
"count": {
"type": "integer",
"readOnly": true,
"description": "The count of the event."
},
"firstTimestamp": {
"type": "string",
"readOnly": true,
"format": "date-time",
"description": "The date-time of the earliest logged event."
},
"lastTimestamp": {
"type": "string",
"readOnly": true,
"format": "date-time",
"description": "The date-time of the latest logged event."
},
"name": {
"type": "string",
"readOnly": true,
"description": "The event name."
},
"message": {
"type": "string",
"readOnly": true,
"description": "The event message."
},
"type": {
"type": "string",
"readOnly": true,
"description": "The event type."
}
}
Expand Down Expand Up @@ -988,10 +997,10 @@
"Operation": {
"description": "An operation for Azure Container Instance service.",
"type": "object",
"readOnly": true,
"properties": {
"name": {
"type": "string",
"readOnly": true,
"description": "The name of the operation."
},
"display": {
Expand All @@ -1000,24 +1009,29 @@
"properties": {
"provider": {
"description": "The name of the provider of the operation.",
"type": "string"
"type": "string",
"readOnly": true
},
"resource": {
"type": "string",
"readOnly": true,
"description": "The name of the resource type of the operation."
},
"operation": {
"description": "The friendly name of the operation.",
"type": "string"
"type": "string",
"readOnly": true
},
"description": {
"description": "The description of the operation.",
"readOnly": true,
"type": "string"
}
}
},
"origin": {
"type": "string",
"readOnly": true,
"description": "The intended executor of the operation.",
"enum": [
"User",
Expand Down Expand Up @@ -1101,10 +1115,10 @@
"Logs": {
"description": "The logs.",
"type": "object",
"readOnly": true,
"properties": {
"content": {
"type": "string",
"readOnly": true,
"description": "The content of the log."
}
}
Expand Down Expand Up @@ -1136,14 +1150,15 @@
"ContainerExecResponse": {
"description": "The information for the container exec command.",
"type": "object",
"readOnly": true,
"properties": {
"webSocketUri": {
"type": "string",
"readOnly": true,
"description": "The uri for the exec websocket."
},
"password": {
"type": "string",
"readOnly": true,
"description": "The password to start the exec command."
}
}
Expand Down
2 changes: 1 addition & 1 deletion specification/containerinstance/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ These settings apply only when `--tag=package-2018-04` is specified on the comma

``` yaml $(tag) == 'package-2018-04'
input-file:
- Microsoft.ContainerInstance/preview/2018-04-01/containerInstance.json
- Microsoft.ContainerInstance/stable/2018-04-01/containerInstance.json
```

### Tag: package-2018-02-preview
Expand Down

0 comments on commit ab364c6

Please sign in to comment.