| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | |
|
| | 10 | | namespace Azure.ResourceManager.Storage.Models |
| | 11 | | { |
| | 12 | | /// <summary> The parameters to list SAS credentials of a storage account. </summary> |
| | 13 | | public partial class AccountSasParameters |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of AccountSasParameters. </summary> |
| | 16 | | /// <param name="services"> The signed services accessible with the account SAS. Possible values include: Blob ( |
| | 17 | | /// <param name="resourceTypes"> The signed resource types that are accessible with the account SAS. Service (s) |
| | 18 | | /// <param name="permissions"> The signed permissions for the account SAS. Possible values include: Read (r), Wr |
| | 19 | | /// <param name="sharedAccessExpiryTime"> The time at which the shared access signature becomes invalid. </param |
| 20 | 20 | | public AccountSasParameters(Services services, SignedResourceTypes resourceTypes, Permissions permissions, DateT |
| | 21 | | { |
| 20 | 22 | | Services = services; |
| 20 | 23 | | ResourceTypes = resourceTypes; |
| 20 | 24 | | Permissions = permissions; |
| 20 | 25 | | SharedAccessExpiryTime = sharedAccessExpiryTime; |
| 20 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> Initializes a new instance of AccountSasParameters. </summary> |
| | 29 | | /// <param name="services"> The signed services accessible with the account SAS. Possible values include: Blob ( |
| | 30 | | /// <param name="resourceTypes"> The signed resource types that are accessible with the account SAS. Service (s) |
| | 31 | | /// <param name="permissions"> The signed permissions for the account SAS. Possible values include: Read (r), Wr |
| | 32 | | /// <param name="iPAddressOrRange"> An IP address or a range of IP addresses from which to accept requests. </pa |
| | 33 | | /// <param name="protocols"> The protocol permitted for a request made with the account SAS. </param> |
| | 34 | | /// <param name="sharedAccessStartTime"> The time at which the SAS becomes valid. </param> |
| | 35 | | /// <param name="sharedAccessExpiryTime"> The time at which the shared access signature becomes invalid. </param |
| | 36 | | /// <param name="keyToSign"> The key to sign the account SAS token with. </param> |
| 0 | 37 | | internal AccountSasParameters(Services services, SignedResourceTypes resourceTypes, Permissions permissions, str |
| | 38 | | { |
| 0 | 39 | | Services = services; |
| 0 | 40 | | ResourceTypes = resourceTypes; |
| 0 | 41 | | Permissions = permissions; |
| 0 | 42 | | IPAddressOrRange = iPAddressOrRange; |
| 0 | 43 | | Protocols = protocols; |
| 0 | 44 | | SharedAccessStartTime = sharedAccessStartTime; |
| 0 | 45 | | SharedAccessExpiryTime = sharedAccessExpiryTime; |
| 0 | 46 | | KeyToSign = keyToSign; |
| 0 | 47 | | } |
| | 48 | |
|
| | 49 | | /// <summary> The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), |
| 28 | 50 | | public Services Services { get; } |
| | 51 | | /// <summary> The signed resource types that are accessible with the account SAS. Service (s): Access to service |
| 28 | 52 | | public SignedResourceTypes ResourceTypes { get; } |
| | 53 | | /// <summary> The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete ( |
| 28 | 54 | | public Permissions Permissions { get; } |
| | 55 | | /// <summary> An IP address or a range of IP addresses from which to accept requests. </summary> |
| 20 | 56 | | public string IPAddressOrRange { get; set; } |
| | 57 | | /// <summary> The protocol permitted for a request made with the account SAS. </summary> |
| 36 | 58 | | public HttpProtocol? Protocols { get; set; } |
| | 59 | | /// <summary> The time at which the SAS becomes valid. </summary> |
| 32 | 60 | | public DateTimeOffset? SharedAccessStartTime { get; set; } |
| | 61 | | /// <summary> The time at which the shared access signature becomes invalid. </summary> |
| 20 | 62 | | public DateTimeOffset SharedAccessExpiryTime { get; } |
| | 63 | | /// <summary> The key to sign the account SAS token with. </summary> |
| 20 | 64 | | public string KeyToSign { get; set; } |
| | 65 | | } |
| | 66 | | } |