-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
NotebookResource.cs
55 lines (48 loc) · 2.52 KB
/
NotebookResource.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
/// <summary> Notebook resource type. </summary>
public partial class NotebookResource
{
/// <summary> Initializes a new instance of NotebookResource. </summary>
/// <param name="name"> The name of the resource. </param>
/// <param name="properties"> Properties of Notebook. </param>
/// <exception cref="ArgumentNullException"> <paramref name="name"/> or <paramref name="properties"/> is null. </exception>
public NotebookResource(string name, Notebook properties)
{
Argument.AssertNotNull(name, nameof(name));
Argument.AssertNotNull(properties, nameof(properties));
Name = name;
Properties = properties;
}
/// <summary> Initializes a new instance of NotebookResource. </summary>
/// <param name="id"> Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. </param>
/// <param name="name"> The name of the resource. </param>
/// <param name="type"> The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. </param>
/// <param name="etag"> Resource Etag. </param>
/// <param name="properties"> Properties of Notebook. </param>
internal NotebookResource(string id, string name, string type, string etag, Notebook properties)
{
Id = id;
Name = name;
Type = type;
Etag = etag;
Properties = properties;
}
/// <summary> Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. </summary>
public string Id { get; }
/// <summary> The name of the resource. </summary>
public string Name { get; set; }
/// <summary> The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. </summary>
public string Type { get; }
/// <summary> Resource Etag. </summary>
public string Etag { get; }
/// <summary> Properties of Notebook. </summary>
public Notebook Properties { get; set; }
}
}