classes/PsModDev/PsModDev.cs
using System;
namespace PsModDev { public enum Environment { AzureChinaCloud, AzureCloud, AzureUSGovernment } public class ContextToken { public System.String Resource; public System.DateTime TimeStamp; public System.DateTime Expires; public System.Security.SecureString Token; } public class BackoffPolicy { public System.Int32 MaxRetries; public System.String Method; public System.Int32 Delay; } public class Context { public System.String Account; public System.String Database; public System.Security.SecureString Key; public System.String KeyType; public System.String BaseUri; public PsModDev.ContextToken[] Token; public PsModDev.BackoffPolicy BackoffPolicy; public PsModDev.Environment Environment; } namespace IndexingPolicy { namespace Path { public class Index { public System.String dataType; public System.String kind; } public class IndexRange : PsModDev.IndexingPolicy.Path.Index { public readonly System.Int32 precision = -1; } public class IndexHash : PsModDev.IndexingPolicy.Path.Index { public readonly System.Int32 precision = -1; } public class IndexSpatial : PsModDev.IndexingPolicy.Path.Index { } public class IncludedPath { public System.String path; } public class IncludedPathIndex : IncludedPath { public PsModDev.IndexingPolicy.Path.Index[] indexes; } public class ExcludedPath { public System.String path; } } namespace CompositeIndex { public class Element { public System.String path; public System.String order; } } public class Policy { public System.Boolean automatic; public System.String indexingMode; public PsModDev.IndexingPolicy.Path.IncludedPath[] includedPaths; public PsModDev.IndexingPolicy.Path.ExcludedPath[] excludedPaths; public PsModDev.IndexingPolicy.CompositeIndex.Element[][] compositeIndexes; } } namespace UniqueKeyPolicy { public class UniqueKey { public System.String[] paths; } public class Policy { public PsModDev.UniqueKeyPolicy.UniqueKey[] uniqueKeys; } } } |