-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SnapshotCreationData.cs
29 lines (23 loc) · 1.3 KB
/
SnapshotCreationData.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.ElasticSan.Models
{
/// <summary> Data used when creating a volume snapshot. </summary>
public partial class SnapshotCreationData
{
/// <summary> Initializes a new instance of <see cref="SnapshotCreationData"/>. </summary>
/// <param name="sourceId"> Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}". </param>
/// <exception cref="ArgumentNullException"> <paramref name="sourceId"/> is null. </exception>
public SnapshotCreationData(ResourceIdentifier sourceId)
{
Argument.AssertNotNull(sourceId, nameof(sourceId));
SourceId = sourceId;
}
/// <summary> Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}". </summary>
public ResourceIdentifier SourceId { get; set; }
}
}