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

Feature/storage/share enable protocol share squash root #11304

Merged
Changes from all 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 @@ -242,6 +242,12 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/ShareEnabledProtocols"
},
{
"$ref": "#/parameters/ShareRootSquash"
}
],
"responses": {
Expand Down Expand Up @@ -426,6 +432,25 @@
"x-ms-client-name": "AccessTierTransitionState",
"type": "string",
"description": "Returns the transition state betweeen access tiers, when present."
},
"x-ms-enabled-protocols": {
"x-ms-client-name": "EnabledProtocols",
"description": "The protocols that have been enabled on the share.",
"type": "string"
},
"x-ms-root-squash": {
"x-ms-client-name": "RootSquash",
"description": "Valid for NFS shares only.",
"type": "string",
"enum": [
"NoRootSquash",
"RootSquash",
"AllSquash"
],
"x-ms-enum": {
"name": "ShareRootSquash",
"modelAsString": false
}
}
}
},
Expand Down Expand Up @@ -1344,6 +1369,9 @@
},
{
"$ref": "#/parameters/LeaseIdOptional"
},
{
"$ref": "#/parameters/ShareRootSquash"
}
],
"responses": {
Expand Down Expand Up @@ -5229,7 +5257,7 @@
"ShareItems": {
"type": "array",
"items": {
"$ref": "#/definitions/ShareItem"
"$ref": "#/definitions/ShareItemInternal"
},
"xml": {
"name": "Shares",
Expand Down Expand Up @@ -5391,7 +5419,7 @@
}
}
},
"ShareItem": {
"ShareItemInternal": {
"xml": {
"name": "Share"
},
Expand All @@ -5415,14 +5443,14 @@
"type": "string"
},
"Properties": {
"$ref": "#/definitions/ShareProperties"
"$ref": "#/definitions/SharePropertiesInternal"
},
"Metadata": {
"$ref": "#/definitions/Metadata"
}
}
},
"ShareProperties": {
"SharePropertiesInternal": {
"description": "Properties of a share.",
"type": "object",
"required": [
Expand Down Expand Up @@ -5480,6 +5508,12 @@
},
"LeaseDuration": {
"$ref": "#/definitions/LeaseDuration"
},
"EnabledProtocols": {
"$ref": "#/definitions/ShareEnabledProtocols"
},
"RootSquash": {
"$ref": "#/definitions/ShareRootSquash"
}
}
},
Expand Down Expand Up @@ -5580,6 +5614,21 @@
"description": "The permission in the Security Descriptor Definition Language (SDDL)."
}
}
},
"ShareEnabledProtocols": {
"type": "string"
},
"ShareRootSquash": {
"type": "string",
"enum": [
"NoRootSquash",
"RootSquash",
"AllSquash"
],
"x-ms-enum": {
"name": "ShareRootSquash",
"modelAsString": false
}
}
},
"parameters": {
Expand Down Expand Up @@ -6224,6 +6273,33 @@
"$ref": "#/definitions/SharePermission"
},
"x-ms-parameter-location": "method"
},
"ShareEnabledProtocols": {
"name": "x-ms-enabled-protocols",
"description": "Protocols to enable on the share.",
"x-ms-client-name": "enabledProtocols",
"in": "header",
"required": false,
"type": "string",
"x-ms-parameter-location": "method"
},
"ShareRootSquash": {
"name": "x-ms-root-squash",
"description": "Root squash to set on the share. Only valid for NFS shares.",
"x-ms-client-name": "rootSquash",
"in": "header",
"required": false,
"type": "string",
"enum": [
"NoRootSquash",
"RootSquash",
"AllSquash"
],
"x-ms-enum": {
"name": "ShareRootSquash",
"modelAsString": false
},
"x-ms-parameter-location": "method"
}
}
}