You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"/?restype=account&comp=properties": {
"get": {
"tags": [
"service"
],
"operationId": "Service_GetAccountInfo",
"description": "Returns the sku name and account kind ",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Success (OK)",
"headers": {
"x-ms-client-request-id": {
"x-ms-client-name": "ClientRequestId",
"type": "string",
"description": "If a client request id header is sent in the request, this header will be present in the response with the same value."
},
"x-ms-request-id": {
"x-ms-client-name": "RequestId",
"type": "string",
"description": "This header uniquely identifies the request that was made and can be used for troubleshooting the request."
},
"x-ms-version": {
"x-ms-client-name": "Version",
"type": "string",
"description": "Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above."
},
"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"
},
"x-ms-sku-name": {
"x-ms-client-name": "SkuName",
"type": "string",
"enum": [
"Standard_LRS",
"Standard_GRS",
"Standard_RAGRS",
"Standard_ZRS",
"Premium_LRS"
],
"x-ms-enum": {
"name": "SkuName",
"modelAsString": false
},
"description": "Identifies the sku name of the account"
},
"x-ms-account-kind": {
"x-ms-client-name": "AccountKind",
"type": "string",
"enum": [
"Storage",
"BlobStorage",
"StorageV2",
"FileStorage",
"BlockBlobStorage"
],
"x-ms-enum": {
"name": "AccountKind",
"modelAsString": false
},
"description": "Identifies the account kind"
},
"x-ms-is-hns-enabled": {
"x-ms-client-name": "IsHierarchicalNamespaceEnabled",
"type": "boolean",
"description": "Version 2019-07-07 and newer. Indicates if the account has a hierarchical namespace enabled."
}
}
},
"default": {
"description": "Failure",
"headers": {
"x-ms-error-code": {
"x-ms-client-name": "ErrorCode",
"type": "string"
}
},
"schema": {
"$ref": "#/definitions/StorageError"
}
}
}
},
"parameters": [
{
"name": "restype",
"description": "restype",
"in": "query",
"required": true,
"type": "string",
"enum": [
"account"
]
},
{
"name": "comp",
"description": "comp",
"in": "query",
"required": true,
"type": "string",
"enum": [
"properties"
]
}
]
},
The text was updated successfully, but these errors were encountered:
ctaggart
changed the title
custom response type with headers
operation response type with headers
Oct 25, 2021
cataggar
added
CodeGen
Issues that relate to code generation
Client
This issue points to a problem in the data-plane of the library.
labels
Oct 25, 2021
create_operation_code
in AutoRust #1034RequestBuilder
#1037remove special handling for single responsesoperation::Response(azure_core::Response)
headers()
body()
functionsazure_core::Response
. may be implementAsRef<azure_core::Response>
azure-sdk-for-rust/services/svc/blobstorage/src/package_2020_10/operations.rs
Lines 407 to 412 in 2eadbde
specification\storage\data-plane\Microsoft.BlobStorage\preview\2020-10-02\blob.json
The text was updated successfully, but these errors were encountered: