Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set File Tier #10368

Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -4677,6 +4699,16 @@
},
"RemainingRetentionDays": {
"type": "integer"
},
"AccessTier": {
"type": "string"
},
"AccessTierChangeTime": {
"type": "string",
"format": "date-time-rfc1123"
},
"AccessTierTransitionState": {
"type": "string"
}
}
},
Expand Down Expand Up @@ -4763,6 +4795,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 @@ -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 @@ -4677,6 +4699,16 @@
},
"RemainingRetentionDays": {
"type": "integer"
},
"AccessTier": {
"type": "string"
},
"AccessTierChangeTime": {
"type": "string",
"format": "date-time-rfc1123"
},
"AccessTierTransitionState": {
"type": "string"
}
}
},
Expand Down Expand Up @@ -4763,6 +4795,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