-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
notificationHub changes using swagger file
- Loading branch information
1 parent
2374b4d
commit 1d95439
Showing
63 changed files
with
15,206 additions
and
0 deletions.
There are no files selected for viewing
289 changes: 289 additions & 0 deletions
289
...cationHubs/Microsoft.Azure.Management.NotificationHubs/Generated/INamespacesOperations.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,289 @@ | ||
// 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 0.14.0.0 | ||
// Changes may cause incorrect behavior and will be lost if the code is | ||
// regenerated. | ||
|
||
namespace Microsoft.Azure.Management.NotificationHubs | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Net.Http; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
using Microsoft.Rest; | ||
using Microsoft.Rest.Azure; | ||
using Models; | ||
|
||
/// <summary> | ||
/// NamespacesOperations operations. | ||
/// </summary> | ||
public partial interface INamespacesOperations | ||
{ | ||
/// <summary> | ||
/// Checks the availability of the given service namespace across all | ||
/// Windows Azure subscriptions. This is useful because the domain | ||
/// name is created based on the service namespace name. | ||
/// </summary> | ||
/// <param name='parameters'> | ||
/// The namespace name. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse<CheckAvailabilityResource>> CheckAvailabilityWithHttpMessagesAsync(CheckAvailabilityParameters parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Creates/Updates a service namespace. Once created, this | ||
/// namespace's resource manifest is immutable. This operation is | ||
/// idempotent. | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='namespaceName'> | ||
/// The namespace name. | ||
/// </param> | ||
/// <param name='parameters'> | ||
/// Parameters supplied to create a Namespace Resource. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse<NamespaceResource>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string namespaceName, NamespaceCreateOrUpdateParameters parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Deletes an existing namespace. This operation also removes all | ||
/// associated notificationHubs under the namespace. | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='namespaceName'> | ||
/// The namespace name. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string namespaceName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Deletes an existing namespace. This operation also removes all | ||
/// associated notificationHubs under the namespace. | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='namespaceName'> | ||
/// The namespace name. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string namespaceName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Returns the description for the specified namespace. | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='namespaceName'> | ||
/// The namespace name. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse<NamespaceResource>> GetWithHttpMessagesAsync(string resourceGroupName, string namespaceName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Creates an authorization rule for a namespace | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='namespaceName'> | ||
/// The namespace name. | ||
/// </param> | ||
/// <param name='authorizationRuleName'> | ||
/// Aauthorization Rule Name. | ||
/// </param> | ||
/// <param name='parameters'> | ||
/// The shared access authorization rule. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse<SharedAccessAuthorizationRuleResource>> CreateOrUpdateAuthorizationRuleWithHttpMessagesAsync(string resourceGroupName, string namespaceName, string authorizationRuleName, SharedAccessAuthorizationRuleCreateOrUpdateParameters parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Deletes a namespace authorization rule | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='namespaceName'> | ||
/// The namespace name. | ||
/// </param> | ||
/// <param name='authorizationRuleName'> | ||
/// Authorization Rule Name. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse> DeleteAuthorizationRuleWithHttpMessagesAsync(string resourceGroupName, string namespaceName, string authorizationRuleName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Gets an authorization rule for a namespace by name. | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='namespaceName'> | ||
/// The namespace name | ||
/// </param> | ||
/// <param name='authorizationRuleName'> | ||
/// Authorization rule name. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse<SharedAccessAuthorizationRuleResource>> GetAuthorizationRuleWithHttpMessagesAsync(string resourceGroupName, string namespaceName, string authorizationRuleName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// The Get Operation Status operation returns the status of the | ||
/// specified operation. After calling an asynchronous operation, you | ||
/// can call Get Operation Status to determine whether the operation | ||
/// has succeeded, failed, or is still in progress. | ||
/// </summary> | ||
/// <param name='operationStatusLink'> | ||
/// Location value returned by the Begin operation. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse> GetLongRunningOperationStatusWithHttpMessagesAsync(string operationStatusLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Lists the available namespaces within a resourceGroup. | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. If resourceGroupName value is null | ||
/// the method lists all the namespaces within subscription | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse<IPage<NamespaceResource>>> ListWithHttpMessagesAsync(string resourceGroupName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Lists all the available namespaces within the subscription | ||
/// irrespective of the resourceGroups. | ||
/// </summary> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse<IPage<NamespaceResource>>> ListAllWithHttpMessagesAsync(Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Gets the authorization rules for a namespace. | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='namespaceName'> | ||
/// The namespace name | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse<IPage<SharedAccessAuthorizationRuleResource>>> ListAuthorizationRulesWithHttpMessagesAsync(string resourceGroupName, string namespaceName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Gets the Primary and Secondary ConnectionStrings to the namespace | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='namespaceName'> | ||
/// The namespace name. | ||
/// </param> | ||
/// <param name='authorizationRuleName'> | ||
/// The connection string of the namespace for the specified | ||
/// authorizationRule. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse<ResourceListKeys>> ListKeysWithHttpMessagesAsync(string resourceGroupName, string namespaceName, string authorizationRuleName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Lists the available namespaces within a resourceGroup. | ||
/// </summary> | ||
/// <param name='nextPageLink'> | ||
/// The NextLink from the previous successful call to List operation. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse<IPage<NamespaceResource>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Lists all the available namespaces within the subscription | ||
/// irrespective of the resourceGroups. | ||
/// </summary> | ||
/// <param name='nextPageLink'> | ||
/// The NextLink from the previous successful call to List operation. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse<IPage<NamespaceResource>>> ListAllNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Gets the authorization rules for a namespace. | ||
/// </summary> | ||
/// <param name='nextPageLink'> | ||
/// The NextLink from the previous successful call to List operation. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse<IPage<SharedAccessAuthorizationRuleResource>>> ListAuthorizationRulesNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
} | ||
} |
81 changes: 81 additions & 0 deletions
81
...icrosoft.Azure.Management.NotificationHubs/Generated/INotificationHubsManagementClient.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,81 @@ | ||
// 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 0.14.0.0 | ||
// Changes may cause incorrect behavior and will be lost if the code is | ||
// regenerated. | ||
|
||
namespace Microsoft.Azure.Management.NotificationHubs | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Net.Http; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
using Newtonsoft.Json; | ||
using Microsoft.Rest; | ||
using Microsoft.Rest.Azure; | ||
using Models; | ||
|
||
/// <summary> | ||
/// Azure NotificationHub client | ||
/// </summary> | ||
public partial interface INotificationHubsManagementClient : IDisposable | ||
{ | ||
/// <summary> | ||
/// The base URI of the service. | ||
/// </summary> | ||
Uri BaseUri { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets json serialization settings. | ||
/// </summary> | ||
JsonSerializerSettings SerializationSettings { get; } | ||
|
||
/// <summary> | ||
/// Gets or sets json deserialization settings. | ||
/// </summary> | ||
JsonSerializerSettings DeserializationSettings { get; } | ||
|
||
/// <summary> | ||
/// Gets Azure subscription credentials. | ||
/// </summary> | ||
ServiceClientCredentials Credentials { get; } | ||
|
||
/// <summary> | ||
/// Gets subscription credentials which uniquely identify Microsoft | ||
/// Azure subscription. The subscription ID forms part of the URI for | ||
/// every service call. | ||
/// </summary> | ||
string SubscriptionId { get; set; } | ||
|
||
/// <summary> | ||
/// Client Api Version. | ||
/// </summary> | ||
string ApiVersion { get; } | ||
|
||
/// <summary> | ||
/// Gets or sets the preferred language for the response. | ||
/// </summary> | ||
string AcceptLanguage { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the retry timeout in seconds for Long Running | ||
/// Operations. Default value is 30. | ||
/// </summary> | ||
int? LongRunningOperationRetryTimeout { get; set; } | ||
|
||
/// <summary> | ||
/// When set to true a unique x-ms-client-request-id value is | ||
/// generated and included in each request. Default is true. | ||
/// </summary> | ||
bool? GenerateClientRequestId { get; set; } | ||
|
||
|
||
INamespacesOperations Namespaces { get; } | ||
|
||
INotificationHubsOperations NotificationHubs { get; } | ||
|
||
} | ||
} |
Oops, something went wrong.