/// <summary> /// Create or update a NetApp account /// </summary> /// <remarks> /// Create or update the specified NetApp account within the resource group /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='body'> /// NetApp Account object supplied in the body of the operation. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='accountName'> /// The name of the NetApp account /// </param> public static NetAppAccount CreateOrUpdate(this IAccountsOperations operations, NetAppAccount body, string resourceGroupName, string accountName) { return(operations.CreateOrUpdateAsync(body, resourceGroupName, accountName).GetAwaiter().GetResult()); }
/// <summary> /// Create or update a Maps Account. A Maps Account holds the keys which allow /// access to the Maps REST APIs. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the Azure Resource Group. /// </param> /// <param name='accountName'> /// The name of the Maps Account. /// </param> /// <param name='mapsAccountCreateParameters'> /// The new or updated parameters for the Maps Account. /// </param> public static MapsAccount CreateOrUpdate(this IAccountsOperations operations, string resourceGroupName, string accountName, MapsAccountCreateParameters mapsAccountCreateParameters) { return(operations.CreateOrUpdateAsync(resourceGroupName, accountName, mapsAccountCreateParameters).GetAwaiter().GetResult()); }
/// <summary> /// Creates an Automanage Account /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='accountName'> /// Name of the Automanage account. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='parameters'> /// Parameters supplied to create or update Automanage account. /// </param> public static Account CreateOrUpdate(this IAccountsOperations operations, string accountName, string resourceGroupName, Account parameters) { return(operations.CreateOrUpdateAsync(accountName, resourceGroupName, parameters).GetAwaiter().GetResult()); }
/// <summary> /// Create or update a Location Based Services Account. A Location Based /// Services Account holds the keys which allow access to the Location Based /// Services REST APIs. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the Azure Resource Group. /// </param> /// <param name='accountName'> /// The name of the Location Based Services Account. /// </param> /// <param name='locationBasedServicesAccountCreateParameters'> /// The new or updated parameters for the Location Based Services Account. /// </param> public static LocationBasedServicesAccount CreateOrUpdate(this IAccountsOperations operations, string resourceGroupName, string accountName, LocationBasedServicesAccountCreateParameters locationBasedServicesAccountCreateParameters) { return(operations.CreateOrUpdateAsync(resourceGroupName, accountName, locationBasedServicesAccountCreateParameters).GetAwaiter().GetResult()); }