...

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

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

     1---
     2version: 1
     3interactions:
     4- request:
     5    body: ""
     6    form: {}
     7    headers:
     8      Authorization:
     9      - SharedKey golangrocksonazure:vTZHzAdCQscBQ1CuFc+FEB7f7SDpUmT3Q9xCfgiBNjI=
    10      User-Agent:
    11      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
    12        blob
    13      x-ms-date:
    14      - Tue, 13 Apr 2021 15:57:48 GMT
    15      x-ms-version:
    16      - "2018-03-28"
    17    url: https://golangrocksonazure.blob.core.windows.net/52leaseblobsuitetestacquirelease?restype=container
    18    method: PUT
    19  response:
    20    body: ""
    21    headers:
    22      Content-Length:
    23      - "0"
    24      Date:
    25      - Tue, 13 Apr 2021 15:57:46 GMT
    26      Etag:
    27      - '"0x8D8FE94E25EB5DF"'
    28      Last-Modified:
    29      - Tue, 13 Apr 2021 15:57:47 GMT
    30      Server:
    31      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
    32      X-Ms-Request-Id:
    33      - 2c9dcb47-801e-004c-757d-300fdd000000
    34      X-Ms-Version:
    35      - "2018-03-28"
    36    status: 201 Created
    37    code: 201
    38    duration: ""
    39- request:
    40    body: Hello!
    41    form: {}
    42    headers:
    43      Authorization:
    44      - SharedKey golangrocksonazure:qL5Z278AqZBUURf9Mpn4u7atm19NyoWg+LptvHNYvcI=
    45      Content-Length:
    46      - "6"
    47      User-Agent:
    48      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
    49        blob
    50      x-ms-blob-type:
    51      - BlockBlob
    52      x-ms-date:
    53      - Tue, 13 Apr 2021 15:57:48 GMT
    54      x-ms-version:
    55      - "2018-03-28"
    56    url: https://golangrocksonazure.blob.core.windows.net/52leaseblobsuitetestacquirelease/blob/52leaseblobsuitetestacquireleasewithnoproposedleaseid
    57    method: PUT
    58  response:
    59    body: ""
    60    headers:
    61      Content-Length:
    62      - "0"
    63      Content-Md5:
    64      - lS0sVtBIWVgzZ0e83ZhZDQ==
    65      Date:
    66      - Tue, 13 Apr 2021 15:57:47 GMT
    67      Etag:
    68      - '"0x8D8FE94E26B4107"'
    69      Last-Modified:
    70      - Tue, 13 Apr 2021 15:57:48 GMT
    71      Server:
    72      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
    73      X-Ms-Request-Id:
    74      - 2c9dcb57-801e-004c-027d-300fdd000000
    75      X-Ms-Request-Server-Encrypted:
    76      - "true"
    77      X-Ms-Version:
    78      - "2018-03-28"
    79    status: 201 Created
    80    code: 201
    81    duration: ""
    82- request:
    83    body: ""
    84    form: {}
    85    headers:
    86      Authorization:
    87      - SharedKey golangrocksonazure:83ywDypRKDN+0PDJOwwnb6K+VNkTTtsbWn1rZMrThlU=
    88      User-Agent:
    89      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
    90        blob
    91      x-ms-date:
    92      - Tue, 13 Apr 2021 15:57:48 GMT
    93      x-ms-lease-action:
    94      - acquire
    95      x-ms-lease-duration:
    96      - "30"
    97      x-ms-version:
    98      - "2018-03-28"
    99    url: https://golangrocksonazure.blob.core.windows.net/52leaseblobsuitetestacquirelease/blob/52leaseblobsuitetestacquireleasewithnoproposedleaseid?comp=lease
   100    method: PUT
   101  response:
   102    body: ""
   103    headers:
   104      Content-Length:
   105      - "0"
   106      Date:
   107      - Tue, 13 Apr 2021 15:57:47 GMT
   108      Etag:
   109      - '"0x8D8FE94E26B4107"'
   110      Last-Modified:
   111      - Tue, 13 Apr 2021 15:57:48 GMT
   112      Server:
   113      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
   114      X-Ms-Lease-Id:
   115      - 991046b5-092d-4fca-90b5-92b9aef64936
   116      X-Ms-Request-Id:
   117      - 2c9dcb82-801e-004c-267d-300fdd000000
   118      X-Ms-Version:
   119      - "2018-03-28"
   120    status: 201 Created
   121    code: 201
   122    duration: ""
   123- request:
   124    body: ""
   125    form: {}
   126    headers:
   127      Authorization:
   128      - SharedKey golangrocksonazure:AhSbmPhmc2idJYerIgWADW0t847peMUQV0IinyWkIhE=
   129      User-Agent:
   130      - Go/go1.15.1 (amd64-windows) azure-storage-go/v52.6.0 api-version/2018-03-28
   131        blob
   132      x-ms-date:
   133      - Tue, 13 Apr 2021 15:57:48 GMT
   134      x-ms-version:
   135      - "2018-03-28"
   136    url: https://golangrocksonazure.blob.core.windows.net/52leaseblobsuitetestacquirelease?restype=container
   137    method: DELETE
   138  response:
   139    body: ""
   140    headers:
   141      Content-Length:
   142      - "0"
   143      Date:
   144      - Tue, 13 Apr 2021 15:57:47 GMT
   145      Server:
   146      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
   147      X-Ms-Request-Id:
   148      - 2c9dcb94-801e-004c-377d-300fdd000000
   149      X-Ms-Version:
   150      - "2018-03-28"
   151    status: 202 Accepted
   152    code: 202
   153    duration: ""

View as plain text