...

Text file src/github.com/Azure/azure-sdk-for-go/storage/recordings/StorageShareSuite/TestCreateShareIfExists.yaml

Documentation: github.com/Azure/azure-sdk-for-go/storage/recordings/StorageShareSuite

     1---
     2version: 1
     3interactions:
     4- request:
     5    body: ""
     6    form: {}
     7    headers:
     8      Authorization:
     9      - SharedKey golangrocksonazure:PZ6EAa3g2HxIa+EgYWoCZUfs2uPXGS9YOnY73XL5ZZ4=
    10      User-Agent:
    11      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
    12        file
    13      x-ms-date:
    14      - Thu, 15 Apr 2021 14:37:33 GMT
    15      x-ms-version:
    16      - "2018-03-28"
    17    url: https://golangrocksonazure.file.core.windows.net/share-exists41storagesharesuitetestcreateshareifexists?restype=share
    18    method: PUT
    19  response:
    20    body: ""
    21    headers:
    22      Content-Length:
    23      - "0"
    24      Date:
    25      - Thu, 15 Apr 2021 14:37:32 GMT
    26      Etag:
    27      - '"0x8D9001C01612748"'
    28      Last-Modified:
    29      - Thu, 15 Apr 2021 14:37:33 GMT
    30      Server:
    31      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
    32      X-Ms-Request-Id:
    33      - a1f1cf90-d01a-006e-5704-32cac2000000
    34      X-Ms-Version:
    35      - "2018-03-28"
    36    status: 201 Created
    37    code: 201
    38    duration: ""
    39- request:
    40    body: ""
    41    form: {}
    42    headers:
    43      Authorization:
    44      - SharedKey golangrocksonazure:PZ6EAa3g2HxIa+EgYWoCZUfs2uPXGS9YOnY73XL5ZZ4=
    45      User-Agent:
    46      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
    47        file
    48      x-ms-date:
    49      - Thu, 15 Apr 2021 14:37:33 GMT
    50      x-ms-version:
    51      - "2018-03-28"
    52    url: https://golangrocksonazure.file.core.windows.net/share-exists41storagesharesuitetestcreateshareifexists?restype=share
    53    method: PUT
    54  response:
    55    body: "\uFEFF\x3C\x3F\x78\x6D\x6C\x20\x76\x65\x72\x73\x69\x6F\x6E\x3D\"\x31\x2E\x30\"\x20\x65\x6E\x63\x6F\x64\x69\x6E\x67\x3D\"\x75\x74\x66\x2D\x38\"\x3F\x3E\x3C\x45\x72\x72\x6F\x72\x3E\x3C\x43\x6F\x64\x65\x3E\x53\x68\x61\x72\x65\x41\x6C\x72\x65\x61\x64\x79\x45\x78\x69\x73\x74\x73\x3C\x2F\x43\x6F\x64\x65\x3E\x3C\x4D\x65\x73\x73\x61\x67\x65\x3E\x54\x68\x65\x20\x73\x70\x65\x63\x69\x66\x69\x65\x64\x20\x73\x68\x61\x72\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74\x73\x2E\n\x52\x65\x71\x75\x65\x73\x74\x49\x64\x3A\x61\x31\x66\x31\x63\x66\x39\x39\x2D\x64\x30\x31\x61\x2D\x30\x30\x36\x65\x2D\x35\x66\x30\x34\x2D\x33\x32\x63\x61\x63\x32\x30\x30\x30\x30\x30\x30\n\x54\x69\x6D\x65\x3A\x32\x30\x32\x31\x2D\x30\x34\x2D\x31\x35\x54\x31\x34\x3A\x33\x37\x3A\x33\x33\x2E\x32\x30\x39\x34\x35\x35\x38\x5A\x3C\x2F\x4D\x65\x73\x73\x61\x67\x65\x3E\x3C\x2F\x45\x72\x72\x6F\x72\x3E"
    56    headers:
    57      Content-Length:
    58      - "222"
    59      Content-Type:
    60      - application/xml
    61      Date:
    62      - Thu, 15 Apr 2021 14:37:32 GMT
    63      Server:
    64      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
    65      X-Ms-Error-Code:
    66      - ShareAlreadyExists
    67      X-Ms-Request-Id:
    68      - a1f1cf99-d01a-006e-5f04-32cac2000000
    69      X-Ms-Version:
    70      - "2018-03-28"
    71    status: 409 The specified share already exists.
    72    code: 409
    73    duration: ""
    74- request:
    75    body: ""
    76    form: {}
    77    headers:
    78      Authorization:
    79      - SharedKey golangrocksonazure:nGjGRtKpmTQcGdpESn41HGL1jF1fqiyPwuZLEGoOp1w=
    80      User-Agent:
    81      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
    82        file
    83      x-ms-date:
    84      - Thu, 15 Apr 2021 14:37:33 GMT
    85      x-ms-version:
    86      - "2018-03-28"
    87    url: https://golangrocksonazure.file.core.windows.net/share-exists41storagesharesuitetestcreateshareifexists?restype=share
    88    method: HEAD
    89  response:
    90    body: ""
    91    headers:
    92      Content-Length:
    93      - "0"
    94      Date:
    95      - Thu, 15 Apr 2021 14:37:32 GMT
    96      Etag:
    97      - '"0x8D9001C01612748"'
    98      Last-Modified:
    99      - Thu, 15 Apr 2021 14:37:33 GMT
   100      Server:
   101      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
   102      X-Ms-Has-Immutability-Policy:
   103      - "false"
   104      X-Ms-Has-Legal-Hold:
   105      - "false"
   106      X-Ms-Request-Id:
   107      - a1f1cf9d-d01a-006e-6304-32cac2000000
   108      X-Ms-Share-Quota:
   109      - "5120"
   110      X-Ms-Version:
   111      - "2018-03-28"
   112    status: 200 OK
   113    code: 200
   114    duration: ""
   115- request:
   116    body: ""
   117    form: {}
   118    headers:
   119      Authorization:
   120      - SharedKey golangrocksonazure:xIOcYCYjTJJ0i6SfrXE6vilScvJHsosLC2kmohwpkU8=
   121      User-Agent:
   122      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   123        file
   124      x-ms-date:
   125      - Thu, 15 Apr 2021 14:37:33 GMT
   126      x-ms-version:
   127      - "2018-03-28"
   128    url: https://golangrocksonazure.file.core.windows.net/share-exists41storagesharesuitetestcreateshareifexists?restype=share
   129    method: DELETE
   130  response:
   131    body: ""
   132    headers:
   133      Content-Length:
   134      - "0"
   135      Date:
   136      - Thu, 15 Apr 2021 14:37:32 GMT
   137      Server:
   138      - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
   139      X-Ms-Request-Id:
   140      - a1f1cf9e-d01a-006e-6404-32cac2000000
   141      X-Ms-Version:
   142      - "2018-03-28"
   143    status: 202 Accepted
   144    code: 202
   145    duration: ""

View as plain text