ArmNetAppModelFactory.NetAppBucketGenerateCredentials Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of NetAppBucketGenerateCredentials.
public static Azure.ResourceManager.NetApp.Models.NetAppBucketGenerateCredentials NetAppBucketGenerateCredentials(string accessKey = default, string secretKey = default, DateTimeOffset? keyPairExpiry = default);
static member NetAppBucketGenerateCredentials : string * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.NetApp.Models.NetAppBucketGenerateCredentials
Public Shared Function NetAppBucketGenerateCredentials (Optional accessKey As String = Nothing, Optional secretKey As String = Nothing, Optional keyPairExpiry As Nullable(Of DateTimeOffset) = Nothing) As NetAppBucketGenerateCredentials
Parameters
- accessKey
- String
The Access Key that is required along with the Secret Key to access the bucket.
- secretKey
- String
The Secret Key that is required along with the Access Key to access the bucket.
- keyPairExpiry
- Nullable<DateTimeOffset>
The bucket's Access and Secret key pair expiry date and time (in UTC).
Returns
A new NetAppBucketGenerateCredentials instance for mocking.