Skip to content

Commit

Permalink
Set File Tier (#10368)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcc-msft authored Sep 29, 2020
1 parent df297c8 commit 60332fd
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@
{
"$ref": "#/parameters/ShareQuota"
},
{
"$ref": "#/parameters/AccessTierOptional"
},
{
"$ref": "#/parameters/ApiVersionParameter"
}
Expand Down Expand Up @@ -362,6 +365,22 @@
"type": "string",
"format": "date-time-rfc1123",
"description": "Returns the current share next allowed quota downgrade time."
},
"x-ms-access-tier": {
"x-ms-client-name": "AccessTier",
"type": "string",
"description": "Returns the access tier set on the share."
},
"x-ms-access-tier-change-time": {
"x-ms-client-name": "AccessTierChangeTime",
"type": "string",
"format": "date-time-rfc1123",
"description": "Returns the last modified time (in UTC) of the access tier of the share."
},
"x-ms-access-tier-transition-state": {
"x-ms-client-name": "AccessTierTransitionState",
"type": "string",
"description": "Returns the transition state betweeen access tiers, when present."
}
}
},
Expand Down Expand Up @@ -672,8 +691,8 @@
"tags": [
"share"
],
"operationId": "Share_SetQuota",
"description": "Sets quota for the specified share.",
"operationId": "Share_SetProperties",
"description": "Sets properties for the specified share.",
"parameters": [{
"$ref": "#/parameters/Timeout"
},
Expand All @@ -682,6 +701,9 @@
},
{
"$ref": "#/parameters/ShareQuota"
},
{
"$ref": "#/parameters/AccessTierOptional"
}
],
"responses": {
Expand Down Expand Up @@ -4703,6 +4725,16 @@
},
"RemainingRetentionDays": {
"type": "integer"
},
"AccessTier": {
"type": "string"
},
"AccessTierChangeTime": {
"type": "string",
"format": "date-time-rfc1123"
},
"AccessTierTransitionState": {
"type": "string"
}
}
},
Expand Down Expand Up @@ -4803,6 +4835,24 @@
}
},
"parameters": {
"AccessTierOptional": {
"name": "x-ms-access-tier",
"x-ms-client-name": "accessTier",
"in": "header",
"description": "Specifies the access tier of the share.",
"required": false,
"type": "string",
"x-ms-parameter-location": "method",
"enum": [
"TransactionOptimized",
"Hot",
"Cool"
],
"x-ms-enum": {
"name": "ShareAccessTier",
"modelAsString": true
}
},
"ApiVersionParameter": {
"name": "x-ms-version",
"x-ms-client-name": "version",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@
{
"$ref": "#/parameters/ShareQuota"
},
{
"$ref": "#/parameters/AccessTierOptional"
},
{
"$ref": "#/parameters/ApiVersionParameter"
}
Expand Down Expand Up @@ -407,6 +410,22 @@
"name": "LeaseStatusType",
"modelAsString": false
}
},
"x-ms-access-tier": {
"x-ms-client-name": "AccessTier",
"type": "string",
"description": "Returns the access tier set on the share."
},
"x-ms-access-tier-change-time": {
"x-ms-client-name": "AccessTierChangeTime",
"type": "string",
"format": "date-time-rfc1123",
"description": "Returns the last modified time (in UTC) of the access tier of the share."
},
"x-ms-access-tier-transition-state": {
"x-ms-client-name": "AccessTierTransitionState",
"type": "string",
"description": "Returns the transition state betweeen access tiers, when present."
}
}
},
Expand Down Expand Up @@ -873,11 +892,11 @@
"format": "etag",
"description": "The ETag contains a value that you can use to perform operations conditionally, in quotes."
},
"Last-Modified": {
"type": "string",
"format": "date-time-rfc1123",
"description": "Returns the date and time the share was last modified. Any operation that modifies the share or its properties updates the last modified time. Operations on files do not affect the last modified time of the share."
},
"Last-Modified": {
"type": "string",
"format": "date-time-rfc1123",
"description": "Returns the date and time the share was last modified. Any operation that modifies the share or its properties updates the last modified time. Operations on files do not affect the last modified time of the share."
},
"x-ms-lease-id": {
"x-ms-client-name": "LeaseId",
"type": "string",
Expand All @@ -901,7 +920,7 @@
"Date": {
"type": "string",
"format": "date-time-rfc1123",
"description": "UTC date/time value generated by the service that indicates the time at which the response was initiated"
"description": "Returns the current share next allowed quota downgrade time."
}
}
},
Expand Down Expand Up @@ -1309,8 +1328,8 @@
"tags": [
"share"
],
"operationId": "Share_SetQuota",
"description": "Sets quota for the specified share.",
"operationId": "Share_SetProperties",
"description": "Sets properties for the specified share.",
"parameters": [{
"$ref": "#/parameters/Timeout"
},
Expand All @@ -1320,6 +1339,9 @@
{
"$ref": "#/parameters/ShareQuota"
},
{
"$ref": "#/parameters/AccessTierOptional"
},
{
"$ref": "#/parameters/LeaseIdOptional"
}
Expand Down Expand Up @@ -5440,6 +5462,16 @@
"RemainingRetentionDays": {
"type": "integer"
},
"AccessTier": {
"type": "string"
},
"AccessTierChangeTime": {
"type": "string",
"format": "date-time-rfc1123"
},
"AccessTierTransitionState": {
"type": "string"
},
"LeaseStatus": {
"$ref": "#/definitions/LeaseStatus"
},
Expand Down Expand Up @@ -5551,6 +5583,24 @@
}
},
"parameters": {
"AccessTierOptional": {
"name": "x-ms-access-tier",
"x-ms-client-name": "accessTier",
"in": "header",
"description": "Specifies the access tier of the share.",
"required": false,
"type": "string",
"x-ms-parameter-location": "method",
"enum": [
"TransactionOptimized",
"Hot",
"Cool"
],
"x-ms-enum": {
"name": "ShareAccessTier",
"modelAsString": true
}
},
"ApiVersionParameter": {
"name": "x-ms-version",
"x-ms-client-name": "version",
Expand Down

0 comments on commit 60332fd

Please sign in to comment.