This repository has been archived by the owner on May 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from xpouyat/dev
SourceLink, better support for .NET Core and other updates
- Loading branch information
Showing
36 changed files
with
519 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
MK.IO/CsharpDotNet2/Model/BlobStorageAzurePrivateConnection.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
using Newtonsoft.Json; | ||
using System.Runtime.Serialization; | ||
using System.Text; | ||
|
||
namespace MK.IO.Models | ||
{ | ||
|
||
/// <summary> | ||
/// | ||
/// </summary> | ||
[DataContract] | ||
public class BlobStorageAzurePrivateConnection | ||
{ | ||
/// <summary> | ||
/// A message passed to the owner of the remote resource with this connection request. | ||
/// </summary> | ||
/// <value>A message passed to the owner of the remote resource with this connection request.</value> | ||
[DataMember(Name = "requestMessage", EmitDefaultValue = false)] | ||
[JsonProperty(PropertyName = "requestMessage")] | ||
public string RequestMessage { get; set; } | ||
|
||
/// <summary> | ||
/// The name of the resource group containing the storage account | ||
/// </summary> | ||
/// <value>The name of the resource group containing the storage account</value> | ||
[DataMember(Name = "resourceGroupName", EmitDefaultValue = false)] | ||
[JsonProperty(PropertyName = "resourceGroupName")] | ||
public string ResourceGroupName { get; set; } | ||
|
||
/// <summary> | ||
/// The name of the storage account. The full Azure ID should be /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Storage/storageAccounts/<storageAccountName> | ||
/// </summary> | ||
/// <value>The name of the storage account. The full Azure ID should be /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Storage/storageAccounts/<storageAccountName></value> | ||
[DataMember(Name = "storageAccountName", EmitDefaultValue = false)] | ||
[JsonProperty(PropertyName = "storageAccountName")] | ||
public string StorageAccountName { get; set; } | ||
|
||
/// <summary> | ||
/// The ID of the Azure subscription containing the storage account | ||
/// </summary> | ||
/// <value>The ID of the Azure subscription containing the storage account</value> | ||
[DataMember(Name = "subscriptionId", EmitDefaultValue = false)] | ||
[JsonProperty(PropertyName = "subscriptionId")] | ||
public Guid? SubscriptionId { get; set; } | ||
|
||
|
||
/// <summary> | ||
/// Get the string presentation of the object | ||
/// </summary> | ||
/// <returns>String presentation of the object</returns> | ||
public override string ToString() | ||
{ | ||
var sb = new StringBuilder(); | ||
sb.Append("class BlobStorageAzurePrivateConnection {\n"); | ||
sb.Append(" RequestMessage: ").Append(RequestMessage).Append("\n"); | ||
sb.Append(" ResourceGroupName: ").Append(ResourceGroupName).Append("\n"); | ||
sb.Append(" StorageAccountName: ").Append(StorageAccountName).Append("\n"); | ||
sb.Append(" SubscriptionId: ").Append(SubscriptionId).Append("\n"); | ||
sb.Append("}\n"); | ||
return sb.ToString(); | ||
} | ||
|
||
/// <summary> | ||
/// Get the JSON string presentation of the object | ||
/// </summary> | ||
/// <returns>JSON string presentation of the object</returns> | ||
public string ToJson() | ||
{ | ||
return JsonConvert.SerializeObject(this, ConverterLE.Settings); | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
using System.Text; | ||
using System.Runtime.Serialization; | ||
using Newtonsoft.Json; | ||
|
||
namespace MK.IO.Models | ||
{ | ||
|
||
/// <summary> | ||
/// | ||
/// </summary> | ||
[DataContract] | ||
public class StorageStatusSchema | ||
{ | ||
/// <summary> | ||
/// The unique identifier of the credential that is currently active for the storage account. | ||
/// </summary> | ||
/// <value>The unique identifier of the credential that is currently active for the storage account.</value> | ||
[DataMember(Name = "activeCredentialId", EmitDefaultValue = false)] | ||
[JsonProperty(PropertyName = "activeCredentialId")] | ||
public Guid? ActiveCredentialId { get; private set; } | ||
|
||
/// <summary> | ||
/// The state of the Azure Private Connection, if enabled. | ||
/// </summary> | ||
/// <value>The state of the Azure Private Connection, if enabled.</value> | ||
[DataMember(Name = "privateLinkServiceConnectionStatus", EmitDefaultValue = false)] | ||
[JsonProperty(PropertyName = "privateLinkServiceConnectionStatus")] | ||
public PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStatus { get; private set; } | ||
|
||
|
||
/// <summary> | ||
/// Get the string presentation of the object | ||
/// </summary> | ||
/// <returns>String presentation of the object</returns> | ||
public override string ToString() | ||
{ | ||
var sb = new StringBuilder(); | ||
sb.Append("class StorageStatusSchema {\n"); | ||
sb.Append(" ActiveCredentialId: ").Append(ActiveCredentialId).Append("\n"); | ||
sb.Append(" PrivateLinkServiceConnectionStatus: ").Append(PrivateLinkServiceConnectionStatus).Append("\n"); | ||
sb.Append("}\n"); | ||
return sb.ToString(); | ||
} | ||
|
||
/// <summary> | ||
/// Get the JSON string presentation of the object | ||
/// </summary> | ||
/// <returns>JSON string presentation of the object</returns> | ||
public string ToJson() | ||
{ | ||
return JsonConvert.SerializeObject(this, ConverterLE.Settings); | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.