Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial generated Azure.Data.Tables client #11506

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@

/sdk/storage/ @amishra-dev @seanmcc-msft @amnguye @kasobol-msft @tg-msft @JoshLove-msft

/sdk/tables/ @christothes

/sdk/textanalytics/ @annelo-msft @maririos

# Management Plane
Expand Down
31 changes: 31 additions & 0 deletions sdk/tables/Azure.Data.Tables/Azure.Data.Tables.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30011.22
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Data.Tables", "src\Azure.Data.Tables.csproj", "{0E27F1A7-BBBD-4BE9-B331-C4B18D8DD27C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Data.Tables.Tests", "tests\Azure.Data.Tables.Tests.csproj", "{DE6D1CE8-3B67-4651-B401-A868A72398D1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0E27F1A7-BBBD-4BE9-B331-C4B18D8DD27C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0E27F1A7-BBBD-4BE9-B331-C4B18D8DD27C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0E27F1A7-BBBD-4BE9-B331-C4B18D8DD27C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0E27F1A7-BBBD-4BE9-B331-C4B18D8DD27C}.Release|Any CPU.Build.0 = Release|Any CPU
{DE6D1CE8-3B67-4651-B401-A868A72398D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DE6D1CE8-3B67-4651-B401-A868A72398D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DE6D1CE8-3B67-4651-B401-A868A72398D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DE6D1CE8-3B67-4651-B401-A868A72398D1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A97F4B90-2591-4689-B1F8-5F21FE6D6CAE}
EndGlobalSection
EndGlobal
3 changes: 3 additions & 0 deletions sdk/tables/Azure.Data.Tables/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Release History

## 1.0.0-preview.1 (Unreleased)
184 changes: 184 additions & 0 deletions sdk/tables/Azure.Data.Tables/api/Azure.Data.Tables.netstandard2.0.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
namespace Azure.Data.Tables
{
public partial class TableClient
{
protected TableClient() { }
public virtual Azure.Response<System.Collections.Generic.IReadOnlyDictionary<string, object>> Insert(System.Collections.Generic.IDictionary<string, object> entity, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyDictionary<string, object>>> InsertAsync(System.Collections.Generic.IDictionary<string, object> entity, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Pageable<System.Collections.Generic.IDictionary<string, object>> Query(string select = null, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.AsyncPageable<System.Collections.Generic.IDictionary<string, object>> QueryAsync(string select = null, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Response Update(string partitionKey, string rowKey, System.Collections.Generic.IDictionary<string, object> entity, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Response> UpdateAsync(string partitionKey, string rowKey, System.Collections.Generic.IDictionary<string, object> entity, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
}
public partial class TableClientOptions : Azure.Core.ClientOptions
{
public TableClientOptions(Azure.Data.Tables.TableClientOptions.ServiceVersion serviceVersion = Azure.Data.Tables.TableClientOptions.ServiceVersion.V2018_10_10) { }
public enum ServiceVersion
{
V2018_10_10 = 1,
}
}
public partial class TableServiceClient
{
protected TableServiceClient() { }
public TableServiceClient(System.Uri endpoint, Azure.Data.Tables.TablesSharedKeyCredential credential, Azure.Data.Tables.TableClientOptions options = null) { }
public Azure.Data.Tables.TableClient GetTableClient(string tableName) { throw null; }
public virtual Azure.Pageable<Azure.Data.Tables.Models.TableResponseProperties> GetTables(string select = null, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.AsyncPageable<Azure.Data.Tables.Models.TableResponseProperties> GetTablesAsync(string select = null, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
}
public partial class TablesSharedKeyCredential
{
public TablesSharedKeyCredential(string accountName, string accountKey) { }
public string AccountName { get { throw null; } }
protected static string ComputeSasSignature(Azure.Data.Tables.TablesSharedKeyCredential credential, string message) { throw null; }
public void SetAccountKey(string accountKey) { }
}
}
namespace Azure.Data.Tables.Models
{
public partial class AccessPolicy
{
public AccessPolicy(System.DateTimeOffset start, System.DateTimeOffset expiry, string permission) { }
public System.DateTimeOffset Expiry { get { throw null; } }
public string Permission { get { throw null; } }
public System.DateTimeOffset Start { get { throw null; } }
}
public partial class CorsRule
{
public CorsRule(string allowedOrigins, string allowedMethods, string allowedHeaders, string exposedHeaders, int maxAgeInSeconds) { }
public string AllowedHeaders { get { throw null; } }
public string AllowedMethods { get { throw null; } }
public string AllowedOrigins { get { throw null; } }
public string ExposedHeaders { get { throw null; } }
public int MaxAgeInSeconds { get { throw null; } }
}
public partial class GeoReplication
{
internal GeoReplication() { }
public System.DateTimeOffset LastSyncTime { get { throw null; } }
public Azure.Data.Tables.Models.GeoReplicationStatusType Status { get { throw null; } }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct GeoReplicationStatusType : System.IEquatable<Azure.Data.Tables.Models.GeoReplicationStatusType>
{
private readonly object _dummy;
private readonly int _dummyPrimitive;
public GeoReplicationStatusType(string value) { throw null; }
public static Azure.Data.Tables.Models.GeoReplicationStatusType Bootstrap { get { throw null; } }
public static Azure.Data.Tables.Models.GeoReplicationStatusType Live { get { throw null; } }
public static Azure.Data.Tables.Models.GeoReplicationStatusType Unavailable { get { throw null; } }
public bool Equals(Azure.Data.Tables.Models.GeoReplicationStatusType other) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override bool Equals(object obj) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override int GetHashCode() { throw null; }
public static bool operator ==(Azure.Data.Tables.Models.GeoReplicationStatusType left, Azure.Data.Tables.Models.GeoReplicationStatusType right) { throw null; }
public static implicit operator Azure.Data.Tables.Models.GeoReplicationStatusType (string value) { throw null; }
public static bool operator !=(Azure.Data.Tables.Models.GeoReplicationStatusType left, Azure.Data.Tables.Models.GeoReplicationStatusType right) { throw null; }
public override string ToString() { throw null; }
}
public partial class LoggingSettings
{
public LoggingSettings(string version, bool delete, bool read, bool write, Azure.Data.Tables.Models.RetentionPolicy retentionPolicy) { }
public bool Delete { get { throw null; } }
public bool Read { get { throw null; } }
public Azure.Data.Tables.Models.RetentionPolicy RetentionPolicy { get { throw null; } }
public string Version { get { throw null; } }
public bool Write { get { throw null; } }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct OdataMetadataFormat : System.IEquatable<Azure.Data.Tables.Models.OdataMetadataFormat>
{
private readonly object _dummy;
private readonly int _dummyPrimitive;
public OdataMetadataFormat(string value) { throw null; }
public static Azure.Data.Tables.Models.OdataMetadataFormat ApplicationJsonOdataFullmetadata { get { throw null; } }
public static Azure.Data.Tables.Models.OdataMetadataFormat ApplicationJsonOdataMinimalmetadata { get { throw null; } }
public static Azure.Data.Tables.Models.OdataMetadataFormat ApplicationJsonOdataNometadata { get { throw null; } }
public bool Equals(Azure.Data.Tables.Models.OdataMetadataFormat other) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override bool Equals(object obj) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override int GetHashCode() { throw null; }
public static bool operator ==(Azure.Data.Tables.Models.OdataMetadataFormat left, Azure.Data.Tables.Models.OdataMetadataFormat right) { throw null; }
public static implicit operator Azure.Data.Tables.Models.OdataMetadataFormat (string value) { throw null; }
public static bool operator !=(Azure.Data.Tables.Models.OdataMetadataFormat left, Azure.Data.Tables.Models.OdataMetadataFormat right) { throw null; }
public override string ToString() { throw null; }
}
public partial class QueryOptions
{
public QueryOptions() { }
public string Filter { get { throw null; } set { } }
public Azure.Data.Tables.Models.OdataMetadataFormat? Format { get { throw null; } set { } }
public string Select { get { throw null; } set { } }
public int? Top { get { throw null; } set { } }
}
public partial class RequestMetrics
{
public RequestMetrics(bool enabled) { }
public bool Enabled { get { throw null; } }
public bool? IncludeAPIs { get { throw null; } set { } }
public Azure.Data.Tables.Models.RetentionPolicy RetentionPolicy { get { throw null; } set { } }
public string Version { get { throw null; } set { } }
}
public partial class RetentionPolicy
{
public RetentionPolicy(bool enabled) { }
public int? Days { get { throw null; } set { } }
public bool Enabled { get { throw null; } }
}
public partial class SignedIdentifier
{
public SignedIdentifier(string id, Azure.Data.Tables.Models.AccessPolicy accessPolicy) { }
public Azure.Data.Tables.Models.AccessPolicy AccessPolicy { get { throw null; } }
public string Id { get { throw null; } }
}
public partial class StorageError
{
internal StorageError() { }
public string Message { get { throw null; } }
}
public partial class StorageServiceProperties
{
public StorageServiceProperties() { }
public System.Collections.Generic.IList<Azure.Data.Tables.Models.CorsRule> Cors { get { throw null; } set { } }
public Azure.Data.Tables.Models.RequestMetrics HourMetrics { get { throw null; } set { } }
public Azure.Data.Tables.Models.LoggingSettings Logging { get { throw null; } set { } }
public Azure.Data.Tables.Models.RequestMetrics MinuteMetrics { get { throw null; } set { } }
}
public partial class StorageServiceStats
{
internal StorageServiceStats() { }
public Azure.Data.Tables.Models.GeoReplication GeoReplication { get { throw null; } }
}
public partial class TableEntityQueryResponse
{
internal TableEntityQueryResponse() { }
public string OdataMetadata { get { throw null; } }
public System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IDictionary<string, object>> Value { get { throw null; } }
}
public partial class TableProperties
{
public TableProperties() { }
public string TableName { get { throw null; } set { } }
}
public partial class TableQueryResponse
{
internal TableQueryResponse() { }
public string OdataMetadata { get { throw null; } }
public System.Collections.Generic.IReadOnlyList<Azure.Data.Tables.Models.TableResponseProperties> Value { get { throw null; } }
}
public partial class TableResponse : Azure.Data.Tables.Models.TableResponseProperties
{
internal TableResponse() { }
public string OdataMetadata { get { throw null; } }
}
public partial class TableResponseProperties
{
internal TableResponseProperties() { }
public string OdataEditLink { get { throw null; } }
public string OdataId { get { throw null; } }
public string OdataType { get { throw null; } }
public string TableName { get { throw null; } }
}
}
47 changes: 47 additions & 0 deletions sdk/tables/Azure.Data.Tables/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Azure Tables client library for .NET

Content forthcoming

## Getting started

Content forthcoming

### Install the package

Content forthcoming

### Authenticate the client

Content forthcoming

## Key concepts

Content forthcoming

## Examples

Content forthcoming

## Troubleshooting

Content forthcoming

## Next steps

Content forthcoming

## Contributing

This project welcomes contributions and suggestions. Most contributions require
you to agree to a Contributor License Agreement (CLA) declaring that you have
the right to, and actually do, grant us the rights to use your contribution. For
details, visit [cla.microsoft.com][cla].

This project has adopted the [Microsoft Open Source Code of Conduct][coc].
For more information see the [Code of Conduct FAQ][coc_faq]
or contact [opencode@microsoft.com][coc_contact] with any
additional questions or comments.

<!-- LINKS -->

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-net%2Fsdk%2Ftables%2FAzure.Data.Tables%2FREADME.png)
34 changes: 34 additions & 0 deletions sdk/tables/Azure.Data.Tables/src/Azure.Data.Tables.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>This client library enables working with the Microsoft Azure Table service</Description>
<AssemblyTitle>Microsoft Azure.Data.Tables client library</AssemblyTitle>
<Version>1.0.0-preview.1</Version>
<DefineConstants>TableSDK;$(DefineConstants)</DefineConstants>
<PackageTags>Microsoft Azure Tables;Microsoft;Azure;Tables;Table;$(PackageCommonTags)</PackageTags>
<TargetFrameworks>$(RequiredTargetFrameworks)</TargetFrameworks>
<EnableApiCompat>false</EnableApiCompat>
<!-- These supressions should be removed in a production library -->
<NoWarn>$(NoWarn);CA1812;CS1591</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Text.Json" />
</ItemGroup>
<ItemGroup>
<Compile Include="$(AzureCoreSharedSources)NoBodyResponse{T}.cs" Link="Shared\Core\%(RecursiveDir)\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<Compile Include="$(AzureCoreSharedSources)Argument.cs" Link="Shared\%(RecursiveDir)\%(Filename)%(Extension)" />
<Compile Include="$(AzureCoreSharedSources)ArrayBufferWriter.cs" Link="Shared\%(RecursiveDir)\%(Filename)%(Extension)" />
<Compile Include="$(AzureCoreSharedSources)AzureKeyCredentialPolicy.cs" Link="Shared\%(RecursiveDir)\%(Filename)%(Extension)" />
<Compile Include="$(AzureCoreSharedSources)ClientDiagnostics.cs" Link="Shared\Core\%(RecursiveDir)\%(Filename)%(Extension)" />
<Compile Include="$(AzureCoreSharedSources)ContentTypeUtilities.cs" Link="Shared\Core\%(RecursiveDir)\%(Filename)%(Extension)" />
<Compile Include="$(AzureCoreSharedSources)DiagnosticScope.cs" Link="Shared\Core\%(RecursiveDir)\%(Filename)%(Extension)" />
<Compile Include="$(AzureCoreSharedSources)DiagnosticScopeFactory.cs" Link="Shared\Core\%(RecursiveDir)\%(Filename)%(Extension)" />
<Compile Include="$(AzureCoreSharedSources)HttpMessageSanitizer.cs" Link="Shared\Core\%(RecursiveDir)\%(Filename)%(Extension)" />
<Compile Include="$(AzureCoreSharedSources)OperationHelpers.cs" Link="Shared\Core\%(RecursiveDir)\%(Filename)%(Extension)" />
<Compile Include="$(AzureCoreSharedSources)TaskExtensions.cs" Link="Shared\Core\%(RecursiveDir)\%(Filename)%(Extension)" />
</ItemGroup>

<Import Project="$(MSBuildThisFileDirectory)..\..\..\core\Azure.Core\src\Azure.Core.props" />

</Project>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading