Dela via


ArmCostManagementModelFactory.DownloadURL Method

Definition

Initializes a new instance of DownloadURL.

public static Azure.ResourceManager.CostManagement.Models.DownloadURL DownloadURL (DateTimeOffset? expiryOn = default, DateTimeOffset? validTill = default, Uri downloadUri = default);
static member DownloadURL : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Uri -> Azure.ResourceManager.CostManagement.Models.DownloadURL
Public Shared Function DownloadURL (Optional expiryOn As Nullable(Of DateTimeOffset) = Nothing, Optional validTill As Nullable(Of DateTimeOffset) = Nothing, Optional downloadUri As Uri = Nothing) As DownloadURL

Parameters

expiryOn
Nullable<DateTimeOffset>

The time at which report URL becomes invalid/expires in UTC e.g. 2020-12-08T05:55:59.4394737Z.

validTill
Nullable<DateTimeOffset>

The time at which report URL becomes invalid/expires in UTC e.g. 2020-12-08T05:55:59.4394737Z.

downloadUri
Uri

The URL to download the generated report.

Returns

A new DownloadURL instance for mocking.

Applies to