-
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.
Updated Management.ServiceFabric for API version 2018-02-01
- Loading branch information
Showing
107 changed files
with
13,495 additions
and
1,915 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file--> | ||
<PropertyGroup> | ||
<AzureApiTag /> | ||
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags> | ||
</PropertyGroup> | ||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file--> | ||
<PropertyGroup> | ||
<AzureApiTag>ServiceFabric_2017-07-01-preview;ServiceFabric_2018-02-01;</AzureApiTag> | ||
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags> | ||
</PropertyGroup> | ||
</Project> |
955 changes: 955 additions & 0 deletions
955
...DKs/ServiceFabric/Management.ServiceFabric/Generated/ApplicationTypeVersionsOperations.cs
Large diffs are not rendered by default.
Oops, something went wrong.
389 changes: 389 additions & 0 deletions
389
...eFabric/Management.ServiceFabric/Generated/ApplicationTypeVersionsOperationsExtensions.cs
Large diffs are not rendered by default.
Oops, something went wrong.
877 changes: 877 additions & 0 deletions
877
src/SDKs/ServiceFabric/Management.ServiceFabric/Generated/ApplicationTypesOperations.cs
Large diffs are not rendered by default.
Oops, something went wrong.
291 changes: 291 additions & 0 deletions
291
.../ServiceFabric/Management.ServiceFabric/Generated/ApplicationTypesOperationsExtensions.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,291 @@ | ||
// <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.Management.ServiceFabric | ||
{ | ||
using Microsoft.Rest; | ||
using Microsoft.Rest.Azure; | ||
using Models; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
|
||
/// <summary> | ||
/// Extension methods for ApplicationTypesOperations. | ||
/// </summary> | ||
public static partial class ApplicationTypesOperationsExtensions | ||
{ | ||
/// <summary> | ||
/// Gets a Service Fabric application type name resource. | ||
/// </summary> | ||
/// <remarks> | ||
/// Get a Service Fabric application type name resource created or in the | ||
/// process of being created in the Service Fabric cluster resource. | ||
/// </remarks> | ||
/// <param name='operations'> | ||
/// The operations group for this extension method. | ||
/// </param> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='clusterName'> | ||
/// The name of the cluster resource. | ||
/// </param> | ||
/// <param name='applicationTypeName'> | ||
/// The name of the application type name resource. | ||
/// </param> | ||
public static ApplicationTypeResource Get(this IApplicationTypesOperations operations, string resourceGroupName, string clusterName, string applicationTypeName) | ||
{ | ||
return operations.GetAsync(resourceGroupName, clusterName, applicationTypeName).GetAwaiter().GetResult(); | ||
} | ||
|
||
/// <summary> | ||
/// Gets a Service Fabric application type name resource. | ||
/// </summary> | ||
/// <remarks> | ||
/// Get a Service Fabric application type name resource created or in the | ||
/// process of being created in the Service Fabric cluster resource. | ||
/// </remarks> | ||
/// <param name='operations'> | ||
/// The operations group for this extension method. | ||
/// </param> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='clusterName'> | ||
/// The name of the cluster resource. | ||
/// </param> | ||
/// <param name='applicationTypeName'> | ||
/// The name of the application type name resource. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
public static async Task<ApplicationTypeResource> GetAsync(this IApplicationTypesOperations operations, string resourceGroupName, string clusterName, string applicationTypeName, CancellationToken cancellationToken = default(CancellationToken)) | ||
{ | ||
using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, clusterName, applicationTypeName, null, cancellationToken).ConfigureAwait(false)) | ||
{ | ||
return _result.Body; | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// Creates or updates a Service Fabric application type name resource. | ||
/// </summary> | ||
/// <remarks> | ||
/// Create or update a Service Fabric application type name resource with the | ||
/// specified name. | ||
/// </remarks> | ||
/// <param name='operations'> | ||
/// The operations group for this extension method. | ||
/// </param> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='clusterName'> | ||
/// The name of the cluster resource. | ||
/// </param> | ||
/// <param name='applicationTypeName'> | ||
/// The name of the application type name resource. | ||
/// </param> | ||
/// <param name='location'> | ||
/// Azure resource location. | ||
/// </param> | ||
public static ApplicationTypeResource Create(this IApplicationTypesOperations operations, string resourceGroupName, string clusterName, string applicationTypeName, string location = default(string)) | ||
{ | ||
return operations.CreateAsync(resourceGroupName, clusterName, applicationTypeName, location).GetAwaiter().GetResult(); | ||
} | ||
|
||
/// <summary> | ||
/// Creates or updates a Service Fabric application type name resource. | ||
/// </summary> | ||
/// <remarks> | ||
/// Create or update a Service Fabric application type name resource with the | ||
/// specified name. | ||
/// </remarks> | ||
/// <param name='operations'> | ||
/// The operations group for this extension method. | ||
/// </param> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='clusterName'> | ||
/// The name of the cluster resource. | ||
/// </param> | ||
/// <param name='applicationTypeName'> | ||
/// The name of the application type name resource. | ||
/// </param> | ||
/// <param name='location'> | ||
/// Azure resource location. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
public static async Task<ApplicationTypeResource> CreateAsync(this IApplicationTypesOperations operations, string resourceGroupName, string clusterName, string applicationTypeName, string location = default(string), CancellationToken cancellationToken = default(CancellationToken)) | ||
{ | ||
using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, clusterName, applicationTypeName, location, null, cancellationToken).ConfigureAwait(false)) | ||
{ | ||
return _result.Body; | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// Deletes a Service Fabric application type name resource. | ||
/// </summary> | ||
/// <remarks> | ||
/// Delete a Service Fabric application type name resource with the specified | ||
/// name. | ||
/// </remarks> | ||
/// <param name='operations'> | ||
/// The operations group for this extension method. | ||
/// </param> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='clusterName'> | ||
/// The name of the cluster resource. | ||
/// </param> | ||
/// <param name='applicationTypeName'> | ||
/// The name of the application type name resource. | ||
/// </param> | ||
public static void Delete(this IApplicationTypesOperations operations, string resourceGroupName, string clusterName, string applicationTypeName) | ||
{ | ||
operations.DeleteAsync(resourceGroupName, clusterName, applicationTypeName).GetAwaiter().GetResult(); | ||
} | ||
|
||
/// <summary> | ||
/// Deletes a Service Fabric application type name resource. | ||
/// </summary> | ||
/// <remarks> | ||
/// Delete a Service Fabric application type name resource with the specified | ||
/// name. | ||
/// </remarks> | ||
/// <param name='operations'> | ||
/// The operations group for this extension method. | ||
/// </param> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='clusterName'> | ||
/// The name of the cluster resource. | ||
/// </param> | ||
/// <param name='applicationTypeName'> | ||
/// The name of the application type name resource. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
public static async Task DeleteAsync(this IApplicationTypesOperations operations, string resourceGroupName, string clusterName, string applicationTypeName, CancellationToken cancellationToken = default(CancellationToken)) | ||
{ | ||
(await operations.DeleteWithHttpMessagesAsync(resourceGroupName, clusterName, applicationTypeName, null, cancellationToken).ConfigureAwait(false)).Dispose(); | ||
} | ||
|
||
/// <summary> | ||
/// Gets the list of application type name resources created in the specified | ||
/// Service Fabric cluster resource. | ||
/// </summary> | ||
/// <remarks> | ||
/// Gets all application type name resources created or in the process of being | ||
/// created in the Service Fabric cluster resource. | ||
/// </remarks> | ||
/// <param name='operations'> | ||
/// The operations group for this extension method. | ||
/// </param> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='clusterName'> | ||
/// The name of the cluster resource. | ||
/// </param> | ||
public static ApplicationTypeResourceList List(this IApplicationTypesOperations operations, string resourceGroupName, string clusterName) | ||
{ | ||
return operations.ListAsync(resourceGroupName, clusterName).GetAwaiter().GetResult(); | ||
} | ||
|
||
/// <summary> | ||
/// Gets the list of application type name resources created in the specified | ||
/// Service Fabric cluster resource. | ||
/// </summary> | ||
/// <remarks> | ||
/// Gets all application type name resources created or in the process of being | ||
/// created in the Service Fabric cluster resource. | ||
/// </remarks> | ||
/// <param name='operations'> | ||
/// The operations group for this extension method. | ||
/// </param> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='clusterName'> | ||
/// The name of the cluster resource. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
public static async Task<ApplicationTypeResourceList> ListAsync(this IApplicationTypesOperations operations, string resourceGroupName, string clusterName, CancellationToken cancellationToken = default(CancellationToken)) | ||
{ | ||
using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, clusterName, null, cancellationToken).ConfigureAwait(false)) | ||
{ | ||
return _result.Body; | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// Deletes a Service Fabric application type name resource. | ||
/// </summary> | ||
/// <remarks> | ||
/// Delete a Service Fabric application type name resource with the specified | ||
/// name. | ||
/// </remarks> | ||
/// <param name='operations'> | ||
/// The operations group for this extension method. | ||
/// </param> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='clusterName'> | ||
/// The name of the cluster resource. | ||
/// </param> | ||
/// <param name='applicationTypeName'> | ||
/// The name of the application type name resource. | ||
/// </param> | ||
public static void BeginDelete(this IApplicationTypesOperations operations, string resourceGroupName, string clusterName, string applicationTypeName) | ||
{ | ||
operations.BeginDeleteAsync(resourceGroupName, clusterName, applicationTypeName).GetAwaiter().GetResult(); | ||
} | ||
|
||
/// <summary> | ||
/// Deletes a Service Fabric application type name resource. | ||
/// </summary> | ||
/// <remarks> | ||
/// Delete a Service Fabric application type name resource with the specified | ||
/// name. | ||
/// </remarks> | ||
/// <param name='operations'> | ||
/// The operations group for this extension method. | ||
/// </param> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='clusterName'> | ||
/// The name of the cluster resource. | ||
/// </param> | ||
/// <param name='applicationTypeName'> | ||
/// The name of the application type name resource. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
public static async Task BeginDeleteAsync(this IApplicationTypesOperations operations, string resourceGroupName, string clusterName, string applicationTypeName, CancellationToken cancellationToken = default(CancellationToken)) | ||
{ | ||
(await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, clusterName, applicationTypeName, null, cancellationToken).ConfigureAwait(false)).Dispose(); | ||
} | ||
|
||
} | ||
} |
Oops, something went wrong.