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

EventGrid Data plane SDK: Re-generating SDK to include event types #4018

Merged
merged 7 commits into from
Jan 24, 2018
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
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Microsoft.Azure.EventGrid
using System.Threading.Tasks;

/// <summary>
/// Azure EventGrid Client
/// EventGrid Client
/// </summary>
public partial class EventGridClient : ServiceClient<EventGridClient>, IEventGridClient, IAzureClient
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace Microsoft.Azure.EventGrid
using System.Threading.Tasks;

/// <summary>
/// Azure EventGrid Client
/// EventGrid Client
/// </summary>
public partial interface IEventGridClient : System.IDisposable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace Microsoft.Azure.EventGrid.Models
{
using Newtonsoft.Json;
using System.Linq;

/// <summary>
/// Schema of the Data property of an EventGridEvent for an
/// Microsoft.EventHub.CaptureFileCreated event.
/// </summary>
public partial class EventHubCaptureFileCreatedEventData
{
/// <summary>
/// Initializes a new instance of the
/// EventHubCaptureFileCreatedEventData class.
/// </summary>
public EventHubCaptureFileCreatedEventData()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the
/// EventHubCaptureFileCreatedEventData class.
/// </summary>
/// <param name="fileurl">The path to the capture file.</param>
/// <param name="fileType">The file type of the capture file.</param>
/// <param name="partitionId">The shard ID.</param>
/// <param name="sizeInBytes">The file size.</param>
/// <param name="eventCount">The number of events in the file.</param>
/// <param name="firstSequenceNumber">The smallest sequence number from
/// the queue.</param>
/// <param name="lastSequenceNumber">The last sequence number from the
/// queue.</param>
/// <param name="firstEnqueueTime">The first time from the
/// queue.</param>
/// <param name="lastEnqueueTime">The last time from the queue.</param>
public EventHubCaptureFileCreatedEventData(string fileurl = default(string), string fileType = default(string), string partitionId = default(string), int? sizeInBytes = default(int?), int? eventCount = default(int?), int? firstSequenceNumber = default(int?), int? lastSequenceNumber = default(int?), System.DateTime? firstEnqueueTime = default(System.DateTime?), System.DateTime? lastEnqueueTime = default(System.DateTime?))
{
Fileurl = fileurl;
FileType = fileType;
PartitionId = partitionId;
SizeInBytes = sizeInBytes;
EventCount = eventCount;
FirstSequenceNumber = firstSequenceNumber;
LastSequenceNumber = lastSequenceNumber;
FirstEnqueueTime = firstEnqueueTime;
LastEnqueueTime = lastEnqueueTime;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets or sets the path to the capture file.
/// </summary>
[JsonProperty(PropertyName = "fileurl")]
public string Fileurl { get; set; }

/// <summary>
/// Gets or sets the file type of the capture file.
/// </summary>
[JsonProperty(PropertyName = "fileType")]
public string FileType { get; set; }

/// <summary>
/// Gets or sets the shard ID.
/// </summary>
[JsonProperty(PropertyName = "partitionId")]
public string PartitionId { get; set; }

/// <summary>
/// Gets or sets the file size.
/// </summary>
[JsonProperty(PropertyName = "sizeInBytes")]
public int? SizeInBytes { get; set; }

/// <summary>
/// Gets or sets the number of events in the file.
/// </summary>
[JsonProperty(PropertyName = "eventCount")]
public int? EventCount { get; set; }

/// <summary>
/// Gets or sets the smallest sequence number from the queue.
/// </summary>
[JsonProperty(PropertyName = "firstSequenceNumber")]
public int? FirstSequenceNumber { get; set; }

/// <summary>
/// Gets or sets the last sequence number from the queue.
/// </summary>
[JsonProperty(PropertyName = "lastSequenceNumber")]
public int? LastSequenceNumber { get; set; }

/// <summary>
/// Gets or sets the first time from the queue.
/// </summary>
[JsonProperty(PropertyName = "firstEnqueueTime")]
public System.DateTime? FirstEnqueueTime { get; set; }

/// <summary>
/// Gets or sets the last time from the queue.
/// </summary>
[JsonProperty(PropertyName = "lastEnqueueTime")]
public System.DateTime? LastEnqueueTime { get; set; }

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace Microsoft.Azure.EventGrid.Models
{
using Newtonsoft.Json;
using System.Linq;

/// <summary>
/// Schema of the Data property of an EventGridEvent for an
/// Microsoft.Resources.ResourceDeleteCancel event. This is raised when a
/// resource delete operation is canceled.
/// </summary>
public partial class ResourceDeleteCancelData
{
/// <summary>
/// Initializes a new instance of the ResourceDeleteCancelData class.
/// </summary>
public ResourceDeleteCancelData()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the ResourceDeleteCancelData class.
/// </summary>
/// <param name="tenantId">The tenant ID of the resource.</param>
/// <param name="subscriptionId">The subscription ID of the
/// resource.</param>
/// <param name="resourceGroup">The resource group of the
/// resource.</param>
/// <param name="resourceProvider">The resource provider performing the
/// operation.</param>
/// <param name="resourceUri">The URI of the resource in the
/// operation.</param>
/// <param name="operationName">The operation that was
/// performed.</param>
/// <param name="status">The status of the operation.</param>
/// <param name="authorization">The requested authorization for the
/// operation.</param>
/// <param name="claims">The properties of the claims.</param>
/// <param name="correlationId">An operation ID used for
/// troubleshooting.</param>
/// <param name="httpRequest">The details of the operation.</param>
public ResourceDeleteCancelData(string tenantId = default(string), string subscriptionId = default(string), string resourceGroup = default(string), string resourceProvider = default(string), string resourceUri = default(string), string operationName = default(string), string status = default(string), string authorization = default(string), string claims = default(string), string correlationId = default(string), string httpRequest = default(string))
{
TenantId = tenantId;
SubscriptionId = subscriptionId;
ResourceGroup = resourceGroup;
ResourceProvider = resourceProvider;
ResourceUri = resourceUri;
OperationName = operationName;
Status = status;
Authorization = authorization;
Claims = claims;
CorrelationId = correlationId;
HttpRequest = httpRequest;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets or sets the tenant ID of the resource.
/// </summary>
[JsonProperty(PropertyName = "tenantId")]
public string TenantId { get; set; }

/// <summary>
/// Gets or sets the subscription ID of the resource.
/// </summary>
[JsonProperty(PropertyName = "subscriptionId")]
public string SubscriptionId { get; set; }

/// <summary>
/// Gets or sets the resource group of the resource.
/// </summary>
[JsonProperty(PropertyName = "resourceGroup")]
public string ResourceGroup { get; set; }

/// <summary>
/// Gets or sets the resource provider performing the operation.
/// </summary>
[JsonProperty(PropertyName = "resourceProvider")]
public string ResourceProvider { get; set; }

/// <summary>
/// Gets or sets the URI of the resource in the operation.
/// </summary>
[JsonProperty(PropertyName = "resourceUri")]
public string ResourceUri { get; set; }

/// <summary>
/// Gets or sets the operation that was performed.
/// </summary>
[JsonProperty(PropertyName = "operationName")]
public string OperationName { get; set; }

/// <summary>
/// Gets or sets the status of the operation.
/// </summary>
[JsonProperty(PropertyName = "status")]
public string Status { get; set; }

/// <summary>
/// Gets or sets the requested authorization for the operation.
/// </summary>
[JsonProperty(PropertyName = "authorization")]
public string Authorization { get; set; }

/// <summary>
/// Gets or sets the properties of the claims.
/// </summary>
[JsonProperty(PropertyName = "claims")]
public string Claims { get; set; }

/// <summary>
/// Gets or sets an operation ID used for troubleshooting.
/// </summary>
[JsonProperty(PropertyName = "correlationId")]
public string CorrelationId { get; set; }

/// <summary>
/// Gets or sets the details of the operation.
/// </summary>
[JsonProperty(PropertyName = "httpRequest")]
public string HttpRequest { get; set; }

}
}
Loading