Skip to content

Commit

Permalink
Renamed SmbSettings and ProtocolSettings, Removed lease duration head…
Browse files Browse the repository at this point in the history
…ers. (#10835)

* Removed lease duration from response headers for all lease APIs except break lease

* Modified names according to arch board review

Co-authored-by: Gauri Prasad <gapra@microsoft.com>
  • Loading branch information
gapra-msft and gapra-msft authored Sep 18, 2020
1 parent 3360920 commit 196d5c1
Showing 1 changed file with 9 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -532,11 +532,6 @@
"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-time": {
"x-ms-client-name": "LeaseTime",
"type": "integer",
"description": "Approximate time remaining in the lease period, in seconds."
},
"x-ms-lease-id": {
"x-ms-client-name": "LeaseId",
"type": "string",
Expand Down Expand Up @@ -653,11 +648,6 @@
"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-time": {
"x-ms-client-name": "LeaseTime",
"type": "integer",
"description": "Approximate time remaining in the lease period, in seconds."
},
"x-ms-client-request-id": {
"x-ms-client-name": "ClientRequestId",
"type": "string",
Expand Down Expand Up @@ -772,11 +762,6 @@
"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-time": {
"x-ms-client-name": "LeaseTime",
"type": "integer",
"description": "Approximate time remaining in the lease period, in seconds."
},
"x-ms-lease-id": {
"x-ms-client-name": "LeaseId",
"type": "string",
Expand Down Expand Up @@ -893,11 +878,6 @@
"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-time": {
"x-ms-client-name": "LeaseTime",
"type": "integer",
"description": "Approximate time remaining in the lease period, in seconds."
},
"x-ms-lease-id": {
"x-ms-client-name": "LeaseId",
"type": "string",
Expand Down Expand Up @@ -5305,13 +5285,13 @@
"name": "Range"
}
},
"ProtocolSettings": {
"ShareProtocolSettings": {
"description": "Protocol settings",
"type": "object",
"properties": {
"SmbSettings": {
"Smb": {
"description": "Settings for SMB protocol.",
"$ref": "#/definitions/SmbSettings",
"$ref": "#/definitions/ShareSmbSettings",
"xml": {
"name": "SMB"
}
Expand Down Expand Up @@ -5482,7 +5462,7 @@
"name": "SignedIdentifiers"
}
},
"SmbSettings": {
"ShareSmbSettings": {
"description": "Settings for SMB protocol.",
"type": "object",
"properties": {
Expand Down Expand Up @@ -5514,9 +5494,12 @@
"wrapped": true
}
},
"ProtocolSettings": {
"Protocol": {
"description": "Protocol settings",
"$ref":"#/definitions/ProtocolSettings"
"$ref":"#/definitions/ShareProtocolSettings",
"xml": {
"name": "ProtocolSettings"
}
}
}
},
Expand Down

0 comments on commit 196d5c1

Please sign in to comment.