diff --git a/setup/azurecmdfiles.wxi b/setup/azurecmdfiles.wxi
index adb9cfdb1ff1..0168d9786271 100644
--- a/setup/azurecmdfiles.wxi
+++ b/setup/azurecmdfiles.wxi
@@ -2148,6 +2148,9 @@
+
+
+
@@ -2627,8 +2630,8 @@
-
-
+
+
@@ -3015,6 +3018,9 @@
+
+
+
@@ -4074,12 +4080,12 @@
-
-
-
+
+
+
@@ -5762,6 +5768,7 @@
+
@@ -5919,7 +5926,7 @@
-
+
@@ -6045,6 +6052,7 @@
+
@@ -6382,8 +6390,8 @@
-
+
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/ApiManagementClient.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/ApiManagementClient.cs
index 6f61b2cd293b..b9a9755d0de0 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/ApiManagementClient.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/ApiManagementClient.cs
@@ -27,8 +27,6 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement
using System.Text.RegularExpressions;
using AutoMapper;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- using ServiceManagemenet.Common;
- using ServiceManagemenet.Common.Models;
using Microsoft.Azure.Management.ApiManagement;
using Microsoft.Azure.Management.ApiManagement.SmapiModels;
using Newtonsoft.Json;
@@ -142,6 +140,39 @@ private static void ConfigureSmapiToPowershellMappings()
dest.TokenBodyParameters = src.TokenBodyParameters == null
? (Hashtable) null
: new Hashtable(src.TokenBodyParameters.ToDictionary(key => key.Name, value => value.Value)));
+
+ Mapper
+ .CreateMap()
+ .ForMember(dest => dest.LoggerId, opt => opt.MapFrom(src => src.Id))
+ .ForMember(dest => dest.Description, opt => opt.MapFrom(src => src.Description))
+ .ForMember(dest => dest.IsBuffered, opt => opt.MapFrom(src => src.IsBuffered))
+ .ForMember(dest => dest.Type, opt => opt.MapFrom(src => src.Type));
+
+ Mapper
+ .CreateMap()
+ .ForMember(dest => dest.PropertyId, opt => opt.MapFrom(src => src.Id))
+ .ForMember(dest => dest.Name, opt => opt.MapFrom(src => src.Name))
+ .ForMember(dest => dest.Value, opt => opt.MapFrom(src => src.Value))
+ .ForMember(dest => dest.Secret, opt => opt.MapFrom(src => src.Secret))
+ .ForMember(dest => dest.Tags, opt => opt.MapFrom(src => src.Tags == null ? new string[0] : src.Tags.ToArray()));
+
+ Mapper
+ .CreateMap()
+ .ForMember(dest => dest.OpenIdConnectProviderId, opt => opt.MapFrom(src => src.Id))
+ .ForMember(dest => dest.Name, opt => opt.MapFrom(src => src.Name))
+ .ForMember(dest => dest.Description, opt => opt.MapFrom(src => src.Description))
+ .ForMember(dest => dest.ClientId, opt => opt.MapFrom(src => src.ClientId))
+ .ForMember(dest => dest.ClientSecret, opt => opt.MapFrom(src => src.ClientSecret))
+ .ForMember(dest => dest.MetadataEndpoint, opt => opt.MapFrom(src => src.MetadataEndpoint));
+
+ Mapper
+ .CreateMap()
+ .ForMember(dest => dest.Enabled, opt => opt.MapFrom(src => src.Enabled))
+ .ForMember(dest => dest.Id, opt => opt.MapFrom(src => src.Id))
+ .ForMember(dest => dest.PrimaryKey, opt => opt.MapFrom(src => src.PrimaryKey))
+ .ForMember(dest => dest.SecondaryKey, opt => opt.MapFrom(src => src.SecondaryKey));
+
+ Mapper.CreateMap();
}
public ApiManagementClient(AzureContext context)
@@ -168,6 +199,18 @@ private Management.ApiManagement.ApiManagementClient CreateClient()
AzureEnvironment.Endpoint.ResourceManager);
}
+ internal TenantConfigurationLongRunningOperation GetLongRunningOperationStatus(TenantConfigurationLongRunningOperation longRunningOperation)
+ {
+ var response =
+ Client.TenantConfiguration
+ .GetTenantConfigurationLongRunningOperationStatusAsync(longRunningOperation.OperationLink)
+ .ConfigureAwait(false)
+ .GetAwaiter()
+ .GetResult();
+
+ return TenantConfigurationLongRunningOperation.CreateLongRunningOperation(longRunningOperation.OperationName, response);
+ }
+
private static IList ListPaged(
Func> listFirstPage,
Func> listNextPage)
@@ -1291,5 +1334,410 @@ public void AuthorizationServerRemove(PsApiManagementContext context, string ser
Client.AuthorizationServers.Delete(context.ResourceGroupName, context.ServiceName, serverId, "*");
}
#endregion
+
+ #region Loggers
+ public PsApiManagementLogger LoggerCreate(
+ PsApiManagementContext context,
+ LoggerTypeContract type,
+ string loggerId,
+ string description,
+ IDictionary credentials,
+ bool isBuffered)
+ {
+ var loggerCreateParameters = new LoggerCreateParameters(type, credentials)
+ {
+ Description = description,
+ IsBuffered = isBuffered
+ };
+
+ Client.Loggers.Create(context.ResourceGroupName, context.ServiceName, loggerId, loggerCreateParameters);
+
+ var response = Client.Loggers.Get(context.ResourceGroupName, context.ServiceName, loggerId);
+ var logger = Mapper.Map(response.Value);
+
+ return logger;
+ }
+
+ public IList LoggersList(PsApiManagementContext context)
+ {
+ var results = ListPagedAndMap(
+ () => Client.Loggers.List(context.ResourceGroupName, context.ServiceName, null),
+ nextLink => Client.Loggers.ListNext(nextLink));
+
+ return results;
+ }
+
+ public PsApiManagementLogger LoggerById(PsApiManagementContext context, string loggerId)
+ {
+ var response = Client.Loggers.Get(context.ResourceGroupName, context.ServiceName, loggerId);
+ var logger = Mapper.Map(response.Value);
+
+ return logger;
+ }
+
+ public void LoggerRemove(PsApiManagementContext context, string loggerId)
+ {
+ Client.Loggers.Delete(context.ResourceGroupName, context.ServiceName, loggerId, "*");
+ }
+
+ public void LoggerSet(
+ PsApiManagementContext context,
+ LoggerTypeContract type,
+ string loggerId,
+ string description,
+ IDictionary credentials,
+ bool? isBuffered)
+ {
+ var loggerUpdateParameters = new LoggerUpdateParameters(type);
+
+ if (!string.IsNullOrWhiteSpace(description))
+ {
+ loggerUpdateParameters.Description = description;
+ }
+
+ if (isBuffered.HasValue)
+ {
+ loggerUpdateParameters.IsBuffered = isBuffered.Value;
+ }
+
+ if (credentials != null && credentials.Count != 0)
+ {
+ loggerUpdateParameters.Credentials = credentials;
+ }
+
+ Client.Loggers.Update(
+ context.ResourceGroupName,
+ context.ServiceName,
+ loggerId,
+ loggerUpdateParameters,
+ "*");
+ }
+ #endregion
+
+ #region Properties
+ public PsApiManagementProperty PropertyCreate(
+ PsApiManagementContext context,
+ string propertyId,
+ string propertyName,
+ string propertyValue,
+ bool secret,
+ IList tags = null)
+ {
+ var propertyCreateParameters = new PropertyCreateParameters(propertyName, propertyValue)
+ {
+ Secret = secret,
+ Tags = tags
+ };
+
+ Client.Property.Create(context.ResourceGroupName, context.ServiceName, propertyId, propertyCreateParameters);
+
+ var response = Client.Property.Get(context.ResourceGroupName, context.ServiceName, propertyId);
+ var property = Mapper.Map(response.Value);
+
+ return property;
+ }
+
+ public IList PropertiesList(PsApiManagementContext context)
+ {
+ var results = ListPagedAndMap(
+ () => Client.Property.List(context.ResourceGroupName, context.ServiceName, null),
+ nextLink => Client.Property.ListNext(nextLink));
+
+ return results;
+ }
+
+ public IList PropertyByName(PsApiManagementContext context, string propertyName)
+ {
+ var results = ListPagedAndMap(
+ () => Client.Property.List(
+ context.ResourceGroupName,
+ context.ServiceName,
+ new QueryParameters
+ {
+ Filter = string.Format("substringof('{0}',name)", propertyName)
+ }),
+ nextLink => Client.Property.ListNext(nextLink));
+
+ return results;
+ }
+
+ public IList PropertyByTag(PsApiManagementContext context, string propertyTag)
+ {
+ var results = ListPagedAndMap(
+ () => Client.Property.List(
+ context.ResourceGroupName,
+ context.ServiceName,
+ new QueryParameters
+ {
+ Filter = string.Format("tags/any(t: t eq '{0}')", propertyTag)
+ }),
+ nextLink => Client.Property.ListNext(nextLink));
+
+ return results;
+ }
+
+ public PsApiManagementProperty PropertyById(PsApiManagementContext context, string propertyId)
+ {
+ var response = Client.Property.Get(context.ResourceGroupName, context.ServiceName, propertyId);
+ var property = Mapper.Map(response.Value);
+
+ return property;
+ }
+
+ public void PropertyRemove(PsApiManagementContext context, string propertyId)
+ {
+ Client.Property.Delete(context.ResourceGroupName, context.ServiceName, propertyId, "*");
+ }
+
+ public void PropertySet(
+ PsApiManagementContext context,
+ string propertyId,
+ string propertyName,
+ string propertyValue,
+ bool? isSecret,
+ IList tags = null)
+ {
+ var propertyUpdateParameters = new PropertyUpdateParameters();
+
+ if (!string.IsNullOrWhiteSpace(propertyName))
+ {
+ propertyUpdateParameters.Name = propertyName;
+ }
+
+ if (!string.IsNullOrWhiteSpace(propertyValue))
+ {
+ propertyUpdateParameters.Value = propertyValue;
+ }
+
+ if (isSecret.HasValue)
+ {
+ propertyUpdateParameters.Secret = isSecret.Value;
+ }
+
+ if (tags != null)
+ {
+ propertyUpdateParameters.Tags = tags;
+ }
+
+ Client.Property.Update(
+ context.ResourceGroupName,
+ context.ServiceName,
+ propertyId,
+ propertyUpdateParameters,
+ "*");
+ }
+ #endregion
+
+ #region OpenIdConnectProvider
+ public PsApiManagementOpenIdConnectProvider OpenIdProviderCreate(
+ PsApiManagementContext context,
+ string openIdProviderId,
+ string name,
+ string metadataEndpointUri,
+ string clientId,
+ string clientSecret,
+ string description)
+ {
+ var openIdProviderCreateParameters = new OpenidConnectProviderCreateContract(name, metadataEndpointUri, clientId);
+
+ if (!string.IsNullOrWhiteSpace(clientSecret))
+ {
+ openIdProviderCreateParameters.ClientSecret = clientSecret;
+ }
+
+ if (!string.IsNullOrWhiteSpace(description))
+ {
+ openIdProviderCreateParameters.Description = description;
+ }
+
+ Client.OpenIdConnectProviders.Create(
+ context.ResourceGroupName,
+ context.ServiceName,
+ openIdProviderId,
+ openIdProviderCreateParameters);
+
+ var response = Client.OpenIdConnectProviders.Get(context.ResourceGroupName, context.ServiceName, openIdProviderId);
+ var openIdConnectProvider = Mapper.Map(response.Value);
+
+ return openIdConnectProvider;
+ }
+
+ public IList OpenIdConnectProvidersList(PsApiManagementContext context)
+ {
+ var results = ListPagedAndMap(
+ () => Client.OpenIdConnectProviders.List(context.ResourceGroupName, context.ServiceName, null),
+ nextLink => Client.OpenIdConnectProviders.ListNext(nextLink));
+
+ return results;
+ }
+
+ public IList OpenIdConnectProviderByName(PsApiManagementContext context, string openIdConnectProviderName)
+ {
+ var results = ListPagedAndMap(
+ () => Client.OpenIdConnectProviders.List(
+ context.ResourceGroupName,
+ context.ServiceName,
+ new QueryParameters
+ {
+ Filter = string.Format("substringof('{0}',name)", openIdConnectProviderName)
+ }),
+ nextLink => Client.OpenIdConnectProviders.ListNext(nextLink));
+
+ return results;
+ }
+
+ public PsApiManagementOpenIdConnectProvider OpenIdConnectProviderById(PsApiManagementContext context, string openIdConnectProviderId)
+ {
+ var response = Client.OpenIdConnectProviders.Get(
+ context.ResourceGroupName,
+ context.ServiceName,
+ openIdConnectProviderId);
+
+ var openIdConnectProvider = Mapper.Map(response.Value);
+
+ return openIdConnectProvider;
+ }
+
+ public void OpenIdConnectProviderRemove(PsApiManagementContext context, string openIdConnectProviderId)
+ {
+ Client.OpenIdConnectProviders.Delete(context.ResourceGroupName, context.ServiceName, openIdConnectProviderId, "*");
+ }
+
+ public void OpenIdConnectProviderSet(
+ PsApiManagementContext context,
+ string openIdConnectProviderId,
+ string name,
+ string description,
+ string clientId,
+ string clientSecret,
+ string metadataEndpoint)
+ {
+ var openIdConnectProviderUpdateParameters = new OpenidConnectProviderUpdateContract();
+
+ if (!string.IsNullOrWhiteSpace(name))
+ {
+ openIdConnectProviderUpdateParameters.Name = name;
+ }
+
+ if (!string.IsNullOrWhiteSpace(description))
+ {
+ openIdConnectProviderUpdateParameters.Description = description;
+ }
+
+ if (!string.IsNullOrWhiteSpace(clientId))
+ {
+ openIdConnectProviderUpdateParameters.ClientId = clientId;
+ }
+
+ if (!string.IsNullOrWhiteSpace(clientSecret))
+ {
+ openIdConnectProviderUpdateParameters.ClientSecret = clientSecret;
+ }
+
+ if (!string.IsNullOrWhiteSpace(metadataEndpoint))
+ {
+ openIdConnectProviderUpdateParameters.MetadataEndpoint = metadataEndpoint;
+ }
+
+ Client.OpenIdConnectProviders.Update(
+ context.ResourceGroupName,
+ context.ServiceName,
+ openIdConnectProviderId,
+ openIdConnectProviderUpdateParameters,
+ "*");
+ }
+ #endregion
+
+ #region TenantAccessInformation
+ public PsApiManagementAccessInformation GetTenantGitAccessInformation(PsApiManagementContext context)
+ {
+ var response = Client.TenantAccessGit.Get(
+ context.ResourceGroupName,
+ context.ServiceName);
+
+ return Mapper.Map(response.Value);
+ }
+
+ public void TenantGitAccessSet(
+ PsApiManagementContext context,
+ bool enableGitAccess)
+ {
+ var tenantAccess = Client.TenantAccessGit.Get(context.ResourceGroupName, context.ServiceName);
+
+ var accessInformationParams = new AccessInformationUpdateParameters
+ {
+ Enabled = enableGitAccess
+ };
+ Client.TenantAccessGit.Update(context.ResourceGroupName, context.ServiceName, accessInformationParams, tenantAccess.ETag);
+ }
+ #endregion
+
+ #region TenantConfiguration
+
+ public TenantConfigurationLongRunningOperation BeginSaveTenantGitConfiguration(
+ PsApiManagementContext context,
+ string branchName,
+ bool force)
+ {
+ var saveConfigurationParams = new SaveConfigurationParameter(branchName)
+ {
+ Force = force
+ };
+
+ var longrunningResponse = Client.TenantConfiguration.BeginSave(
+ context.ResourceGroupName,
+ context.ServiceName,
+ saveConfigurationParams);
+
+ return TenantConfigurationLongRunningOperation.CreateLongRunningOperation("Save-AzureRmApiManagement", longrunningResponse);
+ }
+
+ public TenantConfigurationLongRunningOperation BeginPublishTenantGitConfiguration(
+ PsApiManagementContext context,
+ string branchName,
+ bool force)
+ {
+ var deployConfigurationParams = new DeployConfigurationParameters(branchName)
+ {
+ Force = force
+ };
+
+ var longrunningResponse = Client.TenantConfiguration.BeginDeploy(
+ context.ResourceGroupName,
+ context.ServiceName,
+ deployConfigurationParams);
+
+ return TenantConfigurationLongRunningOperation.CreateLongRunningOperation("Publish-AzureRmApiManagement", longrunningResponse);
+ }
+
+ public TenantConfigurationLongRunningOperation BeginValidateTenantGitConfiguration(
+ PsApiManagementContext context,
+ string branchName,
+ bool force)
+ {
+ var deployConfigurationParams = new DeployConfigurationParameters(branchName)
+ {
+ Force = force
+ };
+
+ var longrunningResponse = Client.TenantConfiguration.BeginValidate(
+ context.ResourceGroupName,
+ context.ServiceName,
+ deployConfigurationParams);
+
+ return TenantConfigurationLongRunningOperation.CreateLongRunningOperation("Publish-AzureRmApiManagement -ValidateOnly", longrunningResponse);
+ }
+
+ public PsApiManagementTenantConfigurationSyncState GetTenantConfigurationSyncState(
+ PsApiManagementContext context)
+ {
+ var response = Client.TenantConfigurationSyncState.Get(
+ context.ResourceGroupName,
+ context.ServiceName);
+
+ return Mapper.Map(response.Value);
+ }
+
+ #endregion
}
}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj
index 07a0e52af3c2..13f24f27edf1 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj
@@ -68,7 +68,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Management.ApiManagement.2.0.1-preview\lib\net40\Microsoft.Azure.Management.ApiManagement.dll
+ ..\..\..\packages\Microsoft.Azure.Management.ApiManagement.2.0.2-preview\lib\net40\Microsoft.Azure.Management.ApiManagement.dll
False
@@ -150,49 +150,76 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -209,8 +236,10 @@
+
+
True
@@ -222,6 +251,7 @@
ResXFileCodeGenerator
Resources.Designer.cs
+ Designer
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs
index 2d3335dad986..2a33ae7d7e66 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs
@@ -1 +1 @@
-//
// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
{
using System;
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
[Cmdlet(VerbsCommon.Add, "AzureRmApiManagementApiToProduct")]
[OutputType(typeof(bool))]
public class AddAzureApiManagementApiToProduct : AzureApiManagementCmdletBase
{
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
[ValidateNotNullOrEmpty]
public PsApiManagementContext Context { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
HelpMessage = "Identifier of existing Product to add API to. This parameter is required.")]
[ValidateNotNullOrEmpty]
public String ProductId { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
HelpMessage = "Identifier of existing APIs to be added to the product. This parameter is required.")]
[ValidateNotNullOrEmpty]
public String ApiId { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")]
public SwitchParameter PassThru { get; set; }
public override void ExecuteApiManagementCmdlet()
{
Client.ApiAddToProduct(Context, ProductId, ApiId);
if (PassThru)
{
WriteObject(true);
}
}
}
}
\ No newline at end of file
+//
// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
{
using System;
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
[Cmdlet(VerbsCommon.Add, Constants.ApiManagementApiToProduct)]
[OutputType(typeof(bool))]
public class AddAzureApiManagementApiToProduct : AzureApiManagementCmdletBase
{
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
[ValidateNotNullOrEmpty]
public PsApiManagementContext Context { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
HelpMessage = "Identifier of existing Product to add API to. This parameter is required.")]
[ValidateNotNullOrEmpty]
public String ProductId { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
HelpMessage = "Identifier of existing APIs to be added to the product. This parameter is required.")]
[ValidateNotNullOrEmpty]
public String ApiId { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")]
public SwitchParameter PassThru { get; set; }
public override void ExecuteApiManagementCmdlet()
{
Client.ApiAddToProduct(Context, ProductId, ApiId);
if (PassThru)
{
WriteObject(true);
}
}
}
}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementProductToGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementProductToGroup.cs
index ab3daca3319e..342c56c03cf8 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementProductToGroup.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementProductToGroup.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Add, "AzureRmApiManagementProductToGroup")]
+ [Cmdlet(VerbsCommon.Add, Constants.ApiManagementProductToGroup)]
[OutputType(typeof(bool))]
public class AddAzureApiManagementProductToGroup : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementUserToGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementUserToGroup.cs
index b5593fd9c6a6..8e4a662fccc1 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementUserToGroup.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementUserToGroup.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Add, "AzureRmApiManagementUserToGroup")]
+ [Cmdlet(VerbsCommon.Add, Constants.ApiManagementUserToGroup)]
[OutputType(typeof(bool))]
public class AddAzureApiManagementUserToGroup : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AzureApiManagementCmdletBase.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AzureApiManagementCmdletBase.cs
index a3252676bfae..0d6a3dd14139 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AzureApiManagementCmdletBase.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AzureApiManagementCmdletBase.cs
@@ -13,6 +13,7 @@
// limitations under the License.
//
+
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
{
using System;
@@ -20,10 +21,12 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement;
using ResourceManager.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
abstract public class AzureApiManagementCmdletBase : AzureRMCmdlet
{
- protected static TimeSpan LongRunningOperationDefaultTimeout = TimeSpan.FromMinutes(1);
+ protected static TimeSpan LongRunningOperationDefaultTimeout = TimeSpan.FromSeconds(30);
private ApiManagementClient _client;
@@ -65,5 +68,75 @@ protected virtual void HandleException(Exception ex)
{
WriteExceptionError(ex);
}
+
+ protected void WriteProgress(TenantConfigurationLongRunningOperation operation)
+ {
+ WriteProgress(new ProgressRecord(0, operation.OperationName, operation.Status.ToString()));
+ }
+
+ ///
+ /// TODO: Revert to standard long running operation once /operationResults endpoint start returning
+ /// 202 Code for not Completed Operation.
+ ///
+ ///
+ protected TenantConfigurationLongRunningOperation WaitForOperationToComplete(TenantConfigurationLongRunningOperation longRunningOperation)
+ {
+ do
+ {
+ var retryAfter = longRunningOperation.RetryAfter == null || longRunningOperation.RetryAfter.Value < LongRunningOperationDefaultTimeout ?
+ LongRunningOperationDefaultTimeout : longRunningOperation.RetryAfter.Value;
+
+ WriteProgress(longRunningOperation);
+
+ TestMockSupport.Delay(retryAfter);
+
+ // the operation link is present in the first call to Operation.
+ // The next calls to /operationResults do not return Location header, hence preserving this value across calls
+ // this is the service side bug.
+ var operationStatusLink = longRunningOperation.OperationLink;
+
+ longRunningOperation = Client.GetLongRunningOperationStatus(longRunningOperation);
+ longRunningOperation.OperationLink = operationStatusLink;
+
+ WriteVerboseWithTimestamp(Resources.VerboseGetOperationStateTimeoutMessage,
+ longRunningOperation.OperationResult.State);
+ } while (longRunningOperation.OperationResult.State == TenantConfigurationState.InProgress);
+
+ return longRunningOperation;
+ }
+
+ protected void ExecuteTenantConfigurationLongRunningCmdletWrap(
+ Func func,
+ bool passThru = false,
+ object passThruValue = null)
+ {
+ try
+ {
+ var longRunningOperation = func();
+
+ longRunningOperation = WaitForOperationToComplete(longRunningOperation);
+ if (longRunningOperation.OperationResult.State != TenantConfigurationState.Succeeded)
+ {
+ var errorMessage = longRunningOperation.OperationResult.Error != null ?
+ longRunningOperation.OperationResult.Error.Message
+ : longRunningOperation.OperationName;
+
+ WriteErrorWithTimestamp(errorMessage);
+ WriteObject(passThruValue ?? longRunningOperation.OperationResult);
+ }
+ else if (passThru)
+ {
+ WriteObject(passThruValue ?? longRunningOperation.OperationResult);
+ }
+ }
+ catch (ArgumentException ex)
+ {
+ WriteError(new ErrorRecord(ex, string.Empty, ErrorCategory.InvalidArgument, null));
+ }
+ catch (Exception ex)
+ {
+ WriteExceptionError(ex);
+ }
+ }
}
}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ExportAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ExportAzureApiManagementApi.cs
index 2308dcfaf433..d5edca06d518 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ExportAzureApiManagementApi.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ExportAzureApiManagementApi.cs
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsData.Export, "AzureRmApiManagementApi", DefaultParameterSetName = ExportContentToPipeline)]
+ [Cmdlet(VerbsData.Export, Constants.ApiManagementApi, DefaultParameterSetName = ExportContentToPipeline)]
[OutputType(typeof(string))]
public class ExportAzureApiManagementApi : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementApi.cs
index ac670fbe0765..cdaf746b7375 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementApi.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementApi.cs
@@ -19,8 +19,9 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementApi", DefaultParameterSetName = AllApis)]
- [OutputType(typeof(IList))]
+ [Cmdlet(VerbsCommon.Get, Constants.ApiManagementApi, DefaultParameterSetName = AllApis)]
+ [OutputType(typeof(IList), ParameterSetName = new [] { AllApis, FindByName, FindByProductId })]
+ [OutputType(typeof(PsApiManagementApi), ParameterSetName = new[] { FindById })]
public class GetAzureApiManagementApi : AzureApiManagementCmdletBase
{
private const string FindByProductId = "Find by product ID";
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs
index b4018fc9840e..06190f7873fc 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs
@@ -19,10 +19,14 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementAuthorizationServer")]
- [OutputType(typeof(IList))]
+ [Cmdlet(VerbsCommon.Get, Constants.ApiManagementAuthorizationServer, DefaultParameterSetName = GetAll)]
+ [OutputType(typeof(IList), ParameterSetName = new [] { GetAll })]
+ [OutputType(typeof(PsApiManagementOAuth2AuthrozationServer), ParameterSetName = new[] { GetById })]
public class GetAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase
{
+ private const string GetAll = "Get all authorization server";
+ private const string GetById = "Get by Id";
+
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
@@ -31,9 +35,11 @@ public class GetAzureApiManagementAuthorizationServer : AzureApiManagementCmdlet
public PsApiManagementContext Context { get; set; }
[Parameter(
+ ParameterSetName = GetById,
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Identifier of the authorization server. If specified will find authorization server by the identifier. This parameter is optional. ")]
+ HelpMessage = "Identifier of the authorization server. If specified will find authorization server by the identifier." +
+ " This parameter is optional. ")]
public String ServerId { get; set; }
public override void ExecuteApiManagementCmdlet()
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementCertificate.cs
index 1d2e89ee3645..7b43f0bf9856 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementCertificate.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementCertificate.cs
@@ -17,11 +17,11 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System;
using System.Collections.Generic;
using System.Management.Automation;
- using System.Runtime.InteropServices;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementCertificate", DefaultParameterSetName = GetAll)]
- [OutputType(typeof(IList))]
+ [Cmdlet(VerbsCommon.Get, Constants.ApiManagementCertificate, DefaultParameterSetName = GetAll)]
+ [OutputType(typeof(IList), ParameterSetName = new [] { GetAll })]
+ [OutputType(typeof(PsApiManagementCertificate), ParameterSetName = new[] { GetById })]
public class GetAzureApiManagementCertificate : AzureApiManagementCmdletBase
{
private const string GetAll = "Get all certificates";
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementGroup.cs
index ce9a15ea66a1..5bb9d28fd897 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementGroup.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementGroup.cs
@@ -15,11 +15,13 @@
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
{
using System;
+ using System.Collections.Generic;
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementGroup", DefaultParameterSetName = GetAll)]
- [OutputType(typeof(PsApiManagementGroup))]
+ [Cmdlet(VerbsCommon.Get, Constants.ApiManagementGroup, DefaultParameterSetName = GetAll)]
+ [OutputType(typeof(IList), ParameterSetName = new [] { GetAll, FindByUser, FindByProduct })]
+ [OutputType(typeof(PsApiManagementGroup), ParameterSetName = new[] { GetById })]
public class GetAzureApiManagementGroup : AzureApiManagementCmdletBase
{
private const string GetAll = "Get all groups";
@@ -51,14 +53,16 @@ public class GetAzureApiManagementGroup : AzureApiManagementCmdletBase
ParameterSetName = FindByUser,
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Identifier of existing user. If specified will return all groups the user belongs to. This parameter is optional.")]
+ HelpMessage = "Identifier of existing user. If specified will return all groups the user belongs to. " +
+ "This parameter is optional.")]
public String UserId { get; set; }
[Parameter(
ParameterSetName = FindByProduct,
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Identifier of existing product. If specified will return all groups the product assigned to. This parameter is optional.")]
+ HelpMessage = "Identifier of existing product. If specified will return all groups the product assigned to. " +
+ "This parameter is optional.")]
public String ProductId { get; set; }
public override void ExecuteApiManagementCmdlet()
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementLogger.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementLogger.cs
new file mode 100644
index 000000000000..6e9b660c8f1c
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementLogger.cs
@@ -0,0 +1,62 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System;
+ using System.Collections.Generic;
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+
+ [Cmdlet(VerbsCommon.Get, Constants.ApiManagementLogger, DefaultParameterSetName = GetAll)]
+ [OutputType(typeof(IList), ParameterSetName = new [] { GetAll })]
+ [OutputType(typeof(PsApiManagementLogger), ParameterSetName = new [] { GetById })]
+ public class GetAzureApiManagementLogger : AzureApiManagementCmdletBase
+ {
+ private const string GetAll = "Get all loggers";
+ private const string GetById = "Get by logger ID";
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ [Parameter(
+ ParameterSetName = GetById,
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Identifier of a logger. If specified will try to find logger by the identifier. This parameter is optional.")]
+ public String LoggerId { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ if (ParameterSetName.Equals(GetAll))
+ {
+ var loggers = Client.LoggersList(Context);
+ WriteObject(loggers, true);
+ }
+ else if (ParameterSetName.Equals(GetById))
+ {
+ var logger = Client.LoggerById(Context, LoggerId);
+ WriteObject(logger);
+ }
+ else
+ {
+ throw new InvalidOperationException(string.Format("Parameter set name '{0}' is not supported.", ParameterSetName));
+ }
+ }
+ }
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOpenIdConnectProvider.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOpenIdConnectProvider.cs
new file mode 100644
index 000000000000..5e99cb3ddb14
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOpenIdConnectProvider.cs
@@ -0,0 +1,79 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System;
+ using System.Collections.Generic;
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+
+ [Cmdlet(VerbsCommon.Get, Constants.ApiManagementOpenIdConnectProvider, DefaultParameterSetName = GetAll)]
+ [OutputType(typeof(IList), ParameterSetName = new [] { GetAll })]
+ [OutputType(typeof(PsApiManagementOpenIdConnectProvider), ParameterSetName = new [] { GetById })]
+ public class GetAzureApiManagementOpenIdConnectProvider : AzureApiManagementCmdletBase
+ {
+ private const string GetAll = "Get all OpenID Connect Providers";
+ private const string GetById = "Get by OpenID Connect Provider ID";
+ private const string FindByName = "Find by OpenID Connect Provider friendly Name";
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ [Parameter(
+ ParameterSetName = GetById,
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Identifier of a OpenID Connect Provider. " +
+ "If specified will try to find openId Connect Provider by the identifier. " +
+ "This parameter is optional.")]
+ public String OpenIdConnectProviderId { get; set; }
+
+ [Parameter(
+ ParameterSetName = FindByName,
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "OpenID Connect Provider friendly name." +
+ " If specified will try to find openID Connect Provider by the name. " +
+ "This parameter is optional.")]
+ public String Name { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ if (ParameterSetName.Equals(GetAll))
+ {
+ var openIdConnectProviders = Client.OpenIdConnectProvidersList(Context);
+ WriteObject(openIdConnectProviders, true);
+ }
+ else if (ParameterSetName.Equals(GetById))
+ {
+ var openIdConnectProvider = Client.OpenIdConnectProviderById(Context, OpenIdConnectProviderId);
+ WriteObject(openIdConnectProvider);
+ }
+ else if (ParameterSetName.Equals(FindByName))
+ {
+ var openIdConnectProviders = Client.OpenIdConnectProviderByName(Context, Name);
+ WriteObject(openIdConnectProviders, true);
+ }
+ else
+ {
+ throw new InvalidOperationException(string.Format("Parameter set name '{0}' is not supported.", ParameterSetName));
+ }
+ }
+ }
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOperation.cs
index 85c3294a546c..0a3b5f1ea0a1 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOperation.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOperation.cs
@@ -19,8 +19,9 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementOperation", DefaultParameterSetName = AllApiOperations)]
- [OutputType(typeof(IList))]
+ [Cmdlet(VerbsCommon.Get, Constants.ApiManagementOperation, DefaultParameterSetName = AllApiOperations)]
+ [OutputType(typeof(IList), ParameterSetName = new [] { AllApiOperations })]
+ [OutputType(typeof(PsApiManagementOperation), ParameterSetName = new[] { FindById })]
public class GetAzureApiManagementOperation : AzureApiManagementCmdletBase
{
private const string FindById = "Find by ID";
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementPolicy.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementPolicy.cs
index 7bb367563b7e..37c6b9b3eae9 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementPolicy.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementPolicy.cs
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementPolicy", DefaultParameterSetName = TenantLevel)]
+ [Cmdlet(VerbsCommon.Get, Constants.ApiManagementPolicy, DefaultParameterSetName = TenantLevel)]
[OutputType(typeof(string))]
public class GetAzureApiManagementPolicy : AzureApiManagementCmdletBase
{
@@ -42,20 +42,23 @@ public class GetAzureApiManagementPolicy : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.")]
+ HelpMessage = "Format of the policy. Default value is ‘application/vnd.ms-azure-apim.policy+xml’." +
+ " This parameter is optional.")]
public String Format { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional.")]
+ HelpMessage = "File path to save the result to. If not specified the result will be sent to pipeline as a sting." +
+ " This parameter is optional.")]
public String SaveAs { get; set; }
[Parameter(
ParameterSetName = ProductLevel,
ValueFromPipelineByPropertyName = true,
Mandatory = true,
- HelpMessage = "Identifier of existing product. If specified will return product-scope policy. This parameters is optional.")]
+ HelpMessage = "Identifier of existing product. If specified will return product-scope policy." +
+ " This parameters is optional.")]
public String ProductId { get; set; }
[Parameter(
@@ -74,13 +77,15 @@ public class GetAzureApiManagementPolicy : AzureApiManagementCmdletBase
ParameterSetName = OperationLevel,
ValueFromPipelineByPropertyName = true,
Mandatory = true,
- HelpMessage = "Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is required.")]
+ HelpMessage = "Identifier of existing operation. If specified with ApiId will return operation-scope policy." +
+ " This parameters is required.")]
public String OperationId { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional.")]
+ HelpMessage = "Identifier of existing operation. If specified with ApiId will return operation-scope policy." +
+ " This parameters is optional.")]
public SwitchParameter Force { get; set; }
public override void ExecuteApiManagementCmdlet()
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProduct.cs
index 5e50d7299454..1fa1f0574ecb 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProduct.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProduct.cs
@@ -19,8 +19,9 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementProduct", DefaultParameterSetName = GetAllProducts)]
- [OutputType(typeof(IList))]
+ [Cmdlet(VerbsCommon.Get, Constants.ApiManagementProduct, DefaultParameterSetName = GetAllProducts)]
+ [OutputType(typeof(IList), ParameterSetName = new [] { GetAllProducts , GetByTitle })]
+ [OutputType(typeof(PsApiManagementProduct), ParameterSetName = new[] { GetById })]
public class GetAzureApiManagementProduct : AzureApiManagementCmdletBase
{
private const string GetAllProducts = "Get all producst";
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProperty.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProperty.cs
new file mode 100644
index 000000000000..a31c84d3dd2e
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProperty.cs
@@ -0,0 +1,88 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System;
+ using System.Collections.Generic;
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+
+ [Cmdlet(VerbsCommon.Get, Constants.ApiManagementProperty, DefaultParameterSetName = GetAll)]
+ [OutputType(typeof(IList), ParameterSetName = new []{ GetAll, FindByName, FindByTag })]
+ [OutputType(typeof(PsApiManagementProperty), ParameterSetName = new [] { GetById })]
+ public class GetAzureApiManagementProperty : AzureApiManagementCmdletBase
+ {
+ private const string GetAll = "Get all properties";
+ private const string GetById = "Get by property ID";
+ private const string FindByName = "Find properties containing Name";
+ private const string FindByTag = "Find properties by Tag";
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ [Parameter(
+ ParameterSetName = GetById,
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Identifier of a property. If specified will try to find property by the identifier. This parameter is optional.")]
+ public String PropertyId { get; set; }
+
+ [Parameter(
+ ParameterSetName = FindByName,
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Finds Properties with names containing the string Name. This parameter is optional.")]
+ public String Name { get; set; }
+
+ [Parameter(
+ ParameterSetName = FindByTag,
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Finds Properties associated with a Tag. If specified will return all properties associated with a tag. This parameter is optional.")]
+ public String Tag { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ if (ParameterSetName.Equals(GetAll))
+ {
+ var properties = Client.PropertiesList(Context);
+ WriteObject(properties, true);
+ }
+ else if (ParameterSetName.Equals(GetById))
+ {
+ var property = Client.PropertyById(Context, PropertyId);
+ WriteObject(property);
+ }
+ else if (ParameterSetName.Equals(FindByName))
+ {
+ var properties = Client.PropertyByName(Context, Name);
+ WriteObject(properties, true);
+ }
+ else if (ParameterSetName.Equals(FindByTag))
+ {
+ var properties = Client.PropertyByTag(Context, Tag);
+ WriteObject(properties, true);
+ }
+ else
+ {
+ throw new InvalidOperationException(string.Format("Parameter set name '{0}' is not supported.", ParameterSetName));
+ }
+ }
+ }
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementSubscription.cs
index 006ef7d21baa..c0c213be1292 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementSubscription.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementSubscription.cs
@@ -19,8 +19,9 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementSubscription", DefaultParameterSetName = GetAll)]
- [OutputType(typeof(IList))]
+ [Cmdlet(VerbsCommon.Get, Constants.ApiManagementSubscription, DefaultParameterSetName = GetAll)]
+ [OutputType(typeof(IList), ParameterSetName = new [] { GetAll, GetByProductId, GetByUserId })]
+ [OutputType(typeof(PsApiManagementSubscription), ParameterSetName = new[] { GetBySubscriptionId })]
public class GetAzureApiManagementSubscription : AzureApiManagementCmdletBase
{
private const string GetAll = "Get all subscriptions";
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementTenantSyncState.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementTenantSyncState.cs
new file mode 100644
index 000000000000..4259e6d1017d
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementTenantSyncState.cs
@@ -0,0 +1,36 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+
+ [Cmdlet(VerbsCommon.Get, Constants.ApiManagementTenantSyncState)]
+ [OutputType(typeof(PsApiManagementTenantConfigurationSyncState))]
+ public class GetAzureApiManagementTenantSyncState : AzureApiManagementCmdletBase
+ {
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ WriteObject(Client.GetTenantConfigurationSyncState(Context));
+ }
+ }
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUser.cs
index 1cc9592358e7..b0414f8a8ada 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUser.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUser.cs
@@ -19,8 +19,9 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementUser", DefaultParameterSetName = GetAll)]
- [OutputType(typeof(IList))]
+ [Cmdlet(VerbsCommon.Get, Constants.ApiManagementUser, DefaultParameterSetName = GetAll)]
+ [OutputType(typeof(IList), ParameterSetName = new [] { GetAll, FindBy })]
+ [OutputType(typeof(PsApiManagementUser), ParameterSetName = new[] { GetById })]
public class GetAzureApiManagementUser : AzureApiManagementCmdletBase
{
private const string GetAll = "Get all users";
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUserSsoUrl.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUserSsoUrl.cs
index ebf4f6c76570..5f1017c08b25 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUserSsoUrl.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUserSsoUrl.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementUserSsoUrl")]
+ [Cmdlet(VerbsCommon.Get, Constants.ApiManagementUserSsoUrl)]
[OutputType(typeof(string))]
public class GetAzureApiManagementUserSsoUrl : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureRmApiManagementTenantGitAccess.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureRmApiManagementTenantGitAccess.cs
new file mode 100644
index 000000000000..94603c0df8af
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureRmApiManagementTenantGitAccess.cs
@@ -0,0 +1,36 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+
+ [Cmdlet(VerbsCommon.Get, Constants.ApiManagementTenantGitAccess)]
+ [OutputType(typeof(PsApiManagementAccessInformation))]
+ public class GetAzureRmApiManagementTenantGitAccess : AzureApiManagementCmdletBase
+ {
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ WriteObject(Client.GetTenantGitAccessInformation(Context));
+ }
+ }
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ImportAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ImportAzureApiManagementApi.cs
index da8196788fa7..53eb7017e4a4 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ImportAzureApiManagementApi.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ImportAzureApiManagementApi.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsData.Import, "AzureRmApiManagementApi", DefaultParameterSetName = FromLocalFile)]
+ [Cmdlet(VerbsData.Import, Constants.ApiManagementApi, DefaultParameterSetName = FromLocalFile)]
[OutputType(typeof(PsApiManagementApi))]
public class ImportAzureApiManagementApi : AzureApiManagementCmdletBase
{
@@ -79,7 +79,7 @@ public override void ExecuteApiManagementCmdlet()
}
else
{
- throw new InvalidOperationException(string.Format("ParameterSetName '{0}' not supported"));
+ throw new InvalidOperationException(string.Format("ParameterSetName '{0}' not supported", ParameterSetName));
}
var api = Client.ApiById(Context, ApiId);
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApi.cs
index dc83d65af483..1826be2a91b4 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApi.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApi.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRmApiManagementApi")]
+ [Cmdlet(VerbsCommon.New, Constants.ApiManagementApi)]
[OutputType(typeof(PsApiManagementApi))]
public class NewAzureApiManagementApi : AzureApiManagementCmdletBase
{
@@ -52,27 +52,32 @@ public class NewAzureApiManagementApi : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
- HelpMessage = "A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required.")]
+ HelpMessage = "A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. " +
+ "Must be 1 to 2000 characters long. This parameter is required.")]
[ValidateNotNullOrEmpty]
public String ServiceUrl { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
- Mandatory = false,
- HelpMessage = "Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.")]
+ Mandatory = true,
+ HelpMessage = "Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service." +
+ " Must be 1 to 400 characters long. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
public String Path { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
- HelpMessage = "Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null.")]
+ HelpMessage = "Web API protocols (http, https). Protocols over which API is made available. " +
+ "This parameter is required. Default value is $null.")]
[ValidateNotNullOrEmpty]
public PsApiManagementSchema[] Protocols { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified.")]
+ HelpMessage = "OAuth authorization server identifier. This parameter is optional. Default value is $null." +
+ " Must be specified if AuthorizationScope specified.")]
public String AuthorizationServerId { get; set; }
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs
index 57f05ae42772..22349e2efce4 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRmApiManagementAuthorizationServer")]
+ [Cmdlet(VerbsCommon.New, Constants.ApiManagementAuthorizationServer)]
[OutputType(typeof(PsApiManagementOAuth2AuthrozationServer))]
public class NewAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase
{
@@ -52,7 +52,8 @@ public class NewAzureApiManagementAuthorizationServer : AzureApiManagementCmdlet
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
- HelpMessage = "Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required.")]
+ HelpMessage = "Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials." +
+ " This parameter is required.")]
[ValidateNotNullOrEmpty]
public String ClientRegistrationPageUrl { get; set; }
@@ -66,7 +67,8 @@ public class NewAzureApiManagementAuthorizationServer : AzureApiManagementCmdlet
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
- HelpMessage = "Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required.")]
+ HelpMessage = "Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens." +
+ " This parameter is required.")]
[ValidateNotNullOrEmpty]
public String TokenEndpointUrl { get; set; }
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementCertificate.cs
index d94fcc153836..96d976c2f44a 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementCertificate.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementCertificate.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Security.Cryptography.X509Certificates;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRmApiManagementCertificate", DefaultParameterSetName = FromFile)]
+ [Cmdlet(VerbsCommon.New, Constants.ApiManagementCertificate, DefaultParameterSetName = FromFile)]
[OutputType(typeof(PsApiManagementCertificate))]
public class NewAzureApiManagementCertificate : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementContext.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementContext.cs
index 891f7fbb36e7..afe453e60f53 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementContext.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementContext.cs
@@ -16,7 +16,6 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
{
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- using Microsoft.WindowsAzure.Commands.Utilities.Common;
[Cmdlet(VerbsCommon.New, "AzureRmApiManagementContext"), OutputType(typeof (PsApiManagementContext))]
public class NewAzureApiManagementContext : AzureApiManagementCmdletBase
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementGroup.cs
index 81e19fa496f6..70a2cc28cc1f 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementGroup.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementGroup.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRmApiManagementGroup")]
+ [Cmdlet(VerbsCommon.New, Constants.ApiManagementGroup)]
[OutputType(typeof(PsApiManagementGroup))]
public class NewAzureApiManagementGroup : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementLogger.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementLogger.cs
new file mode 100644
index 000000000000..e3d47482f4bd
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementLogger.cs
@@ -0,0 +1,85 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System;
+ using System.Collections.Generic;
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+ using Management.ApiManagement.SmapiModels;
+
+ [Cmdlet(VerbsCommon.New, Constants.ApiManagementLogger)]
+ [OutputType(typeof(PsApiManagementLogger))]
+ public class NewAzureApiManagementLogger : AzureApiManagementCmdletBase
+ {
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Identifier of new logger. This parameter is optional. If not specified will be generated.")]
+ public String LoggerId { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "EventHub Entity name. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public String Name { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "EventHub Connection String with Send Policy Rights. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public String ConnectionString { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Logger description. This parameter is optional.")]
+ public String Description { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Whether the logs should be buffered before sending to EventHub. This parameter is optional.")]
+ public bool? IsBuffered { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ string loggerId = LoggerId ?? Guid.NewGuid().ToString("N");
+
+ var credentials = new Dictionary();
+ credentials.Add("name", Name);
+ credentials.Add("connectionString", ConnectionString);
+
+ var logger = Client.LoggerCreate(
+ Context,
+ LoggerTypeContract.AzureEventHub,
+ loggerId,
+ Description,
+ credentials,
+ IsBuffered ?? true);
+
+ WriteObject(logger);
+ }
+ }
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOpenIdConnectProvider.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOpenIdConnectProvider.cs
new file mode 100644
index 000000000000..90317c530d67
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOpenIdConnectProvider.cs
@@ -0,0 +1,93 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System;
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+
+ [Cmdlet(VerbsCommon.New, Constants.ApiManagementOpenIdConnectProvider)]
+ [OutputType(typeof(PsApiManagementOpenIdConnectProvider))]
+ public class NewAzureApiManagementOpenIdConnectProvider : AzureApiManagementCmdletBase
+ {
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Identifier of new openIdConnectProvider. This parameter is optional." +
+ " If not specified will be generated.")]
+ public String OpenIdConnectProviderId { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "OpenId Connect Provider User friendly name." +
+ " This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public String Name { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Metadata Endpoint URI of the OpenID Connect Provider." +
+ " This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public String MetadataEndpointUri { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "ClientID of the developer Console. " +
+ "This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public String ClientId { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "ClientSecret of the developer Console. " +
+ "This parameter is optional.")]
+ public String ClientSecret { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "OpenId Connect Provider user friendly description. " +
+ "This parameter is optional.")]
+ public String Description { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ string openIdProviderId = OpenIdConnectProviderId ?? Guid.NewGuid().ToString("N");
+
+ var openIdConnectProvider = Client.OpenIdProviderCreate(
+ Context,
+ openIdProviderId,
+ Name,
+ MetadataEndpointUri,
+ ClientId,
+ ClientSecret,
+ Description);
+
+ WriteObject(openIdConnectProvider);
+ }
+ }
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOperation.cs
index 76b49fc2ade9..05ec1078b7c6 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOperation.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOperation.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRmApiManagementOperation")]
+ [Cmdlet(VerbsCommon.New, Constants.ApiManagementOperation)]
[OutputType(typeof(PsApiManagementOperation))]
public class NewAzureApiManagementOperation : AzureApiManagementCmdletBase
{
@@ -39,7 +39,8 @@ public class NewAzureApiManagementOperation : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Identifier of new operation. This parameter is optional. If not specified will be generated.")]
+ HelpMessage = "Identifier of new operation. This parameter is optional." +
+ " If not specified will be generated.")]
public String OperationId { get; set; }
[Parameter(
@@ -59,7 +60,8 @@ public class NewAzureApiManagementOperation : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
- HelpMessage = "URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required.")]
+ HelpMessage = "URL template. Example: customers/{cid}/orders/{oid}/?date={date}. " +
+ "This parameter is required.")]
[ValidateNotNullOrEmpty]
public String UrlTemplate { get; set; }
@@ -72,7 +74,9 @@ public class NewAzureApiManagementOperation : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values.")]
+ HelpMessage = "Array or parameters defined in UrlTemplate. This parameter is optional." +
+ " If not specified default value will be generated based on the UrlTemplate." +
+ " Use the parameter to give more details on parameters like description, type, possible values.")]
public PsApiManagementParameter[] TemplateParameters { get; set; }
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementProduct.cs
index 45cfd941f278..80044407fa68 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementProduct.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementProduct.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRmApiManagementProduct")]
+ [Cmdlet(VerbsCommon.New, Constants.ApiManagementProduct)]
[OutputType(typeof(PsApiManagementProduct))]
public class NewAzureApiManagementProduct : AzureApiManagementCmdletBase
{
@@ -32,7 +32,8 @@ public class NewAzureApiManagementProduct : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Identifier of new Product. This parameter is optional. If not specified will be generated.")]
+ HelpMessage = "Identifier of new Product. This parameter is optional. " +
+ "If not specified will be generated.")]
public String ProductId { get; set; }
[Parameter(
@@ -57,31 +58,47 @@ public class NewAzureApiManagementProduct : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Whether the product requires subscription or not. This parameter is optional. Default value is $true.")]
+ HelpMessage = "Whether the product requires subscription or not. This parameter is optional." +
+ " Default value is $true.")]
public bool? SubscriptionRequired { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false.")]
+ HelpMessage = "Whether subscription to the product requires approval or not. This parameter is optional." +
+ " Default value is $false.")]
public bool? ApprovalRequired { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1.")]
+ HelpMessage = "Maximum number of simultaneous subscriptions. This parameter is optional." +
+ " Default value is 1.")]
public Int32? SubscriptionsLimit { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished.")]
+ HelpMessage = "Product state. One of: NotPublished, Published. This parameter is optional." +
+ " Default value is NotPublished.")]
public PsApiManagementProductState? State { get; set; }
public override void ExecuteApiManagementCmdlet()
{
string productId = ProductId ?? Guid.NewGuid().ToString("N");
+ bool? approvalRequired = null;
+ if (SubscriptionRequired.HasValue && SubscriptionRequired.Value)
+ {
+ approvalRequired = ApprovalRequired ?? false;
+ }
+
+ Int32? subscriptionsLimit = null;
+ if (SubscriptionRequired.HasValue && SubscriptionRequired.Value)
+ {
+ subscriptionsLimit = SubscriptionsLimit ?? 1;
+ }
+
var product = Client.ProductCreate(
Context,
productId,
@@ -89,8 +106,8 @@ public override void ExecuteApiManagementCmdlet()
Description,
LegalTerms,
SubscriptionRequired ?? true,
- ApprovalRequired ?? false,
- SubscriptionsLimit,
+ approvalRequired,
+ subscriptionsLimit,
State);
WriteObject(product);
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementSubscription.cs
index 95571625d69c..eb9649767305 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementSubscription.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementSubscription.cs
@@ -16,10 +16,9 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
{
using System;
using System.Management.Automation;
- using System.Runtime.InteropServices;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRmApiManagementSubscription")]
+ [Cmdlet(VerbsCommon.New, Constants.ApiManagementSubscription)]
[OutputType(typeof(PsApiManagementSubscription))]
public class NewAzureApiManagementSubscription : AzureApiManagementCmdletBase
{
@@ -33,7 +32,8 @@ public class NewAzureApiManagementSubscription : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Identifier of new subscription. This parameter is optional. If not specified will be generated.")]
+ HelpMessage = "Identifier of new subscription. This parameter is optional." +
+ " If not specified will be generated.")]
public String SubscriptionId { get; set; }
[Parameter(
@@ -60,13 +60,15 @@ public class NewAzureApiManagementSubscription : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.")]
+ HelpMessage = "Subscription primary key. This parameter is optional. If not specified will be generated automatically." +
+ " Must be 1 to 300 characters long.")]
public String PrimaryKey { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.")]
+ HelpMessage = "Subscription secondary key. This parameter is optional. If not specified will be generated automatically." +
+ " Must be 1 to 300 characters long.")]
public String SecondaryKey { get; set; }
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementUser.cs
index fcf44ed5d3ae..06d74a1279ad 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementUser.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementUser.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRmApiManagementUser")]
+ [Cmdlet(VerbsCommon.New, Constants.ApiManagementUser)]
[OutputType(typeof(PsApiManagementUser))]
public class NewAzureApiManagementUser : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagmentProperty.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagmentProperty.cs
new file mode 100644
index 000000000000..27aaf5144230
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagmentProperty.cs
@@ -0,0 +1,84 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System;
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+
+ [Cmdlet(VerbsCommon.New, Constants.ApiManagementProperty)]
+ [OutputType(typeof(PsApiManagementProperty))]
+ public class NewAzureApiManagementProperty : AzureApiManagementCmdletBase
+ {
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Identifier of new property. This parameter is optional." +
+ " If not specified will be generated.")]
+ public String PropertyId { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Name of the property. Maximum length is 100 characters." +
+ " It may contain only letters, digits, period, dash, and underscore characters." +
+ " This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public String Name { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Value of the property. Can contain policy expressions. Maximum length is 1000 characters." +
+ " It may not be empty or consist only of whitespace. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public String Value { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Determines whether the value is a secret and should be encrypted or not." +
+ " This parameter is optional. Default Value is not Secret.")]
+ public SwitchParameter Secret { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Tags to be associated with Property. This parameter is optional.")]
+ public string[] Tags { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ string propertyId = PropertyId ?? Guid.NewGuid().ToString("N");
+
+ var logger = Client.PropertyCreate(
+ Context,
+ propertyId,
+ Name,
+ Value,
+ Secret,
+ Tags);
+
+ WriteObject(logger);
+ }
+ }
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/PublishAzureApiManagementTenantConfiguration.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/PublishAzureApiManagementTenantConfiguration.cs
new file mode 100644
index 000000000000..b96200c15fae
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/PublishAzureApiManagementTenantConfiguration.cs
@@ -0,0 +1,98 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System;
+ using System.Globalization;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+
+ [Cmdlet(VerbsData.Publish, Constants.ApiManagementTenantGitConfiguration)]
+ [OutputType(typeof(PsApiManagementOperationResult))]
+ public class PublishAzureApiManagementTenantConfiguration : AzureApiManagementCmdletBase
+ {
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Name of the Git branch from which the configuration is to be deployed to the configuration database." +
+ " This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public String Branch { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Enforce deleting subscriptions to products that are deleted in this update. " +
+ "This parameter is optional. Default value is false.")]
+ public SwitchParameter Force { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "If specified will only validate the changes in the specified git Branch and not deploy. " +
+ "This parameter is optional. Default value is false.")]
+ public SwitchParameter ValidateOnly { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperationResult" +
+ " type representing the operation result.")]
+ public SwitchParameter PassThru { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ if (ValidateOnly.IsPresent)
+ {
+ ExecuteTenantConfigurationLongRunningCmdletWrap(
+ () => Client.BeginValidateTenantGitConfiguration(
+ Context,
+ Branch,
+ Force.IsPresent),
+ PassThru.IsPresent
+ );
+ }
+ else
+ {
+ // confirm with user before pushing the update.
+ if (!Force.IsPresent &&
+ !ShouldProcess(
+ Resources.PublishTenantConfigurationDescription,
+ Resources.PublishTenantConfigurationDescription,
+ Resources.ShouldProcessCaption))
+ {
+ return;
+ }
+
+ ExecuteTenantConfigurationLongRunningCmdletWrap(
+ () => Client.BeginPublishTenantGitConfiguration(
+ Context,
+ Branch,
+ Force.IsPresent),
+ PassThru.IsPresent
+ );
+ }
+ }
+ }
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApi.cs
index 9d10f3bdc1cf..6657abbf4568 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApi.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApi.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementApi")]
+ [Cmdlet(VerbsCommon.Remove, Constants.ApiManagementApi)]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementApi : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApiFromProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApiFromProduct.cs
index 26804fa283b6..122a9d06a545 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApiFromProduct.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApiFromProduct.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementApiFromProduct")]
+ [Cmdlet(VerbsCommon.Remove, Constants.ApiManagementApiFromProduct)]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementApiFromProduct : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementAuthorizationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementAuthorizationServer.cs
index a0c5c71fd111..658b459a6778 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementAuthorizationServer.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementAuthorizationServer.cs
@@ -20,15 +20,21 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementAuthorizationServer")]
+ [Cmdlet(VerbsCommon.Remove, Constants.ApiManagementAuthorizationServer)]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementAuthorizationServer : AzureApiManagementRemoveCmdletBase
{
- [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
[ValidateNotNullOrEmpty]
public PsApiManagementContext Context { get; set; }
- [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Identifier of existing authorization server. This parameter is required.")]
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Identifier of existing authorization server. This parameter is required.")]
[ValidateNotNullOrEmpty]
public String ServerId { get; set; }
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementCertificate.cs
index a8ecc54a6964..340d43b8bd4d 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementCertificate.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementCertificate.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementCertificate")]
+ [Cmdlet(VerbsCommon.Remove, Constants.ApiManagementCertificate)]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementCertificate : AzureApiManagementRemoveCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementGroup.cs
index a22d737480ed..e871dffad196 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementGroup.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementGroup.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementGroup")]
+ [Cmdlet(VerbsCommon.Remove, Constants.ApiManagementGroup)]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementGroup : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementLogger.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementLogger.cs
new file mode 100644
index 000000000000..08c7ff4bf1c8
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementLogger.cs
@@ -0,0 +1,76 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System;
+ using System.Globalization;
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
+
+ [Cmdlet(VerbsCommon.Remove, Constants.ApiManagementLogger)]
+ [OutputType(typeof(bool))]
+ public class RemoveAzureApiManagementLogger : AzureApiManagementCmdletBase
+ {
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Identifier of existing logger. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public String LoggerId { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")]
+ public SwitchParameter PassThru { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.")]
+ public SwitchParameter Force { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ var actionDescription = string.Format(CultureInfo.CurrentCulture, Resources.LoggerRemoveDescription, LoggerId);
+ var actionWarning = string.Format(CultureInfo.CurrentCulture, Resources.LoggerRemoveWarning, LoggerId);
+
+ // Do nothing if force is not specified and user cancelled the operation
+ if (!Force.IsPresent &&
+ !ShouldProcess(
+ actionDescription,
+ actionWarning,
+ Resources.ShouldProcessCaption))
+ {
+ return;
+ }
+
+ Client.LoggerRemove(Context, LoggerId);
+
+ if (PassThru.IsPresent)
+ {
+ WriteObject(true);
+ }
+ }
+ }
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOpenIdConnectProvider.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOpenIdConnectProvider.cs
new file mode 100644
index 000000000000..03073db8b421
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOpenIdConnectProvider.cs
@@ -0,0 +1,76 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System;
+ using System.Globalization;
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
+
+ [Cmdlet(VerbsCommon.Remove, Constants.ApiManagementOpenIdConnectProvider)]
+ [OutputType(typeof(bool))]
+ public class RemoveAzureApiManagementOpenIdConnectProvider : AzureApiManagementCmdletBase
+ {
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Identifier of existing OpenID Connect Provider. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public String OpenIdConnectProviderId { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")]
+ public SwitchParameter PassThru { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.")]
+ public SwitchParameter Force { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ var actionDescription = string.Format(CultureInfo.CurrentCulture, Resources.OpenIdConnectProviderRemoveDescription, OpenIdConnectProviderId);
+ var actionWarning = string.Format(CultureInfo.CurrentCulture, Resources.OpenIdConnectProviderRemoveWarning, OpenIdConnectProviderId);
+
+ // Do nothing if force is not specified and user cancelled the operation
+ if (!Force.IsPresent &&
+ !ShouldProcess(
+ actionDescription,
+ actionWarning,
+ Resources.ShouldProcessCaption))
+ {
+ return;
+ }
+
+ Client.OpenIdConnectProviderRemove(Context, OpenIdConnectProviderId);
+
+ if (PassThru.IsPresent)
+ {
+ WriteObject(true);
+ }
+ }
+ }
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOperation.cs
index 48fe0927898d..b48c3ee9c7b0 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOperation.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOperation.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementOperation")]
+ [Cmdlet(VerbsCommon.Remove, Constants.ApiManagementOperation)]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementOperation : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementPolicy.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementPolicy.cs
index 06fdaa3c2838..c7b8f9c729fc 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementPolicy.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementPolicy.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementPolicy", DefaultParameterSetName = TenantLevel)]
+ [Cmdlet(VerbsCommon.Remove, Constants.ApiManagementPolicy, DefaultParameterSetName = TenantLevel)]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementPolicy : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProduct.cs
index 87fbbe3d5162..ef0122c675c7 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProduct.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProduct.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementProduct")]
+ [Cmdlet(VerbsCommon.Remove, Constants.ApiManagementProduct)]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementProduct : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProductFromGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProductFromGroup.cs
index 1ed8fa0d2c78..6165ba4d981e 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProductFromGroup.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProductFromGroup.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementProductFromGroup")]
+ [Cmdlet(VerbsCommon.Remove, Constants.ApiManagementProductFromGroup)]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementProductFromGroup : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProperty.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProperty.cs
new file mode 100644
index 000000000000..3c072aa48073
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProperty.cs
@@ -0,0 +1,76 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System;
+ using System.Globalization;
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
+
+ [Cmdlet(VerbsCommon.Remove, Constants.ApiManagementProperty)]
+ [OutputType(typeof(bool))]
+ public class RemoveAzureApiManagementProperty : AzureApiManagementCmdletBase
+ {
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Identifier of existing property. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public String PropertyId { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")]
+ public SwitchParameter PassThru { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.")]
+ public SwitchParameter Force { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ var actionDescription = string.Format(CultureInfo.CurrentCulture, Resources.PropertyRemoveDescription, PropertyId);
+ var actionWarning = string.Format(CultureInfo.CurrentCulture, Resources.PropertyRemoveWarning, PropertyId);
+
+ // Do nothing if force is not specified and user cancelled the operation
+ if (!Force.IsPresent &&
+ !ShouldProcess(
+ actionDescription,
+ actionWarning,
+ Resources.ShouldProcessCaption))
+ {
+ return;
+ }
+
+ Client.PropertyRemove(Context, PropertyId);
+
+ if (PassThru.IsPresent)
+ {
+ WriteObject(true);
+ }
+ }
+ }
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementSubscription.cs
index 22b75323392d..4869fedee0ce 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementSubscription.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementSubscription.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementSubscription")]
+ [Cmdlet(VerbsCommon.Remove, Constants.ApiManagementSubscription)]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementSubscription : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUser.cs
index 7e11e218fdf8..d0ceb4173ea7 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUser.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUser.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementUser")]
+ [Cmdlet(VerbsCommon.Remove, Constants.ApiManagementUser)]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementUser : AzureApiManagementCmdletBase
{
@@ -41,7 +41,8 @@ public class RemoveAzureApiManagementUser : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Whether to delete subscriptions to the product or not. If not set and subscription exists exception will be thrown. This parameter is optional. ")]
+ HelpMessage = "Whether to delete subscriptions to the product or not. If not set and subscription exists exception will be thrown. " +
+ "This parameter is optional. ")]
public SwitchParameter DeleteSubscriptions { get; set; }
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUserFromGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUserFromGroup.cs
index 8656b35407cd..90ccc18f7d04 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUserFromGroup.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUserFromGroup.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementUserFromGroup")]
+ [Cmdlet(VerbsCommon.Remove, Constants.ApiManagementUserFromGroup)]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementUserFromGroup : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SaveAzureApiManagementTenantConfiguration.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SaveAzureApiManagementTenantConfiguration.cs
new file mode 100644
index 000000000000..ce4bd636d215
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SaveAzureApiManagementTenantConfiguration.cs
@@ -0,0 +1,81 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System.Globalization;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
+ using System;
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+
+ [Cmdlet(VerbsData.Save, Constants.ApiManagementTenantGitConfiguration)]
+ [OutputType(typeof(PsApiManagementOperationResult))]
+ public class SaveAzureApiManagementTenantConfiguration : AzureApiManagementCmdletBase
+ {
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Name of the Git branch in which to commit the current configuration snapshot. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public String Branch { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "If true, the current configuration database is committed to the Git repository," +
+ " even if the Git repository has newer changes that would be overwritten. " +
+ "This parameter is optional.")]
+ public SwitchParameter Force { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "If specified then instance of" +
+ " Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperationResult type" +
+ " representing the operation result.")]
+ public SwitchParameter PassThru { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ var actionDescription = string.Format(CultureInfo.CurrentCulture, Resources.SaveTenantConfigurationDescription, Branch);
+ var actionWarning = string.Format(CultureInfo.CurrentCulture, Resources.SaveTenantConfigurationWarning, Branch);
+
+ // Do nothing if force is not specified and user cancelled the operation
+ if (!Force.IsPresent &&
+ !ShouldProcess(
+ actionDescription,
+ actionWarning,
+ Resources.ShouldProcessCaption))
+ {
+ return;
+ }
+
+ ExecuteTenantConfigurationLongRunningCmdletWrap(
+ () => Client.BeginSaveTenantGitConfiguration(
+ Context,
+ Branch,
+ Force.IsPresent),
+ PassThru.IsPresent
+ );
+ }
+ }
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementApi.cs
index 5a1e2c91a922..939db28c5f37 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementApi.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementApi.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementApi")]
+ [Cmdlet(VerbsCommon.Set, Constants.ApiManagementApi)]
[OutputType(typeof(PsApiManagementApi))]
public class SetAzureApiManagementApi : AzureApiManagementCmdletBase
{
@@ -40,7 +40,8 @@ public class SetAzureApiManagementApi : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
- HelpMessage = "Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required.")]
+ HelpMessage = "Web API name. Public name of the API as it would appear on the developer and admin portals. " +
+ "This parameter is required.")]
[ValidateNotNullOrEmpty]
public String Name { get; set; }
@@ -53,27 +54,33 @@ public class SetAzureApiManagementApi : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
- HelpMessage = "A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required.")]
+ HelpMessage = "A URL of the web service exposing the API. " +
+ "This URL will be used by Azure API Management only, and will not be made public." +
+ " Must be 1 to 2000 characters long. This parameter is required.")]
[ValidateNotNullOrEmpty]
public String ServiceUrl { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.")]
+ HelpMessage = "Web API Path. Last part of the API's public URL." +
+ " This URL will be used by API consumers for sending requests to the web service." +
+ " Must be 1 to 400 characters long. This parameter is optional. Default value is $null.")]
public String Path { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
- HelpMessage = "Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null.")]
+ HelpMessage = "Web API protocols (http, https). Protocols over which API is made available." +
+ " This parameter is required. Default value is $null.")]
[ValidateNotNullOrEmpty]
public PsApiManagementSchema[] Protocols { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified.")]
+ HelpMessage = "OAuth authorization server identifier. This parameter is optional. Default value is $null. " +
+ "Must be specified if AuthorizationScope specified.")]
public String AuthorizationServerId { get; set; }
[Parameter(
@@ -97,7 +104,9 @@ public class SetAzureApiManagementApi : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi type representing the set API.")]
+ HelpMessage = "If specified then instance of" +
+ " Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi type " +
+ "representing the set API.")]
public SwitchParameter PassThru { get; set; }
public override void ExecuteApiManagementCmdlet()
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs
index eb0f258807d4..8e208c084707 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementAuthorizationServer")]
+ [Cmdlet(VerbsCommon.Set, Constants.ApiManagementAuthorizationServer)]
[OutputType(typeof (PsApiManagementOAuth2AuthrozationServer))]
public class SetAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase
{
@@ -52,21 +52,24 @@ public class SetAzureApiManagementAuthorizationServer : AzureApiManagementCmdlet
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
- HelpMessage = "Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required.")]
+ HelpMessage = "Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials." +
+ " This parameter is required.")]
[ValidateNotNullOrEmpty]
public String ClientRegistrationPageUrl { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
- HelpMessage = "Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required.")]
+ HelpMessage = "Authorization endpoint is used to authenticate resource owners and obtain authorization grants. " +
+ "This parameter is required.")]
[ValidateNotNullOrEmpty]
public String AuthorizationEndpointUrl { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
- HelpMessage = "Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required.")]
+ HelpMessage = "Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens." +
+ " This parameter is required.")]
[ValidateNotNullOrEmpty]
public String TokenEndpointUrl { get; set; }
@@ -92,7 +95,8 @@ public class SetAzureApiManagementAuthorizationServer : AzureApiManagementCmdlet
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
- HelpMessage = "Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required.")]
+ HelpMessage = "Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). " +
+ "This parameter is required.")]
[ValidateNotNullOrEmpty]
public PsApiManagementGrantType[] GrantTypes { get; set; }
@@ -143,7 +147,9 @@ public class SetAzureApiManagementAuthorizationServer : AzureApiManagementCmdlet
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "If specified will write Instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer type . This parameter is optional.")]
+ HelpMessage = "If specified will write Instance of" +
+ " Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer type . " +
+ "This parameter is optional.")]
public SwitchParameter PassThru { get; set; }
public override void ExecuteApiManagementCmdlet()
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementCertificate.cs
index 9441b6d4ad05..f9d8fb5225fe 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementCertificate.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementCertificate.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Security.Cryptography.X509Certificates;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementCertificate", DefaultParameterSetName = FromFile)]
+ [Cmdlet(VerbsCommon.Set, Constants.ApiManagementCertificate, DefaultParameterSetName = FromFile)]
[OutputType(typeof(PsApiManagementCertificate))]
public class SetAzureApiManagementCertificate : AzureApiManagementCmdletBase
{
@@ -45,14 +45,16 @@ public class SetAzureApiManagementCertificate : AzureApiManagementCmdletBase
ParameterSetName = FromFile,
ValueFromPipelineByPropertyName = true,
Mandatory = true,
- HelpMessage = "Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified.")]
+ HelpMessage = "Path to the certificate file in .pfx format to be created/uploaded. " +
+ "This parameter is required if -PfxBytes not specified.")]
public String PfxFilePath { get; set; }
[Parameter(
ParameterSetName = Raw,
ValueFromPipelineByPropertyName = true,
Mandatory = true,
- HelpMessage = "Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified.")]
+ HelpMessage = "Bytes of the certificate file in .pfx format to be created/uploaded. " +
+ "This parameter is required if -PfxFilePath not specified.")]
public Byte[] PfxBytes { get; set; }
[Parameter(
@@ -65,7 +67,9 @@ public class SetAzureApiManagementCertificate : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate type representing the modified group.")]
+ HelpMessage = "If specified then instance of " +
+ "Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate type " +
+ " representing the modified certificate.")]
public SwitchParameter PassThru { get; set; }
public override void ExecuteApiManagementCmdlet()
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementGroup.cs
index 7afcbcfd5a7d..724e3df8d5c1 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementGroup.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementGroup.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementGroup")]
+ [Cmdlet(VerbsCommon.Set, Constants.ApiManagementGroup)]
[OutputType(typeof(PsApiManagementGroup))]
public class SetAzureApiManagementGroup : AzureApiManagementCmdletBase
{
@@ -51,7 +51,9 @@ public class SetAzureApiManagementGroup : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup type representing the modified group.")]
+ HelpMessage = "If specified then instance of " +
+ "Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup type " +
+ "representing the modified group.")]
public SwitchParameter PassThru { get; set; }
public override void ExecuteApiManagementCmdlet()
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementLogger.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementLogger.cs
new file mode 100644
index 000000000000..b2e5e6df85e2
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementLogger.cs
@@ -0,0 +1,99 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System;
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+ using System.Collections.Generic;
+ using Microsoft.Azure.Management.ApiManagement.SmapiModels;
+
+ [Cmdlet(VerbsCommon.Set, Constants.ApiManagementLogger)]
+ [OutputType(typeof(PsApiManagementLogger))]
+ public class SetAzureApiManagementLogger : AzureApiManagementCmdletBase
+ {
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Identifier of logger to update. This parameter is mandatory.")]
+ [ValidateNotNullOrEmpty]
+ public String LoggerId { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "EventHub Entity name. This parameter is optional.")]
+ public String Name { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "EventHub Connection String with Send Policy Rights. This parameter is optional.")]
+ public String ConnectionString { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Description of the Logger. This parameter is optional.")]
+ public String Description { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Determines whether the records in the logger are buffered before publishing." +
+ " This parameter is optional and the default value is true. ")]
+ public SwitchParameter IsBuffered { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "If specified then instance of " +
+ "Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger type " +
+ " representing the modified logger.")]
+ public SwitchParameter PassThru { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ var credentials = new Dictionary();
+
+ if (!string.IsNullOrWhiteSpace(Name) && !string.IsNullOrWhiteSpace(ConnectionString))
+ {
+ credentials.Add("name", Name);
+ credentials.Add("connectionString", ConnectionString);
+ }
+ else if ((string.IsNullOrWhiteSpace(Name) && !string.IsNullOrWhiteSpace(ConnectionString)) ||
+ (!string.IsNullOrWhiteSpace(Name) && string.IsNullOrWhiteSpace(ConnectionString)))
+ {
+ WriteWarning("When updating Logger Credentials, we need to Provide both -Name and -ConnectionString parameters");
+ return;
+ }
+
+ Client.LoggerSet(Context, LoggerTypeContract.AzureEventHub, LoggerId, Description, credentials, IsBuffered.IsPresent);
+
+ if (PassThru)
+ {
+ var @logger = Client.LoggerById(Context, LoggerId);
+ WriteObject(@logger);
+ }
+ }
+ }
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOpenIdConnectProvider.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOpenIdConnectProvider.cs
new file mode 100644
index 000000000000..08a83f04d0a2
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOpenIdConnectProvider.cs
@@ -0,0 +1,95 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System;
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+
+ [Cmdlet(VerbsCommon.Set, Constants.ApiManagementOpenIdConnectProvider)]
+ [OutputType(typeof(PsApiManagementOpenIdConnectProvider))]
+ public class SetAzureApiManagementOpenIdConnectProvider : AzureApiManagementCmdletBase
+ {
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Identifier of OpenId Connect Provider Id to update. This parameter is mandatory.")]
+ [ValidateNotNullOrEmpty]
+ public String OpenIdConnectProviderId { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "OpenId Connect Provider User friendly name. This parameter is optional.")]
+ public String Name { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Metadata Endpoint URI of the OpenID Connect Provider. This parameter is optional.")]
+ public String MetadataEndpointUri { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "ClientID of the developer console. This parameter is optional.")]
+ public String ClientId { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "ClientSecret of the developer Console. This parameter is optional.")]
+ public String ClientSecret { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "OpenId Connect Provider user friendly description. This parameter is optional.")]
+ public String Description { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "If specified then instance of " +
+ "Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOpenIdConnectProvider type" +
+ " representing the modified OpenId Connect Provider.")]
+ public SwitchParameter PassThru { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ Client.OpenIdConnectProviderSet(
+ Context,
+ OpenIdConnectProviderId,
+ Name,
+ Description,
+ ClientId,
+ ClientSecret,
+ MetadataEndpointUri);
+
+ if (PassThru)
+ {
+ var @openIdConnectProvider = Client.OpenIdConnectProviderById(Context, OpenIdConnectProviderId);
+ WriteObject(@openIdConnectProvider);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOperation.cs
index 25f5c8b116f5..4558bdb779bc 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOperation.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOperation.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementOperation")]
+ [Cmdlet(VerbsCommon.Set, Constants.ApiManagementOperation)]
[OutputType(typeof(PsApiManagementOperation))]
public class SetAzureApiManagementOperation : AzureApiManagementCmdletBase
{
@@ -73,7 +73,9 @@ public class SetAzureApiManagementOperation : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values.")]
+ HelpMessage = "Array or parameters defined in UrlTemplate. This parameter is optional. " +
+ "If not specified default value will be generated based on the UrlTemplate." +
+ " Use the parameter to give more details on parameters like description, type, possible values.")]
public PsApiManagementParameter[] TemplateParameters { get; set; }
[Parameter(
@@ -91,7 +93,9 @@ public class SetAzureApiManagementOperation : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation type representing the modified operation.")]
+ HelpMessage = "If specified then instance of " +
+ "Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation type" +
+ " representing the modified operation.")]
public SwitchParameter PassThru { get; set; }
public override void ExecuteApiManagementCmdlet()
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementPolicy.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementPolicy.cs
index fbe170ca3792..98f6f448d44a 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementPolicy.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementPolicy.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Text;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementPolicy", DefaultParameterSetName = TenantLevel)]
+ [Cmdlet(VerbsCommon.Set, Constants.ApiManagementPolicy, DefaultParameterSetName = TenantLevel)]
[OutputType(typeof(bool))]
public class SetAzureApiManagementPolicy : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProduct.cs
index 2764cbe5d62f..73e7f2c07fed 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProduct.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProduct.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementProduct")]
+ [Cmdlet(VerbsCommon.Set, Constants.ApiManagementProduct)]
[OutputType(typeof(PsApiManagementProduct))]
public class SetAzureApiManagementProduct : AzureApiManagementCmdletBase
{
@@ -81,7 +81,9 @@ public class SetAzureApiManagementProduct : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct type representing the modified product.")]
+ HelpMessage = "If specified then instance of" +
+ " Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct " +
+ "type representing the modified product.")]
public SwitchParameter PassThru { get; set; }
public override void ExecuteApiManagementCmdlet()
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProperty.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProperty.cs
new file mode 100644
index 000000000000..27f7214ab255
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProperty.cs
@@ -0,0 +1,92 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System;
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+
+ [Cmdlet(VerbsCommon.Set, Constants.ApiManagementProperty)]
+ [OutputType(typeof(PsApiManagementProperty))]
+ public class SetAzureApiManagementProperty : AzureApiManagementCmdletBase
+ {
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Identifier of property to update. This parameter is mandatory.")]
+ [ValidateNotNullOrEmpty]
+ public String PropertyId { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Name of the property. Maximum length is 100 characters. " +
+ "It may contain only letters, digits, period, dash, and underscore characters. " +
+ "This parameter is optional.")]
+ public String Name { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Value of the property. Can contain policy expressions. Maximum length is 1000 characters. " +
+ "It may not be empty or consist only of whitespace." +
+ " This parameter is optional.")]
+ public String Value { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Whether the property is a secret and its value should be encrypted. This parameter is optional.")]
+ public bool? Secret { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "Tags associated with a property. This parameter is optional.")]
+ public string[] Tags { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "If specified then instance of " +
+ "Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProperty type " +
+ "representing the modified property.")]
+ public SwitchParameter PassThru { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ Client.PropertySet(
+ Context,
+ PropertyId,
+ Name,
+ Value,
+ Secret,
+ Tags);
+
+ if (PassThru)
+ {
+ var @property = Client.PropertyById(Context, PropertyId);
+ WriteObject(@property);
+ }
+ }
+ }
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementSubscription.cs
index 46d3b575d7a1..e0b334e1773b 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementSubscription.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementSubscription.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementSubscription")]
+ [Cmdlet(VerbsCommon.Set, Constants.ApiManagementSubscription)]
[OutputType(typeof(PsApiManagementSubscription))]
public class SetAzureApiManagementSubscription : AzureApiManagementCmdletBase
{
@@ -45,13 +45,17 @@ public class SetAzureApiManagementSubscription : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.")]
+ HelpMessage = "Subscription primary key. This parameter is optional." +
+ " If not specified will be generated automatically." +
+ " Must be 1 to 300 characters long.")]
public String PrimaryKey { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.")]
+ HelpMessage = "Subscription secondary key. This parameter is optional." +
+ " If not specified will be generated automatically." +
+ " Must be 1 to 300 characters long.")]
public String SecondaryKey { get; set; }
[Parameter(
@@ -76,7 +80,9 @@ public class SetAzureApiManagementSubscription : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscripition type representing the modified subscription.")]
+ HelpMessage = "If specified then instance of" +
+ " Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscripition type" +
+ " representing the modified subscription.")]
public SwitchParameter PassThru { get; set; }
public override void ExecuteApiManagementCmdlet()
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementUser.cs
index 283f8f1dc468..69cf2f7252e1 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementUser.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementUser.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementUser")]
+ [Cmdlet(VerbsCommon.Set, Constants.ApiManagementUser)]
[OutputType(typeof(PsApiManagementUser))]
public class SetAzureApiManagementUser : AzureApiManagementCmdletBase
{
@@ -75,7 +75,9 @@ public class SetAzureApiManagementUser : AzureApiManagementCmdletBase
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
- HelpMessage = "If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser type representing the modified user.")]
+ HelpMessage = "If specified then instance of " +
+ "Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser type" +
+ " representing the modified user.")]
public SwitchParameter PassThru { get; set; }
public override void ExecuteApiManagementCmdlet()
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureRmApiManagementTenantGitAccess.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureRmApiManagementTenantGitAccess.cs
new file mode 100644
index 000000000000..27864bf82456
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureRmApiManagementTenantGitAccess.cs
@@ -0,0 +1,58 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
+{
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
+
+ [Cmdlet(VerbsCommon.Set, Constants.ApiManagementTenantGitAccess)]
+ [OutputType(typeof(PsApiManagementAccessInformation))]
+ public class SetAzureRmApiManagementTenantGitAccess : AzureApiManagementCmdletBase
+ {
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = true,
+ HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public PsApiManagementContext Context { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = false,
+ Mandatory = true,
+ HelpMessage = "Enable Git access. Set to true for enabling and false for disabling. This parameter is required.")]
+ [ValidateNotNullOrEmpty]
+ public bool Enabled { get; set; }
+
+ [Parameter(
+ ValueFromPipelineByPropertyName = true,
+ Mandatory = false,
+ HelpMessage = "If specified then instance of " +
+ "Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementAccessInformation type is returned.")]
+ public SwitchParameter PassThru { get; set; }
+
+ public override void ExecuteApiManagementCmdlet()
+ {
+ Client.TenantGitAccessSet(
+ Context,
+ Enabled);
+
+ if (PassThru.IsPresent)
+ {
+ var tenantAccess = Client.GetTenantGitAccessInformation(Context);
+ WriteObject(tenantAccess);
+ }
+ }
+ }
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Constants.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Constants.cs
new file mode 100644
index 000000000000..4b854bfd2452
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Constants.cs
@@ -0,0 +1,63 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement
+{
+ public class Constants
+ {
+ public const string ApiManagementOpenIdConnectProvider = "AzureRmApiManagementOpenIdConnectProvider";
+
+ public const string ApiManagementLogger = "AzureRmApiManagementLogger";
+
+ public const string ApiManagementProperty = "AzureRmApiManagementProperty";
+
+ public const string ApiManagementApiToProduct = "AzureRmApiManagementApiToProduct";
+
+ public const string ApiManagementProductToGroup = "AzureRmApiManagementProductToGroup";
+
+ public const string ApiManagementApiFromProduct = "AzureRmApiManagementApiFromProduct";
+
+ public const string ApiManagementUserToGroup = "AzureRmApiManagementUserToGroup";
+
+ public const string ApiManagementUserFromGroup = "AzureRmApiManagementUserFromGroup";
+
+ public const string ApiManagementApi = "AzureRmApiManagementApi";
+
+ public const string ApiManagementAuthorizationServer = "AzureRmApiManagementAuthorizationServer";
+
+ public const string ApiManagementCertificate = "AzureRmApiManagementCertificate";
+
+ public const string ApiManagementGroup = "AzureRmApiManagementGroup";
+
+ public const string ApiManagementOperation = "AzureRmApiManagementOperation";
+
+ public const string ApiManagementPolicy = "AzureRmApiManagementPolicy";
+
+ public const string ApiManagementProduct = "AzureRmApiManagementProduct";
+
+ public const string ApiManagementSubscription = "AzureRmApiManagementSubscription";
+
+ public const string ApiManagementUser = "AzureRmApiManagementUser";
+
+ public const string ApiManagementUserSsoUrl = "AzureRmApiManagementUserSsoUrl";
+
+ public const string ApiManagementProductFromGroup = "AzureRmApiManagementProductFromGroup";
+
+ public const string ApiManagementTenantGitAccess = "AzureRmApiManagementTenantGitAccess";
+
+ public const string ApiManagementTenantGitConfiguration = "AzureRmApiManagementTenantGitConfiguration";
+
+ public const string ApiManagementTenantSyncState = "AzureRmApiManagementTenantSyncState";
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.Help.pshproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.Help.pshproj
index 1c9bd237ef29..f15a31c72fad 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.Help.pshproj
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.Help.pshproj
@@ -3,38 +3,36 @@
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help
0.0.1
- E:\work\github\azure-powershell-pr\src\ResourceManager\ApiManagement\Commands.ApiManagement.ServiceManagement\Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.psd1
+ D:\github\azure-powershell\src\ResourceManager\ApiManagement\Commands.ApiManagement.ServiceManagement\Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.psd1
false
false
- Add-AzureApiManagementApiToProduct
+ Add-AzureRmApiManagementApiToProduct
Adds existing API to existing Product.
Adds existing API to existing Product.
-
-
+
bool
-
-
+
-
+
- Add-AzureApiManagementApiToProduct -Context <PsApiManagementContext> -ProductId <String> -ApiId <String> [-PassThru] [-Profile <AzureProfile>]
+ Add-AzureRmApiManagementApiToProduct -Context <PsApiManagementContext> -ProductId <String> -ApiId <String> [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -43,8 +41,8 @@
ProductId
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of existing Product to add API to. This parameter is required.
@@ -69,20 +67,36 @@
If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Add-AzureApiManagementApiToProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001
+ Add-AzureRmApiManagementApiToProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001
Add existing API to an existing Product.
@@ -92,32 +106,30 @@
false
- Add-AzureApiManagementProductToGroup
+ Add-AzureRmApiManagementProductToGroup
Adds existing product to existing group. In other words assigns a group to a product.
Adds existing product to existing group. In other words assigns a group to a product.
-
-
+
bool
-
-
+
-
+
- Add-AzureApiManagementProductToGroup -Context <PsApiManagementContext> -GroupId <String> -ProductId <String> [-PassThru] [-Profile <AzureProfile>]
+ Add-AzureRmApiManagementProductToGroup -Context <PsApiManagementContext> -GroupId <String> -ProductId <String> [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -136,8 +148,8 @@
ProductId
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of existing product. This parameter is required.
@@ -152,20 +164,36 @@
If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Add-AzureApiManagementProductToGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789
+ Add-AzureRmApiManagementProductToGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789
Add existing product to an existing group.
@@ -175,32 +203,30 @@
false
- Add-AzureApiManagementUserToGroup
+ Add-AzureRmApiManagementUserToGroup
Adds existing user to existing group.
Adds existing user to existing group.
-
-
+
bool
-
-
+
-
+
- Add-AzureApiManagementUserToGroup -Context <PsApiManagementContext> -GroupId <String> -UserId <String> [-PassThru] [-Profile <AzureProfile>]
+ Add-AzureRmApiManagementUserToGroup -Context <PsApiManagementContext> -GroupId <String> -UserId <String> [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -235,20 +261,36 @@
If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Add-AzureApiManagementUserToGroup –Context $apimContext –GroupId 0001 –UserId 0123456789
+ Add-AzureRmApiManagementUserToGroup –Context $apimContext –GroupId 0001 –UserId 0123456789
Add existing user to an existing group.
@@ -258,15 +300,14 @@
false
- Export-AzureApiManagementApi
+ Export-AzureRmApiManagementApi
Export API to file in one of the supported formats.
Export API to file in one of the supported formats.
-
-
+
string;bool
@@ -274,19 +315,19 @@ exported api content;
true/false
-
-
+
+
- Export-AzureApiManagementApi -Context <PsApiManagementContext> -ApiId <String> -SpecificationFormat <PsApiManagementApiFormat> [-Profile <AzureProfile>]
- Export-AzureApiManagementApi -Context <PsApiManagementContext> -ApiId <String> -SpecificationFormat <PsApiManagementApiFormat> -SaveAs <String> [-Force] [-PassThru] [-Profile <AzureProfile>]
+ Export-AzureRmApiManagementApi -Context <PsApiManagementContext> -ApiId <String> -SpecificationFormat <PsApiManagementApiFormat> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Export-AzureRmApiManagementApi -Context <PsApiManagementContext> -ApiId <String> -SpecificationFormat <PsApiManagementApiFormat> -SaveAs <String> [-Force] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -305,22 +346,13 @@ true/false
SpecificationFormat
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Specification format (Wadl or Swagger). This parameter is required.
-
- Profile
-
- System.Management.Automation.ParameterAttribute
-
-
- In-memory profile.
-
-
SaveAs
@@ -349,11 +381,36 @@ true/false
If specified will write true/false if api exported successfully/failed. This parameter is optional.
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
Example 1
- Export-AzureApiManagementApi –Context $apimContext –ApiId 0123456789 –SpecificationFormat 'Wadl' –SaveAs 'C:\contoso\specifications\0123456789.wadl'
+ Export-AzureRmApiManagementApi –Context $apimContext –ApiId 0123456789 –SpecificationFormat 'Wadl' –SaveAs 'C:\contoso\specifications\0123456789.wadl'
Export API to file as WADL.
@@ -363,52 +420,41 @@ true/false
false
- Get-AzureApiManagementApi
+ Get-AzureRmApiManagementApi
Gets a list or a particular API description.
Gets a list or a particular API description.
-
-
+
IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi
-
-
+
-
-
-
-
+
+
+
+
- Get-AzureApiManagementApi -Context <PsApiManagementContext> [-Profile <AzureProfile>]
- Get-AzureApiManagementApi -Context <PsApiManagementContext> -ApiId <String> [-Profile <AzureProfile>]
- Get-AzureApiManagementApi -Context <PsApiManagementContext> -Name <String> [-Profile <AzureProfile>]
- Get-AzureApiManagementApi -Context <PsApiManagementContext> -ProductId <String> [-Profile <AzureProfile>]
+ Get-AzureRmApiManagementApi -Context <PsApiManagementContext> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementApi -Context <PsApiManagementContext> -ApiId <String> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementApi -Context <PsApiManagementContext> -Name <String> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementApi -Context <PsApiManagementContext> -ProductId <String> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
-
- Profile
-
- System.Management.Automation.ParameterAttribute
-
-
- In-memory profile.
-
-
ApiId
@@ -436,23 +482,48 @@ true/false
If specified will try to get all Product APIs. This parameter is optional.
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
Example 1
- Get-AzureApiManagementApi –Context $apimContext
+ Get-AzureRmApiManagementApi –Context $apimContext
Get list of all APIs.
Example 2
- Get-AzureApiManagementApi –Context $apimContext –ApiId $apiId
+ Get-AzureRmApiManagementApi –Context $apimContext –ApiId $apiId
Get API by Id.
Example 3
- Get-AzureApiManagementApi –Context $apimContext –Name "EchoApi"
+ Get-AzureRmApiManagementApi –Context $apimContext –Name "EchoApi"
Get API by Name
@@ -462,32 +533,32 @@ true/false
false
- Get-AzureApiManagementAuthorizationServer
+ Get-AzureRmApiManagementAuthorizationServer
Gets all or specific authorization servers.
Gets all or specific authorization servers.
-
-
+
IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer
-
-
+
-
+
+
- Get-AzureApiManagementAuthorizationServer -Context <PsApiManagementContext> [-ServerId <String>] [-Profile <AzureProfile>]
+ Get-AzureRmApiManagementAuthorizationServer -Context <PsApiManagementContext> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementAuthorizationServer -Context <PsApiManagementContext> [-ServerId <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -502,26 +573,42 @@ true/false
Identifier of the authorization server. If specified will find authorization server by the identifier. This parameter is optional.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Get-AzureApiManagementAuthrizarionServer –Context $apimContext
+ Get-AzureRmApiManagementAuthrizarionServer –Context $apimContext
Get all authorization servers.
Example 2
- Get-AzureApiManagementCertificate –Context $apimContext –ServerId 0123456789
+ Get-AzureRmApiManagementCertificate –Context $apimContext –ServerId 0123456789
Get specific authorization server.
@@ -531,68 +618,82 @@ true/false
false
- Get-AzureApiManagementCertificate
+ Get-AzureRmApiManagementCertificate
Gets all or specific certificates.
Gets all or specific certificates.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate
-
-
+
-
-
+
+
- Get-AzureApiManagementCertificate -Context <PsApiManagementContext> [-Profile <AzureProfile>]
- Get-AzureApiManagementCertificate -Context <PsApiManagementContext> -CertificateId <String> [-Profile <AzureProfile>]
+ Get-AzureRmApiManagementCertificate -Context <PsApiManagementContext> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementCertificate -Context <PsApiManagementContext> -CertificateId <String> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
-
- Profile
+
+ CertificateId
System.Management.Automation.ParameterAttribute
- In-memory profile.
+ Identifier of the certificate. If specified will find certificate by the identifier. This parameter is required.
-
- CertificateId
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- Identifier of the certificate. If specified will find certificate by the identifier. This parameter is required.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Get-AzureApiManagementCertificate –Context $apimContext
+ Get-AzureRmApiManagementCertificate –Context $apimContext
Get all certificates.
Example 2
- Get-AzureApiManagementCertificate –Context $apimContext –CertificateId 0123456789
+ Get-AzureRmApiManagementCertificate –Context $apimContext –CertificateId 0123456789
Get specific certificate.
@@ -602,38 +703,36 @@ true/false
false
- Get-AzureApiManagementGroup
+ Get-AzureRmApiManagementGroup
Gets all or specific groups.
Gets all or specific groups.
-
-
+
IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup
-
-
+
-
-
-
-
+
+
+
+
- Get-AzureApiManagementGroup -Context <PsApiManagementContext> [-Name <String>] [-Profile <AzureProfile>]
- Get-AzureApiManagementGroup -Context <PsApiManagementContext> [-GroupId <String>] [-Name <String>] [-Profile <AzureProfile>]
- Get-AzureApiManagementGroup -Context <PsApiManagementContext> [-Name <String>] [-UserId <String>] [-Profile <AzureProfile>]
- Get-AzureApiManagementGroup -Context <PsApiManagementContext> [-Name <String>] [-ProductId <String>] [-Profile <AzureProfile>]
+ Get-AzureRmApiManagementGroup -Context <PsApiManagementContext> [-Name <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementGroup -Context <PsApiManagementContext> [-GroupId <String>] [-Name <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementGroup -Context <PsApiManagementContext> [-Name <String>] [-UserId <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementGroup -Context <PsApiManagementContext> [-Name <String>] [-ProductId <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -648,15 +747,6 @@ true/false
Group name. If specified will try to find group by the name. This parameter is optional.
-
- Profile
-
- System.Management.Automation.ParameterAttribute
-
-
- In-memory profile.
-
-
GroupId
@@ -684,29 +774,54 @@ true/false
Identifier of existing product. If specified will return all groups the product assigned to. This parameter is optional.
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
Example 1
- Get-AzureApiManagementGroup –Context $apimContext
+ Get-AzureRmApiManagementGroup –Context $apimContext
Get all groups.
Example 2
- Get-AzureApiManagementGroup –Context $apimContext –GroupId 0123456789
+ Get-AzureRmApiManagementGroup –Context $apimContext –GroupId 0123456789
Get group by identifier.
Example 3
- Get-AzureApiManagementGroup –Context $apimContext –Name 'Custom group'
+ Get-AzureRmApiManagementGroup –Context $apimContext –Name 'Custom group'
Get group by name.
Example 4
- Get-AzureApiManagementGroup –Context $apimContext –UserId 0123456789
+ Get-AzureRmApiManagementGroup –Context $apimContext –UserId 0123456789
Get all user groups.
@@ -716,15 +831,14 @@ true/false
false
- Get-AzureApiManagementOperation
+ Get-AzureRmApiManagementOperation
Gets a list or a particular API Operation.
Gets a list or a particular API Operation.
-
-
+
IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation
;
@@ -732,19 +846,19 @@ true/false
-
-
+
+
- Get-AzureApiManagementOperation -Context <PsApiManagementContext> -ApiId <String> [-Profile <AzureProfile>]
- Get-AzureApiManagementOperation -Context <PsApiManagementContext> -ApiId <String> -OperationId <String> [-Profile <AzureProfile>]
+ Get-AzureRmApiManagementOperation -Context <PsApiManagementContext> -ApiId <String> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementOperation -Context <PsApiManagementContext> -ApiId <String> -OperationId <String> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -754,42 +868,58 @@ true/false
ApiId
System.Management.Automation.ParameterAttribute
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of API Operation belongs to. This parameter is required.
-
- Profile
+
+ OperationId
System.Management.Automation.ParameterAttribute
- In-memory profile.
+ Identifier operation to look for. This parameter is optional.
-
- OperationId
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- Identifier operation to look for. This parameter is optional.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Get-AzureApiManagementOperation –Context $apimContext –ApiId $apiId
+ Get-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId
Get all API Operations.
Example 2
- Get-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 0123456789
+ Get-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 0123456789
Get Operation by id.
@@ -799,31 +929,29 @@ true/false
false
- Get-AzureApiManagementPolicy
+ Get-AzureRmApiManagementPolicy
Gets specified scope policy.
Gets specified scope policy.
-
-
+
string;bool
-
-
+
-
-
-
-
+
+
+
+
- Get-AzureApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] [-SaveAs <String>] [-Force] [-Profile <AzureProfile>]
- Get-AzureApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] [-SaveAs <String>] -ProductId <String> [-Force] [-Profile <AzureProfile>]
- Get-AzureApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] [-SaveAs <String>] -ApiId <String> -OperationId <String> [-Force] [-Profile <AzureProfile>]
- Get-AzureApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] [-SaveAs <String>] -ApiId <String> [-Force] [-Profile <AzureProfile>]
+ Get-AzureRmApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] [-SaveAs <String>] [-Force] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] [-SaveAs <String>] -ProductId <String> [-Force] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] [-SaveAs <String>] -ApiId <String> [-Force] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] [-SaveAs <String>] -ApiId <String> -OperationId <String> [-Force] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -863,15 +991,6 @@ true/false
Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional.
-
- Profile
-
- System.Management.Automation.ParameterAttribute
-
-
- In-memory profile.
-
-
ProductId
@@ -900,29 +1019,54 @@ true/false
Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is required.
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
Example 1
- Get-AzureApiManagementPolicy –Context $apimContext –SaveAs 'C:\contoso\policies\tenantpolicy.xml'
+ Get-AzureRmApiManagementPolicy –Context $apimContext –SaveAs 'C:\contoso\policies\tenantpolicy.xml'
Get tenant level policy and save to file named tenantpolicy.xml.
Example 2
- $policyString = Get-AzureApiManagementPolicy –Context $apimContext –ProductId 0123456789
+ $policyString = Get-AzureRmApiManagementPolicy –Context $apimContext –ProductId 0123456789
Get product-scope policy
Example 3
- $policyString = Get-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210
+ $policyString = Get-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210
Get API-scope policy.
Example 4
- Get-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777
+ Get-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777
Get operation-scope policy.
@@ -932,15 +1076,14 @@ true/false
false
- Get-AzureApiManagementProduct
+ Get-AzureRmApiManagementProduct
Gets a list or a particular Product.
Gets a list or a particular Product.
-
-
+
IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct
;
@@ -948,14 +1091,14 @@ true/false
-
-
-
+
+
+
- Get-AzureApiManagementProduct -Context <PsApiManagementContext> [-Profile <AzureProfile>]
- Get-AzureApiManagementProduct -Context <PsApiManagementContext> -ProductId <String> [-Profile <AzureProfile>]
- Get-AzureApiManagementProduct -Context <PsApiManagementContext> [-Title <String>] [-Profile <AzureProfile>]
+ Get-AzureRmApiManagementProduct -Context <PsApiManagementContext> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementProduct -Context <PsApiManagementContext> -ProductId <String> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementProduct -Context <PsApiManagementContext> [-Title <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -968,20 +1111,11 @@ true/false
Instance of PsApiManagementContext. This parameter is required.
-
- Profile
-
- System.Management.Automation.ParameterAttribute
-
-
- In-memory profile.
-
-
ProductId
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of Product to search for. This parameter is optional.
@@ -996,17 +1130,42 @@ true/false
Title of the Product to look for. If specified will try to get the Product by title. This parameter is optional.
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
Example 1
- Get-AzureApiManagementProduct –Context $apimContext
+ Get-AzureRmApiManagementProduct –Context $apimContext
Get all Products.
Example 2
- Get-AzureApiManagementProduct –Context $apimContext –ProductId 0123456789
+ Get-AzureRmApiManagementProduct –Context $apimContext –ProductId 0123456789
Get Product by id.
@@ -1016,52 +1175,41 @@ true/false
false
- Get-AzureApiManagementSubscription
+ Get-AzureRmApiManagementSubscription
Gets all or specific subscriptions.
Gets all or specific subscriptions.
-
-
+
IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription
-
-
+
-
-
-
-
+
+
+
+
- Get-AzureApiManagementSubscription -Context <PsApiManagementContext> [-Profile <AzureProfile>]
- Get-AzureApiManagementSubscription -Context <PsApiManagementContext> [-SubscriptionId <String>] [-Profile <AzureProfile>]
- Get-AzureApiManagementSubscription -Context <PsApiManagementContext> [-UserId <String>] [-Profile <AzureProfile>]
- Get-AzureApiManagementSubscription -Context <PsApiManagementContext> [-ProductId <String>] [-Profile <AzureProfile>]
+ Get-AzureRmApiManagementSubscription -Context <PsApiManagementContext> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementSubscription -Context <PsApiManagementContext> [-SubscriptionId <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementSubscription -Context <PsApiManagementContext> [-UserId <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementSubscription -Context <PsApiManagementContext> [-ProductId <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
-
- Profile
-
- System.Management.Automation.ParameterAttribute
-
-
- In-memory profile.
-
-
SubscriptionId
@@ -1089,29 +1237,54 @@ true/false
Product identifier. If specified will try to find all subscriptions by the product identifier. This parameter is optional.
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
Example 1
- Get-AzureApiManagementSubscription –Context $apimContext
+ Get-AzureRmApiManagementSubscription –Context $apimContext
Get all subscriptions.
Example 2
- Get-AzureApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789
+ Get-AzureRmApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789
Get subscription by Id.
Example 3
- Get-AzureApiManagementSubscription –Context $apimContext –UserId 777
+ Get-AzureRmApiManagementSubscription –Context $apimContext –UserId 777
Get all users subscriptions.
Example 4
- Get-AzureApiManagementSubscription –Context $apimContext –ProductId 999
+ Get-AzureRmApiManagementSubscription –Context $apimContext –ProductId 999
Get all subscriptions for the product.
@@ -1121,29 +1294,27 @@ true/false
false
- Get-AzureApiManagementUser
+ Get-AzureRmApiManagementUser
Gets all or specific user.
Gets all or specific user.
-
-
+
IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser
-
-
+
-
-
-
+
+
+
- Get-AzureApiManagementUser -Context <PsApiManagementContext> [-Profile <AzureProfile>]
- Get-AzureApiManagementUser -Context <PsApiManagementContext> [-UserId <String>] [-Profile <AzureProfile>]
- Get-AzureApiManagementUser -Context <PsApiManagementContext> [-FirstName <String>] [-LastName <String>] [-State <Nullable`1[PsApiManagementUserState]>] [-Email <String>] [-GroupId <String>] [-Profile <AzureProfile>]
+ Get-AzureRmApiManagementUser -Context <PsApiManagementContext> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementUser -Context <PsApiManagementContext> [-UserId <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementUser -Context <PsApiManagementContext> [-FirstName <String>] [-LastName <String>] [-State <Nullable`1[PsApiManagementUserState]>] [-Email <String>] [-GroupId <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -1156,15 +1327,6 @@ true/false
Instance of PsApiManagementContext. This parameter is required.
-
- Profile
-
- System.Management.Automation.ParameterAttribute
-
-
- In-memory profile.
-
-
UserId
@@ -1219,35 +1381,60 @@ true/false
Identifier of existing group. If specified will try to find all users within the group. This parameter is optional.
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
Example 1
- Get-AzureApiManagementUser –Context $apimContext
+ Get-AzureRmApiManagementUser –Context $apimContext
Get all users.
Example 2
- Get-AzureApiManagementUser –Context $apimContext –UserId 0123456789
+ Get-AzureRmApiManagementUser –Context $apimContext –UserId 0123456789
Get user by Id.
Example 3
- Get-AzureApiManagementUser –Context $apimContext –LastName 'Ivanov'
+ Get-AzureRmApiManagementUser –Context $apimContext –LastName 'Ivanov'
Get users by last name.
Example 4
- Get-AzureApiManagementUser –Context $apimContext –Email 'user@contoso.com'
+ Get-AzureRmApiManagementUser –Context $apimContext –Email 'user@contoso.com'
Get user by email.
Example 5
- Get-AzureApiManagementUser –Context $apimContext –GroupId 0001
+ Get-AzureRmApiManagementUser –Context $apimContext –GroupId 0001
Get all users within the group.
@@ -1257,25 +1444,23 @@ true/false
false
- Get-AzureApiManagementUserSsoUrl
+ Get-AzureRmApiManagementUserSsoUrl
Generates SSO URL for the user.
Generates SSO URL for the user.
-
-
+
string
-
-
+
-
+
- Get-AzureApiManagementUserSsoUrl -Context <PsApiManagementContext> -UserId <String> [-Profile <AzureProfile>]
+ Get-AzureRmApiManagementUserSsoUrl -Context <PsApiManagementContext> -UserId <String> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -1291,27 +1476,43 @@ true/false
UserId
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of existing user. This parameter is required.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
-
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
Example 1
- Get-AzureApiManagementUserSsoUrl –Context $apimContext –UserId 0123456789
+ Get-AzureRmApiManagementUserSsoUrl –Context $apimContext –UserId 0123456789
Get user SSO URL.
@@ -1321,27 +1522,26 @@ true/false
false
- Import-AzureApiManagementApi
+ Import-AzureRmApiManagementApi
Imports API from file or URL in one of the supported formats.
Imports API from file or URL in one of the supported formats (Wadl, Swagger).
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi
Imported API
-
-
+
+
- Import-AzureApiManagementApi -Context <PsApiManagementContext> [-ApiId <String>] -SpecificationFormat <PsApiManagementApiFormat> -SpecificationPath <String> [-Path <String>] [-Profile <AzureProfile>]
- Import-AzureApiManagementApi -Context <PsApiManagementContext> [-ApiId <String>] -SpecificationFormat <PsApiManagementApiFormat> -SpecificationUrl <String> [-Path <String>] [-Profile <AzureProfile>]
+ Import-AzureRmApiManagementApi -Context <PsApiManagementContext> [-ApiId <String>] -SpecificationFormat <PsApiManagementApiFormat> -SpecificationPath <String> [-Path <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Import-AzureRmApiManagementApi -Context <PsApiManagementContext> [-ApiId <String>] -SpecificationFormat <PsApiManagementApiFormat> -SpecificationUrl <String> [-Path <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -1376,8 +1576,8 @@ Imported API
SpecificationPath
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Specification file path. This parameter is required.
@@ -1392,42 +1592,58 @@ Imported API
Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.
-
- Profile
+
+ SpecificationUrl
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
- In-memory profile.
+ Specification URL. This parameter is required.
-
- SpecificationUrl
+
+ InformationAction
System.Management.Automation.ParameterAttribute
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
+ System.Management.Automation.AliasAttribute
-
- Specification URL. This parameter is required.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Import-AzureApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationPath 'C:\contoso\specifications\echoapi.wadl' –Path 'apis'
+ Import-AzureRmApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationPath 'C:\contoso\specifications\echoapi.wadl' –Path 'apis'
Import API from WADL file.
Example 2
- Import-AzureApiManagementApi –Context $apimContext –SpecificationFormat 'Swagger' –SpecificationPath 'C:\contoso\specifications\echoapi.swagger' –Path 'apis'
+ Import-AzureRmApiManagementApi –Context $apimContext –SpecificationFormat 'Swagger' –SpecificationPath 'C:\contoso\specifications\echoapi.swagger' –Path 'apis'
Import API from Swagger file.
Example 3
- Import-AzureApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationUrl 'http://contoso.com/specifications/wadl/echoapi' –Path 'apis'
+ Import-AzureRmApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationUrl 'http://contoso.com/specifications/wadl/echoapi' –Path 'apis'
Import API from WADL link.
@@ -1437,32 +1653,30 @@ Imported API
false
- New-AzureApiManagementApi
+ New-AzureRmApiManagementApi
Creates new API.
Creates new API.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi
-
-
+
-
+
- New-AzureApiManagementApi -Context <PsApiManagementContext> [-ApiId <String>] -Name <String> [-Description <String>] -ServiceUrl <String> [-Path <String>] -Protocols <PsApiManagementSchema[]> [-AuthorizationServerId <String>] [-AuthorizationScope <String>] [-SubscriptionKeyHeaderName <String>] [-SubscriptionKeyQueryParamName <String>] [-ProductIds <String[]>] [-Profile <AzureProfile>]
+ New-AzureRmApiManagementApi -Context <PsApiManagementContext> [-ApiId <String>] -Name <String> [-Description <String>] -ServiceUrl <String> -Path <String> -Protocols <PsApiManagementSchema[]> [-AuthorizationServerId <String>] [-AuthorizationScope <String>] [-SubscriptionKeyHeaderName <String>] [-SubscriptionKeyQueryParamName <String>] [-ProductIds <String[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -1499,20 +1713,21 @@ Imported API
ServiceUrl
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required.
-
+
Path
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
- Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.
+ Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is required.
$null
@@ -1570,20 +1785,36 @@ Imported API
Array of products IDs to add the new API to. This parameter is optional.
$null
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- New-AzureApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('http', 'https')
+ New-AzureRmApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('http', 'https') -Path 'echoapi'
Create new API.
@@ -1593,32 +1824,30 @@ Imported API
false
- New-AzureApiManagementAuthorizationServer
+ New-AzureRmApiManagementAuthorizationServer
Creates new authorization server.
Creates new authorization server.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer
-
-
+
-
+
- New-AzureApiManagementAuthorizationServer -Context <PsApiManagementContext> [-ServerId <String>] -Name <String> [-Description <String>] -ClientRegistrationPageUrl <String> -AuthorizationEndpointUrl <String> -TokenEndpointUrl <String> -ClientId <String> [-ClientSecret <String>] [-AuthorizationRequestMethods <PsApiManagementAuthorizationRequestMethod[]>] -GrantTypes <PsApiManagementGrantType[]> -ClientAuthenticationMethods <PsApiManagementClientAuthenticationMethod[]> [-TokenBodyParameters <Hashtable>] [-SupportState <Nullable`1[Boolean]>] [-DefaultScope <String>] -AccessTokenSendingMethods <PsApiManagementAccessTokenSendingMethod[]> [-ResourceOwnerUsername <String>] [-ResourceOwnerPassword <String>] [-Profile <AzureProfile>]
+ New-AzureRmApiManagementAuthorizationServer -Context <PsApiManagementContext> [-ServerId <String>] -Name <String> [-Description <String>] -ClientRegistrationPageUrl <String> -AuthorizationEndpointUrl <String> -TokenEndpointUrl <String> -ClientId <String> [-ClientSecret <String>] [-AuthorizationRequestMethods <PsApiManagementAuthorizationRequestMethod[]>] -GrantTypes <PsApiManagementGrantType[]> -ClientAuthenticationMethods <PsApiManagementClientAuthenticationMethod[]> [-TokenBodyParameters <Hashtable>] [-SupportState <Nullable`1[Boolean]>] [-DefaultScope <String>] -AccessTokenSendingMethods <PsApiManagementAccessTokenSendingMethod[]> [-ResourceOwnerUsername <String>] [-ResourceOwnerPassword <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -1636,8 +1865,8 @@ Imported API
Name
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Name of new authorization server. This parameter is required.
@@ -1675,8 +1904,8 @@ Imported API
TokenEndpointUrl
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required.
@@ -1713,8 +1942,8 @@ Imported API
GrantTypes
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required.
@@ -1760,8 +1989,8 @@ Imported API
AccessTokenSendingMethods
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required.
@@ -1785,20 +2014,36 @@ Imported API
Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- New-AzureApiManagementAuthrizarionServer –Context $apimContext –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signup' -AthorizationEndpointUrl 'https://contoso/auth' -TokenEndpointUrl 'https://contoso/token' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get', 'Post') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ResourceOwnerPassword', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'; 'par2'='val2'} –AccessTokenSendingMethods @('AuthorizationHeader', 'Query') –ResourceOwnerUsername 'ivan' –ResourveOwnerPassword 'qwerty'
+ New-AzureRmApiManagementAuthrizarionServer –Context $apimContext –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signup' -AthorizationEndpointUrl 'https://contoso/auth' -TokenEndpointUrl 'https://contoso/token' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get', 'Post') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ResourceOwnerPassword', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'; 'par2'='val2'} –AccessTokenSendingMethods @('AuthorizationHeader', 'Query') –ResourceOwnerUsername 'ivan' –ResourveOwnerPassword 'qwerty'
Create new authorization server.
@@ -1808,34 +2053,32 @@ Imported API
false
- New-AzureApiManagementCertificate
+ New-AzureRmApiManagementCertificate
Creates new certificate.
Creates new certificate.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate
-
-
+
-
-
+
+
- New-AzureApiManagementCertificate -Context <PsApiManagementContext> [-CertificateId <String>] -PfxFilePath <String> -PfxPassword <String> [-Profile <AzureProfile>]
- New-AzureApiManagementCertificate -Context <PsApiManagementContext> [-CertificateId <String>] -PfxBytes <Byte[]> -PfxPassword <String> [-Profile <AzureProfile>]
+ New-AzureRmApiManagementCertificate -Context <PsApiManagementContext> [-CertificateId <String>] -PfxFilePath <String> -PfxPassword <String> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ New-AzureRmApiManagementCertificate -Context <PsApiManagementContext> [-CertificateId <String>] -PfxBytes <Byte[]> -PfxPassword <String> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -1862,36 +2105,52 @@ Imported API
PfxPassword
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Password for the certificate. This parameter is required.
-
- Profile
+
+ PfxBytes
System.Management.Automation.ParameterAttribute
- In-memory profile.
+ Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified.
-
- PfxBytes
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- New-AzureApiManagementCertificate –Context $apimContext –PfxFilePath 'C:\contoso\certificates\apimanagement.pfx' –PfxPassword 1111
+ New-AzureRmApiManagementCertificate –Context $apimContext –PfxFilePath 'C:\contoso\certificates\apimanagement.pfx' –PfxPassword 1111
Create/upload new certificate.
@@ -1901,25 +2160,23 @@ Imported API
false
- New-AzureApiManagementContext
+ New-AzureRmApiManagementContext
Create PsAzureApiManagementContext.
Create an instance of PsAzureApiManagementContext. The context is to be used for all the API Management Service Management cmdlets.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsAzureApiManagementContext
-
-
+
-
+
- New-AzureApiManagementContext -ResourceGroupName <String> -ServiceName <String> [-Profile <AzureProfile>]
+ New-AzureRmApiManagementContext -ResourceGroupName <String> -ServiceName <String> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -1942,20 +2199,36 @@ Imported API
Name of deployed API Management service.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- $apimContext = New-AzureApiManagementContext –ResourceGroupName contosoresources –ServiceName contoso
+ $apimContext = New-AzureRmApiManagementContext –ResourceGroupName contosoresources –ServiceName contoso
Create an instance of PsApiManagementContext
@@ -1965,32 +2238,30 @@ Imported API
false
- New-AzureApiManagementGroup
+ New-AzureRmApiManagementGroup
Creates new group.
Creates new group.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup
-
-
+
-
+
- New-AzureApiManagementGroup -Context <PsApiManagementContext> [-GroupId <String>] -Name <String> [-Description <String>] [-Profile <AzureProfile>]
+ New-AzureRmApiManagementGroup -Context <PsApiManagementContext> [-GroupId <String>] -Name <String> [-Description <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -2008,8 +2279,8 @@ Imported API
Name
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Group name. This parameter is required.
@@ -2024,20 +2295,36 @@ Imported API
Group description. This parameter is optional.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- New-AzureApiManagementGroup –Context $apimContext –Name 'Best devs'
+ New-AzureRmApiManagementGroup –Context $apimContext –Name 'Best devs'
Create new group.
@@ -2047,25 +2334,23 @@ Imported API
false
- New-AzureApiManagementOperation
+ New-AzureRmApiManagementOperation
Create new API Operation.
Create new API Operation.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation
-
-
+
-
+
- New-AzureApiManagementOperation -Context <PsApiManagementContext> -ApiId <String> [-OperationId <String>] -Name <String> -Method <String> -UrlTemplate <String> [-Description <String>] [-TemplateParameters <PsApiManagementParameter[]>] [-Request <PsApiManagementRequest>] [-Responses <PsApiManagementResponse[]>] [-Profile <AzureProfile>]
+ New-AzureRmApiManagementOperation -Context <PsApiManagementContext> -ApiId <String> [-OperationId <String>] -Name <String> -Method <String> -UrlTemplate <String> [-Description <String>] [-TemplateParameters <PsApiManagementParameter[]>] [-Request <PsApiManagementRequest>] [-Responses <PsApiManagementResponse[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -2081,8 +2366,8 @@ Imported API
ApiId
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of API. This parameter is required.
@@ -2120,8 +2405,8 @@ Imported API
UrlTemplate
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required.
@@ -2163,20 +2448,36 @@ Imported API
Array of possible operation responses. This parameter is optional.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Get resource' –Method 'GET' –UrlTemplate '/resource' –Description 'Use this operation to get resource'
+ New-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Get resource' –Method 'GET' –UrlTemplate '/resource' –Description 'Use this operation to get resource'
Create new operation.
@@ -2213,7 +2514,7 @@ $request.Representations = @($requestRepresentation)
#create response
$response = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementResponse
$response.StatusCode = 204
-New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Create/update resource' –Method 'PUT' –UrlTemplate '/resource/{rid}?q={query}' –Description 'Use this operation to create new or update existing resource' –TemplateParameters @($rid, $query) –Request $request –Responses @($response)
+New-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Create/update resource' –Method 'PUT' –UrlTemplate '/resource/{rid}?q={query}' –Description 'Use this operation to create new or update existing resource' –TemplateParameters @($rid, $query) –Request $request –Responses @($response)
Script to create new operation with request and response details.
@@ -2223,32 +2524,30 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- New-AzureApiManagementProduct
+ New-AzureRmApiManagementProduct
Creates new product.
Creates new product.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct
-
-
+
-
+
- New-AzureApiManagementProduct -Context <PsApiManagementContext> [-ProductId <String>] -Title <String> [-Description <String>] [-LegalTerms <String>] [-SubscriptionRequired <Nullable`1[Boolean]>] [-ApprovalRequired <Nullable`1[Boolean]>] [-SubscriptionsLimit <Nullable`1[Int32]>] [-SubscriptionPeriod <String>] [-NotificationPeriod <String>] [-State <Nullable`1[PsApiManagementProductState]>] [-Profile <AzureProfile>]
+ New-AzureRmApiManagementProduct -Context <PsApiManagementContext> [-ProductId <String>] -Title <String> [-Description <String>] [-LegalTerms <String>] [-SubscriptionRequired <Nullable`1[Boolean]>] [-ApprovalRequired <Nullable`1[Boolean]>] [-SubscriptionsLimit <Nullable`1[Int32]>] [-State <Nullable`1[PsApiManagementProductState]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -2266,8 +2565,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Title
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Product title. This parameter is required.
@@ -2318,56 +2617,53 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1.
-
- SubscriptionPeriod
-
- System.Management.Automation.ValidatePatternAttribute
- System.Management.Automation.ParameterAttribute
-
-
- The period user subscriptions stays active once approved. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year).
-
-
-
- NotificationPeriod
+
+ State
- System.Management.Automation.ValidatePatternAttribute
System.Management.Automation.ParameterAttribute
- Specifies upcoming subscription expiration notification period. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year).
+ Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished.
-
- State
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished.
+
+ infa
+
+
-
- Profile
+
+ InformationVariable
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
-
- In-memory profile.
+
+ iv
+
+
Example 1
- New-AzureApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $false –State 'Published'
+ New-AzureRmApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $false –State 'Published'
Crete new product. No subscription required.
Example 2
- New-AzureApiManagementProduct –Context $apimContext –ProductId 9876543210 –Title Unlimited –Description 'Subscribers have completely unlimited access to the API. Administrator approval is required.' –LegalTerms 'Free for all' –ApprovalRequired $true –State Published –NotificationPeriod 'D10' –SubscriptionPeriod 'Y1'
- Crete new product. Subscription and approval required. Notification period – 10 days. Subscription period – 1 year.
+ New-AzureRmApiManagementProduct -Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Product requiring approval' –LegalTerms 'Strict Terms' –SubscriptionRequired $true
+ –ApprovalRequired $true –State 'Published' -SubscriptionsLimit 10
+ Create a product which requires approval
@@ -2376,25 +2672,23 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- New-AzureApiManagementSubscription
+ New-AzureRmApiManagementSubscription
Creates new subscription.
Creates new subscription.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription
-
-
+
-
+
- New-AzureApiManagementSubscription -Context <PsApiManagementContext> [-SubscriptionId <String>] -Name <String> -UserId <String> -ProductId <String> [-PrimaryKey <String>] [-SecondaryKey <String>] [-State <Nullable`1[PsApiManagementSubscriptionState]>] [-Profile <AzureProfile>]
+ New-AzureRmApiManagementSubscription -Context <PsApiManagementContext> [-SubscriptionId <String>] -Name <String> -UserId <String> -ProductId <String> [-PrimaryKey <String>] [-SecondaryKey <String>] [-State <Nullable`1[PsApiManagementSubscriptionState]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -2429,8 +2723,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
UserId
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of existing user - the subscriber. This parameter is required.
@@ -2473,20 +2767,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Subscription state. This parameter is optional. Default value is $null.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- New-AzureApiManagementSubscription –Context $apimContext –UserId 777 –ProductId 999
+ New-AzureRmApiManagementSubscription –Context $apimContext –UserId 777 –ProductId 999
Subscribe existing user to existing product.
@@ -2496,32 +2806,30 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- New-AzureApiManagementUser
+ New-AzureRmApiManagementUser
Register new user.
Register new user.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser
-
-
+
-
+
- New-AzureApiManagementUser -Context <PsApiManagementContext> [-UserId <String>] -FirstName <String> -LastName <String> -Email <String> -Password <String> [-State <Nullable`1[PsApiManagementUserState]>] [-Note <String>] [-Profile <AzureProfile>]
+ New-AzureRmApiManagementUser -Context <PsApiManagementContext> [-UserId <String>] -FirstName <String> -LastName <String> -Email <String> -Password <String> [-State <Nullable`1[PsApiManagementUserState]>] [-Note <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -2539,8 +2847,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
FirstName
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
User first name. This parameter is required. Must be 1 to 100 characters long.
@@ -2559,8 +2867,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Email
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
User email. This parameter is required.
@@ -2569,8 +2877,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Password
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
User password. This parameter is required.
@@ -2594,20 +2902,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Note on the user. This parameter is optional. Default value is $null.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- New-AzureApiManagementUser –Context $apimContext –FirstName 'Ivan' –LastName 'Ivanov' –Email 'ivan.ivanov@contoso.com' –Password 'qwerty'
+ New-AzureRmApiManagementUser –Context $apimContext –FirstName 'Ivan' –LastName 'Ivanov' –Email 'ivan.ivanov@contoso.com' –Password 'qwerty'
Register new user.
@@ -2617,25 +2941,23 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Remove-AzureApiManagementApi
+ Remove-AzureRmApiManagementApi
Remove existing API.
Remove existing API.
-
-
+
bool
-
-
+
-
+
- Remove-AzureApiManagementApi -Context <PsApiManagementContext> -ApiId <String> [-Force] [-PassThru] [-Profile <AzureProfile>]
+ Remove-AzureRmApiManagementApi -Context <PsApiManagementContext> -ApiId <String> [-Force] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -2676,20 +2998,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
If specified will write true in case operation succeeds. This parameter is optional.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Remove-AzureApiManagementApi –Context $apimContext –ApiId 0123456789
+ Remove-AzureRmApiManagementApi –Context $apimContext –ApiId 0123456789
Remove existing API.
@@ -2699,32 +3037,30 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Remove-AzureApiManagementApiFromProduct
+ Remove-AzureRmApiManagementApiFromProduct
Removes existing API from existing Product.
Removes existing API from existing Product.
-
-
+
bool
-
-
+
-
+
- Remove-AzureApiManagementApiFromProduct -Context <PsApiManagementContext> -ProductId <String> -ApiId <String> [-PassThru] [-Profile <AzureProfile>]
+ Remove-AzureRmApiManagementApiFromProduct -Context <PsApiManagementContext> -ProductId <String> -ApiId <String> [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -2759,20 +3095,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Remove-AzureApiManagementApiFromProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001 –PassThru
+ Remove-AzureRmApiManagementApiFromProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001 –PassThru
Remove existing API from an existing Product.
@@ -2782,32 +3134,30 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Remove-AzureApiManagementAuthorizationServer
+ Remove-AzureRmApiManagementAuthorizationServer
Deletes existing authorization server.
Deletes existing authorization server.
-
-
+
bool
-
-
+
-
+
- Remove-AzureApiManagementAuthorizationServer -Context <PsApiManagementContext> -ServerId <String> [-PassThru] [-Force] [-Profile <AzureProfile>]
+ Remove-AzureRmApiManagementAuthorizationServer -Context <PsApiManagementContext> -ServerId <String> [-PassThru] [-Force] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -2841,13 +3191,29 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
@@ -2864,25 +3230,23 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Remove-AzureApiManagementCertificate
+ Remove-AzureRmApiManagementCertificate
Deletes existing certificate.
Deletes existing certificate.
-
-
+
bool
-
-
+
-
+
- Remove-AzureApiManagementCertificate -Context <PsApiManagementContext> -CertificateId <String> [-PassThru] [-Force] [-Profile <AzureProfile>]
+ Remove-AzureRmApiManagementCertificate -Context <PsApiManagementContext> -CertificateId <String> [-PassThru] [-Force] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -2898,8 +3262,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
CertificateId
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of existing certificate. This parameter is required.
@@ -2923,20 +3287,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Remove-AzureApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –Force
+ Remove-AzureRmApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –Force
Delete existing certificate.
@@ -2946,25 +3326,23 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Remove-AzureApiManagementGroup
+ Remove-AzureRmApiManagementGroup
Deletes existing group.
Deletes existing group.
-
-
+
bool
-
-
+
-
+
- Remove-AzureApiManagementGroup -Context <PsApiManagementContext> -GroupId <String> [-PassThru] [-Force] [-Profile <AzureProfile>]
+ Remove-AzureRmApiManagementGroup -Context <PsApiManagementContext> -GroupId <String> [-PassThru] [-Force] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -2980,8 +3358,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
GroupId
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of existing group. This parameter is required.
@@ -3005,20 +3383,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Remove-AzureApiManagementGroup –Context $apimContext –GroupId 0123456789 –Force
+ Remove-AzureRmApiManagementGroup –Context $apimContext –GroupId 0123456789 –Force
Delete existing group.
@@ -3028,25 +3422,23 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Remove-AzureApiManagementOperation
+ Remove-AzureRmApiManagementOperation
Remove existing operation.
Remove existing operation.
-
-
+
bool
-
-
+
-
+
- Remove-AzureApiManagementOperation -Context <PsApiManagementContext> -ApiId <String> -OperationId <String> [-Force] [-PassThru] [-Profile <AzureProfile>]
+ Remove-AzureRmApiManagementOperation -Context <PsApiManagementContext> -ApiId <String> -OperationId <String> [-Force] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -3062,8 +3454,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
ApiId
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of API. This parameter is required.
@@ -3097,20 +3489,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
If specified will write true in case operation succeeds. This parameter is optional.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
-
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
Example 1
- Remove-AzureApiManagementOperation –Context $apimContext –ApiId 0123456789 –OperationId 9876543210 –Force
+ Remove-AzureRmApiManagementOperation –Context $apimContext –ApiId 0123456789 –OperationId 9876543210 –Force
Remove existing API Operation.
@@ -3120,38 +3528,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Remove-AzureApiManagementPolicy
+ Remove-AzureRmApiManagementPolicy
Removes policy from specified scope.
Removes policy from specified scope.
-
-
+
bool
-
-
+
-
-
-
-
+
+
+
+
- Remove-AzureApiManagementPolicy -Context <PsApiManagementContext> [-PassThru] [-Force] [-Profile <AzureProfile>]
- Remove-AzureApiManagementPolicy -Context <PsApiManagementContext> -ProductId <String> [-PassThru] [-Force] [-Profile <AzureProfile>]
- Remove-AzureApiManagementPolicy -Context <PsApiManagementContext> -ApiId <String> [-PassThru] [-Force] [-Profile <AzureProfile>]
- Remove-AzureApiManagementPolicy -Context <PsApiManagementContext> -ApiId <String> -OperationId <String> [-PassThru] [-Force] [-Profile <AzureProfile>]
+ Remove-AzureRmApiManagementPolicy -Context <PsApiManagementContext> [-PassThru] [-Force] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Remove-AzureRmApiManagementPolicy -Context <PsApiManagementContext> -ProductId <String> [-PassThru] [-Force] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Remove-AzureRmApiManagementPolicy -Context <PsApiManagementContext> -ApiId <String> [-PassThru] [-Force] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Remove-AzureRmApiManagementPolicy -Context <PsApiManagementContext> -ApiId <String> -OperationId <String> [-PassThru] [-Force] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -3175,15 +3581,6 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- Profile
-
- System.Management.Automation.ParameterAttribute
-
-
- In-memory profile.
-
-
ProductId
@@ -3212,29 +3609,54 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Identifier of existing operation. If specified with ApiId will remove operation-scope policy. This parameters is required.
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
Example 1
- Remove-AzureApiManagementPolicy –Context $apimContext
+ Remove-AzureRmApiManagementPolicy –Context $apimContext
Remove tenant level policy.
Example 2
- Remove-AzureApiManagementPolicy –Context $apimContext –ProductId 0123456789
+ Remove-AzureRmApiManagementPolicy –Context $apimContext –ProductId 0123456789
Remove product-scope policy.
Example 3
- Remove-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210
+ Remove-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210
Remove API-scope policy.
Example 4
- Remove-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777
+ Remove-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777
Remove operation-scope policy.
@@ -3244,32 +3666,30 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Remove-AzureApiManagementProduct
+ Remove-AzureRmApiManagementProduct
Remove existing product.
Remove existing product.
-
-
+
bool
-
-
+
-
+
- Remove-AzureApiManagementProduct -Context <PsApiManagementContext> -ProductId <String> [-DeleteSubscriptions] [-Force] [-PassThru] [-Profile <AzureProfile>]
+ Remove-AzureRmApiManagementProduct -Context <PsApiManagementContext> -ProductId <String> [-DeleteSubscriptions] [-Force] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -3278,8 +3698,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
ProductId
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of existing Product. This parameter is required.
@@ -3312,20 +3732,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
If specified will write true in case operation succeeds. This parameter is optional.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Remove-AzureApiManagementProduct –Context $apimContext –Id 0123456789 -DeleteSubscriptions –Force
+ Remove-AzureRmApiManagementProduct –Context $apimContext –Id 0123456789 -DeleteSubscriptions –Force
Remove existing Product with all subscriptions.
@@ -3335,25 +3771,23 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Remove-AzureApiManagementProductFromGroup
+ Remove-AzureRmApiManagementProductFromGroup
Removes existing product from existing group.
Removes existing product from existing group. In other words removes group assignment from product.
-
-
+
-
-
+
-
+
- Remove-AzureApiManagementProductFromGroup -Context <PsApiManagementContext> -GroupId <String> -ProductId <String> [-PassThru] [-Profile <AzureProfile>]
+ Remove-AzureRmApiManagementProductFromGroup -Context <PsApiManagementContext> -GroupId <String> -ProductId <String> [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -3369,8 +3803,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
GroupId
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of existing group. This parameter is required.
@@ -3395,20 +3829,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Remove-AzureApiManagementProductFromGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789
+ Remove-AzureRmApiManagementProductFromGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789
Remove existing product from an existing group.
@@ -3418,25 +3868,23 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Remove-AzureApiManagementSubscription
+ Remove-AzureRmApiManagementSubscription
Deletes existing subscription.
Deletes existing subscription.
-
-
+
bool
-
-
+
-
+
- Remove-AzureApiManagementSubscription -Context <PsApiManagementContext> -SubscriptionId <String> [-PassThru] [-Force] [-Profile <AzureProfile>]
+ Remove-AzureRmApiManagementSubscription -Context <PsApiManagementContext> -SubscriptionId <String> [-PassThru] [-Force] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -3452,8 +3900,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
SubscriptionId
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of existing subscription. This parameter is required.
@@ -3477,20 +3925,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Remove-AzureApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 -Force
+ Remove-AzureRmApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 -Force
Delete existing subscription.
@@ -3500,25 +3964,23 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Remove-AzureApiManagementUser
+ Remove-AzureRmApiManagementUser
Deletes existing user.
Deletes existing user.
-
-
+
bool
-
-
+
-
+
- Remove-AzureApiManagementUser -Context <PsApiManagementContext> -UserId <String> [-DeleteSubscriptions] [-PassThru] [-Force] [-Profile <AzureProfile>]
+ Remove-AzureRmApiManagementUser -Context <PsApiManagementContext> -UserId <String> [-DeleteSubscriptions] [-PassThru] [-Force] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -3534,8 +3996,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
UserId
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of existing user. This parameter is required.
@@ -3568,20 +4030,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Remove-AzureApiManagementUser –Context $apimContext –UserId 0123456789 –Force
+ Remove-AzureRmApiManagementUser –Context $apimContext –UserId 0123456789 –Force
Delete existing user.
@@ -3591,25 +4069,23 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Remove-AzureApiManagementUserFromGroup
+ Remove-AzureRmApiManagementUserFromGroup
Removes existing user from existing group.
Removes existing user from existing group.
-
-
+
-
-
+
-
+
- Remove-AzureApiManagementUserFromGroup -Context <PsApiManagementContext> -GroupId <String> -UserId <String> [-PassThru] [-Profile <AzureProfile>]
+ Remove-AzureRmApiManagementUserFromGroup -Context <PsApiManagementContext> -GroupId <String> -UserId <String> [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -3651,20 +4127,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Remove-AzureApiManagementUserFromGroup –Context $apimContext –GroupId 0001 –UserId 0123456789
+ Remove-AzureRmApiManagementUserFromGroup –Context $apimContext –GroupId 0001 –UserId 0123456789
Remove existing user from an existing group.
@@ -3674,25 +4166,23 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Set-AzureApiManagementApi
+ Set-AzureRmApiManagementApi
Set API details.
Set API details.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi
-
-
+
-
+
- Set-AzureApiManagementApi -Context <PsApiManagementContext> -ApiId <String> -Name <String> [-Description <String>] -ServiceUrl <String> [-Path <String>] -Protocols <PsApiManagementSchema[]> [-AuthorizationServerId <String>] [-AuthorizationScope <String>] [-SubscriptionKeyHeaderName <String>] [-SubscriptionKeyQueryParamName <String>] [-PassThru] [-Profile <AzureProfile>]
+ Set-AzureRmApiManagementApi -Context <PsApiManagementContext> -ApiId <String> -Name <String> [-Description <String>] -ServiceUrl <String> [-Path <String>] -Protocols <PsApiManagementSchema[]> [-AuthorizationServerId <String>] [-AuthorizationScope <String>] [-SubscriptionKeyHeaderName <String>] [-SubscriptionKeyQueryParamName <String>] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -3708,8 +4198,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
ApiId
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of existing API. This parameter is required.
@@ -3718,8 +4208,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Name
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required.
@@ -3737,8 +4227,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
ServiceUrl
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required.
@@ -3808,20 +4298,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi type representing the set API.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Set-AzureApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('https') –Description 'Responds with what was sent' –Path 'echo'
+ Set-AzureRmApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('https') –Description 'Responds with what was sent' –Path 'echo'
@@ -3831,32 +4337,30 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Set-AzureApiManagementAuthorizationServer
+ Set-AzureRmApiManagementAuthorizationServer
Sets authorization server details.
Sets authorization server details.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer
-
-
+
-
+
- Set-AzureApiManagementAuthorizationServer -Context <PsApiManagementContext> -ServerId <String> -Name <String> [-Description <String>] -ClientRegistrationPageUrl <String> -AuthorizationEndpointUrl <String> -TokenEndpointUrl <String> -ClientId <String> [-ClientSecret <String>] [-AuthorizationRequestMethods <PsApiManagementAuthorizationRequestMethod[]>] -GrantTypes <PsApiManagementGrantType[]> -ClientAuthenticationMethods <PsApiManagementClientAuthenticationMethod[]> [-TokenBodyParameters <Hashtable>] [-SupportState <Nullable`1[Boolean]>] [-DefaultScope <String>] -AccessTokenSendingMethods <PsApiManagementAccessTokenSendingMethod[]> [-ResourceOwnerUsername <String>] [-ResourceOwnerPassword <String>] [-PassThru] [-Profile <AzureProfile>]
+ Set-AzureRmApiManagementAuthorizationServer -Context <PsApiManagementContext> -ServerId <String> -Name <String> [-Description <String>] -ClientRegistrationPageUrl <String> -AuthorizationEndpointUrl <String> -TokenEndpointUrl <String> -ClientId <String> [-ClientSecret <String>] [-AuthorizationRequestMethods <PsApiManagementAuthorizationRequestMethod[]>] -GrantTypes <PsApiManagementGrantType[]> -ClientAuthenticationMethods <PsApiManagementClientAuthenticationMethod[]> [-TokenBodyParameters <Hashtable>] [-SupportState <Nullable`1[Boolean]>] [-DefaultScope <String>] -AccessTokenSendingMethods <PsApiManagementAccessTokenSendingMethod[]> [-ResourceOwnerUsername <String>] [-ResourceOwnerPassword <String>] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -3865,8 +4369,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
ServerId
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of existing authorization server. This parameter is required.
@@ -3875,8 +4379,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Name
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Name of new authorization server. This parameter is required.
@@ -3962,8 +4466,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
ClientAuthenticationMethods
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Supported client authentication methods (Basic, Body). This parameter is required.
@@ -3999,8 +4503,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
AccessTokenSendingMethods
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required.
@@ -4033,20 +4537,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
If specified will write Instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer type . This parameter is optional.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Set-AzureApiManagementAuthrizarionServer –Context $apimContext –ServerId 0123456789 –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signupv2' -AthorizationEndpointUrl 'https://contoso/authv2' -TokenEndpointUrl 'https://contoso/tokenv2' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'} –AccessTokenSendingMethods @('AuthorizationHeader')
+ Set-AzureRmApiManagementAuthrizarionServer –Context $apimContext –ServerId 0123456789 –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signupv2' -AthorizationEndpointUrl 'https://contoso/authv2' -TokenEndpointUrl 'https://contoso/tokenv2' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'} –AccessTokenSendingMethods @('AuthorizationHeader')
Set authorization server details.
@@ -4056,34 +4576,32 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Set-AzureApiManagementCertificate
+ Set-AzureRmApiManagementCertificate
Sets certificate data.
Sets certificate data.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate
-
-
+
-
-
+
+
- Set-AzureApiManagementCertificate -Context <PsApiManagementContext> -CertificateId <String> -PfxFilePath <String> -PfxPassword <String> [-PassThru] [-Profile <AzureProfile>]
- Set-AzureApiManagementCertificate -Context <PsApiManagementContext> -CertificateId <String> -PfxBytes <Byte[]> -PfxPassword <String> [-PassThru] [-Profile <AzureProfile>]
+ Set-AzureRmApiManagementCertificate -Context <PsApiManagementContext> -CertificateId <String> -PfxFilePath <String> -PfxPassword <String> [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Set-AzureRmApiManagementCertificate -Context <PsApiManagementContext> -CertificateId <String> -PfxBytes <Byte[]> -PfxPassword <String> [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -4111,8 +4629,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
PfxPassword
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Password for the certificate. This parameter is required.
@@ -4127,29 +4645,45 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate type representing the modified group.
-
- Profile
+
+ PfxBytes
System.Management.Automation.ParameterAttribute
- In-memory profile.
+ Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified.
-
- PfxBytes
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Set-AzureApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –PfxFilePath 'C:\contoso\certificates\apimanagementnew.pfx' –PfxPassword 2222
+ Set-AzureRmApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –PfxFilePath 'C:\contoso\certificates\apimanagementnew.pfx' –PfxPassword 2222
Set certificate.
@@ -4159,25 +4693,23 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Set-AzureApiManagementGroup
+ Set-AzureRmApiManagementGroup
Sets existing group details.
Sets existing group details.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup
-
-
+
-
+
- Set-AzureApiManagementGroup -Context <PsApiManagementContext> -GroupId <String> [-Name <String>] [-Description <String>] [-PassThru] [-Profile <AzureProfile>]
+ Set-AzureRmApiManagementGroup -Context <PsApiManagementContext> -GroupId <String> [-Name <String>] [-Description <String>] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -4227,20 +4759,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup type representing the modified group.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- New-AzureApiManagementGroup –Context $apimContext –Name 'Best devs'
+ New-AzureRmApiManagementGroup –Context $apimContext –Name 'Best devs'
Create new group.
@@ -4250,25 +4798,23 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Set-AzureApiManagementOperation
+ Set-AzureRmApiManagementOperation
Set API Operation details.
Set API Operation details.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation
-
-
+
-
+
- Set-AzureApiManagementOperation -Context <PsApiManagementContext> -ApiId <String> -OperationId <String> -Name <String> -Method <String> -UrlTemplate <String> [-Description <String>] [-TemplateParameters <PsApiManagementParameter[]>] [-Request <PsApiManagementRequest>] [-Responses <PsApiManagementResponse[]>] [-PassThru] [-Profile <AzureProfile>]
+ Set-AzureRmApiManagementOperation -Context <PsApiManagementContext> -ApiId <String> -OperationId <String> -Name <String> -Method <String> -UrlTemplate <String> [-Description <String>] [-TemplateParameters <PsApiManagementParameter[]>] [-Request <PsApiManagementRequest>] [-Responses <PsApiManagementResponse[]>] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -4376,20 +4922,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation type representing the modified operation.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId $operationId –Name 'Get resource' –Method GET –UrlTemplate '/newresource' –Description 'Use this operation to get newresource'
+ New-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId $operationId –Name 'Get resource' –Method GET –UrlTemplate '/newresource' –Description 'Use this operation to get newresource'
Set operation details.
@@ -4399,31 +4961,29 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Set-AzureApiManagementPolicy
+ Set-AzureRmApiManagementPolicy
Set specified scope policy.
Set specified scope policy.
-
-
+
bool
-
-
+
-
-
-
-
+
+
+
+
- Set-AzureApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] [-Policy <String>] [-PolicyFilePath <String>] [-PassThru] [-Profile <AzureProfile>]
- Set-AzureApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] -ProductId <String> [-Policy <String>] [-PolicyFilePath <String>] [-PassThru] [-Profile <AzureProfile>]
- Set-AzureApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] -ApiId <String> [-Policy <String>] [-PolicyFilePath <String>] [-PassThru] [-Profile <AzureProfile>]
- Set-AzureApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] -ApiId <String> -OperationId <String> [-Policy <String>] [-PolicyFilePath <String>] [-PassThru] [-Profile <AzureProfile>]
+ Set-AzureRmApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] [-Policy <String>] [-PolicyFilePath <String>] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Set-AzureRmApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] -ProductId <String> [-Policy <String>] [-PolicyFilePath <String>] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Set-AzureRmApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] -ApiId <String> [-Policy <String>] [-PolicyFilePath <String>] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Set-AzureRmApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] -ApiId <String> -OperationId <String> [-Policy <String>] [-PolicyFilePath <String>] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -4472,15 +5032,6 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- Profile
-
- System.Management.Automation.ParameterAttribute
-
-
- In-memory profile.
-
-
ProductId
@@ -4509,29 +5060,54 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Identifier of existing operation. If specified with ApiId will set operation-scope policy. This parameters is required.
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
Example 1
- Set-AzureApiManagementPolicy –Context $apimContext –PolicyFilePath 'C:\contoso\policies\tenantpolicy.xml'
+ Set-AzureRmApiManagementPolicy –Context $apimContext –PolicyFilePath 'C:\contoso\policies\tenantpolicy.xml'
Set tenant level policy from file named tenantpolicy.xml.
Example 2
- Set-AzureApiManagementPolicy –Context $apimContext –ProductId 0123456789 –Policy $policystring
+ Set-AzureRmApiManagementPolicy –Context $apimContext –ProductId 0123456789 –Policy $policystring
Set product-scope policy.
Example 3
- Get-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210 –Policy $policystring
+ Get-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –Policy $policystring
Set API-scope policy.
Example 4
- Set-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 –Policy $policystring
+ Set-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 –Policy $policystring
Set operation-scope policy.
@@ -4541,32 +5117,30 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Set-AzureApiManagementProduct
+ Set-AzureRmApiManagementProduct
Sets Product details.
Sets Product details.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct
-
-
+
-
+
- Set-AzureApiManagementProduct -Context <PsApiManagementContext> -ProductId <String> [-Title <String>] [-Description <String>] [-LegalTerms <String>] [-SubscriptionRequired <Nullable`1[Boolean]>] [-ApprovalRequired <Nullable`1[Boolean]>] [-SubscriptionsLimit <Nullable`1[Int32]>] [-SubscriptionPeriod <String>] [-NotificationPeriod <String>] [-State <Nullable`1[PsApiManagementProductState]>] [-PassThru] [-Profile <AzureProfile>]
+ Set-AzureRmApiManagementProduct -Context <PsApiManagementContext> -ProductId <String> [-Title <String>] [-Description <String>] [-LegalTerms <String>] [-SubscriptionRequired <Nullable`1[Boolean]>] [-ApprovalRequired <Nullable`1[Boolean]>] [-SubscriptionsLimit <Nullable`1[Int32]>] [-State <Nullable`1[PsApiManagementProductState]>] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -4636,24 +5210,6 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1.
-
- SubscriptionPeriod
-
- System.Management.Automation.ParameterAttribute
-
-
- The period user subscriptions stays active once approved. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year).
-
-
-
- NotificationPeriod
-
- System.Management.Automation.ParameterAttribute
-
-
- Specifies upcoming subscription expiration notification period. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year).
-
-
State
@@ -4672,20 +5228,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct type representing the modified product.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Set-AzureApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $true –State 'NotPublished'
+ Set-AzureRmApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $true –State 'NotPublished'
Update product details: require subscription, unpublish.
@@ -4695,32 +5267,30 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Set-AzureApiManagementSubscription
+ Set-AzureRmApiManagementSubscription
Sets existing subscription details.
Sets existing subscription details.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscripition
-
-
+
-
+
- Set-AzureApiManagementSubscription -Context <PsApiManagementContext> -SubscriptionId <String> [-Name <String>] [-PrimaryKey <String>] [-SecondaryKey <String>] [-State <Nullable`1[PsApiManagementSubscriptionState]>] [-ExpiresOn <Nullable`1[DateTime]>] [-StateComment <String>] [-PassThru] [-Profile <AzureProfile>]
+ Set-AzureRmApiManagementSubscription -Context <PsApiManagementContext> -SubscriptionId <String> [-Name <String>] [-PrimaryKey <String>] [-SecondaryKey <String>] [-State <Nullable`1[PsApiManagementSubscriptionState]>] [-ExpiresOn <Nullable`1[DateTime]>] [-StateComment <String>] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Context
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Instance of PsApiManagementContext. This parameter is required.
@@ -4729,8 +5299,8 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
SubscriptionId
- System.Management.Automation.ValidateNotNullOrEmptyAttribute
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
Identifier of existing subscription. This parameter is required.
@@ -4799,20 +5369,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscripition type representing the modified subscription.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Set-AzureApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 –PrimaryKey '80450f7d0b6d481382113073f67822c1' –SencondaryKey '97d6112c3a8f48d5bf0266b7a09a761c' –State 'Active'
+ Set-AzureRmApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 –PrimaryKey '80450f7d0b6d481382113073f67822c1' –SencondaryKey '97d6112c3a8f48d5bf0266b7a09a761c' –State 'Active'
Set subscription primary, secondary key and activate.
@@ -4822,25 +5408,23 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
- Set-AzureApiManagementUser
+ Set-AzureRmApiManagementUser
Sets user details.
Sets user details.
-
-
+
Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser
-
-
+
-
+
- Set-AzureApiManagementUser -Context <PsApiManagementContext> -UserId <String> [-FirstName <String>] [-LastName <String>] [-Email <String>] [-Password <String>] [-State <PsApiManagementUserState>] [-Note <String>] [-PassThru] [-Profile <AzureProfile>]
+ Set-AzureRmApiManagementUser -Context <PsApiManagementContext> -UserId <String> [-FirstName <String>] [-LastName <String>] [-Email <String>] [-Password <String>] [-State <PsApiManagementUserState>] [-Note <String>] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
@@ -4926,20 +5510,36 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser type representing the modified user.
-
- Profile
+
+ InformationAction
System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
-
- In-memory profile.
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
Example 1
- Set-AzureApiManagementUser –Context $apimContext -UserId 0123456789 –Email 'ivanov.ivan@contoso.com' –Password 'asdfgh' –State 'Blocked'
+ Set-AzureRmApiManagementUser –Context $apimContext -UserId 0123456789 –Email 'ivanov.ivan@contoso.com' –Password 'asdfgh' –State 'Blocked'
Set new user password and email and block the user.
@@ -4948,5 +5548,1777 @@ New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –Opera
false
+
+ Get-AzureRmApiManagementLogger
+
+ Gets the details of the Logger.
+ Gets the details of the Logger.
+
+
+
+
+ IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger.PsApiManagementLogger
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementLogger -Context <PsApiManagementContext> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementLogger -Context <PsApiManagementContext> [-LoggerId <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+ LoggerId
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Identifier of a logger. If specified will try to find logger by the identifier. This parameter is optional.
+
+
+
+
+
+ Example 1
+ Get-AzureRmApiManagementLogger –Context $apimContext
+ Gets a List of all the Loggers.
+
+
+
+ Example 2
+ Get-AzureRmApiManagementLogger -Context $apimContext -LoggerId 123
+ Gets a Logger by LoggerId.
+
+
+
+
+
+ false
+
+
+ Get-AzureRmApiManagementProperty
+
+ Gets the details of the Property.
+ Gets the details of the Property.
+
+
+
+
+ IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProperty>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger.PsApiManagementProperty
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementProperty -Context <PsApiManagementContext> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementProperty -Context <PsApiManagementContext> [-PropertyId <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementProperty -Context <PsApiManagementContext> [-Name <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementProperty -Context <PsApiManagementContext> [-Tag <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+ PropertyId
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Identifier of a property. If specified will try to find property by the identifier. This parameter is optional.
+
+
+
+ Name
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Finds Properties with names containing the string Name. This parameter is optional.
+
+
+
+ Tag
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Finds Properties associated with a Tag. If specified will return all properties associated with a tag. This parameter is optional.
+
+
+
+
+
+ Example 1
+ Get-AzureRmApiManagementProperty -Context $apimContext
+ Get all Properties.
+
+
+
+ Example 2
+ Get-AzureRmApiManagementProperty -Context $apimContext -Name 'onesdk'
+ Gets all Properties with Names containing 'onesdk'
+
+
+
+ Example 3
+ Get-AzureRmApiManagementProperty -Context $apimContext -Tag 'sdk'
+ Gets all Properties associated with Tag 'sdk'
+
+
+
+ Example 4
+ Get-AzureRmApiManagementProperty -Context $apimContext -PropertyId $propertyId
+ Gets the Property associated to the PropertyId.
+
+
+
+
+
+ false
+
+
+ New-AzureRmApiManagementLogger
+
+ Creates a new Logger.
+ Creates a new Logger.
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger
+
+
+
+
+
+
+
+ New-AzureRmApiManagementLogger -Context <PsApiManagementContext> [-LoggerId <String>] -Name <String> -ConnectionString <String> [-Description <String>] [-IsBuffered <Nullable`1[Boolean]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ LoggerId
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Identifier of new logger. This parameter is optional. If not specified will be generated.
+
+
+
+ Description
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Logger description. This parameter is optional.
+
+
+
+ IsBuffered
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Determines whether the records in the logger are buffered before publishing. This property is optional and the default value is true for higher throughput. When records are buffered, they are sent to the Event hub every 15 seconds, or whenever the buffer receives 256kb of messages
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+ Name
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Event hub entity name from Azure classic portal. This parameter is required.
+
+
+
+ ConnectionString
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ EventHub Connection String starting with "Endpoint=endpoint and key from Azure classic portal". The connection string should have Key with Send Rights configured. This parameter is required.
+
+
+
+
+
+ Example 1
+ New-AzureRmApiManagementLogger -Context $apimContext -LoggerId 123 -Name sdkeventhub -ConnectionString "Endpoint=sb://sdkeventhubNamespace.servicebus.windows.net/;SharedAccessKeyName=SendKey;SharedAccessKey=<key>" -Description "sdk eventhub logger"
+ Creates a new Logger.
+
+
+
+
+
+ false
+
+
+ New-AzureRmApiManagementProperty
+
+ Creates a new Property.
+ Creates a new Property.
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProperty
+
+
+
+
+
+
+
+ New-AzureRmApiManagementProperty -Context <PsApiManagementContext> [-PropertyId <String>] -Name <String> -Value <String> [-Secret] [-Tags <String[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ PropertyId
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Identifier of new property. This parameter is optional. If not specified will be generated. Maximum length is 256 characters.
+
+
+
+ Name
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Name of the property. Maximum length is 100 characters. It may contain only letters, digits, period, dash, and underscore characters. This parameter is required.
+
+
+
+ Value
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Value of the property. Can contain policy expressions. Maximum length is 1000 characters. It may not be empty or consist only of whitespace. This parameter is required.
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+ Secret
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Determines whether the value is a secret and should be encrypted or not. This parameter is optional. Default Value is not Secret.
+
+
+
+ Tags
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Tags to be associated with Property. This parameter is optional.
+
+
+
+
+
+ Example 1
+ $tags = 'sdk', 'powershell'
+New-AzureRmApiManagementProperty -Context $apimContext -PropertyId 123 -Name propertyName -Value propertyValue -Tags $tags
+ Creates a Property with Two Tags associated to it.
+
+
+
+ Example 2
+ New-AzureRmApiManagementProperty -Context $apimContext -PropertyId 345 -Name secretProperty -Value secretPropertyValue -Secret
+ Creates a Property whose value is Encrypted.
+
+
+
+
+
+ false
+
+
+ Remove-AzureRmApiManagementLogger
+
+ Deletes existing Logger.
+ Deletes existing Logger.
+
+
+
+
+ bool
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementLogger -Context <PsApiManagementContext> -LoggerId <String> [-PassThru] [-Force] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ LoggerId
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Identifier of existing logger. This parameter is required.
+
+
+
+ PassThru
+
+ System.Management.Automation.ParameterAttribute
+
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+
+
+ Force
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+
+
+ Example 1
+ Remove-AzureRmApiManagementLogger -Context $apimContext -LoggerId 123 -Force
+ Removes Logger.
+
+
+
+
+
+ false
+
+
+ Remove-AzureRmApiManagementProperty
+
+ Removes a Property.
+ Removes a Property.
+
+
+
+
+ bool
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementProperty -Context <PsApiManagementContext> -PropertyId <String> [-PassThru] [-Force] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ PropertyId
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Identifier of existing property. This parameter is required.
+
+
+
+ PassThru
+
+ System.Management.Automation.ParameterAttribute
+
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+
+
+ Force
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+
+
+ Example 1
+ Remove-AzureRmApiManagementProperty -Context $apimContext -PropertyId 123 -PassThru
+ Removes a property.
+
+
+
+
+
+ false
+
+
+ Set-AzureRmApiManagementLogger
+
+ Set Logger details.
+ Set Logger details.
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementLogger -Context <PsApiManagementContext> -LoggerId <String> [-Name <String>] [-ConnectionString <String>] [-Description <String>] [-IsBuffered] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ LoggerId
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Identifier of logger to update. This parameter is mandatory.
+
+
+
+ Name
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Event hub name from Azure classic portal. This parameter is optional.
+
+
+
+ ConnectionString
+
+ System.Management.Automation.ParameterAttribute
+
+
+ EventHub Connection String with Send Policy Rights. This parameter is optional.
+
+
+
+ IsBuffered
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Determines whether the records in the logger are buffered before publishing. This property is optional and the default value is true.
+
+
+
+ Description
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Description of the Logger. This parameter is optional.
+
+
+
+ PassThru
+
+ System.Management.Automation.ParameterAttribute
+
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger type representing the modified logger.
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+
+
+ Example 1
+ Set-AzureRmApiManagementLogger -Context $apimContext -LoggerId 123 -Name sdkeventhub -ConnectionString "Endpoint=sb://sdkeventhubNamespace.servicebus.windows.net/;SharedAccessKeyName=SendKey;SharedAccessKey=<key>" -Description "updated sdk eventhub logger" -PassThru
+
+
+
+
+
+
+ false
+
+
+ Set-AzureRmApiManagementProperty
+
+ Set Property details.
+ Set Property details.
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProperty
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementProperty -Context <PsApiManagementContext> -PropertyId <String> [-Name <String>] [-Value <String>] [-Secret <Nullable`1[Boolean]>] [-Tags <String[]>] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ PropertyId
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Identifier of property to update. This parameter is mandatory.
+
+
+
+ Name
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Name of the property. Maximum length is 100 characters. It may contain only letters, digits, period, dash, and underscore characters. This parameter is optional
+
+
+
+ Value
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Value of the property. Can contain policy expressions. Maximum length is 1000 characters. It may not be empty or consist only of whitespace. This parameter is optional.
+
+
+
+ Secret
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Determines whether the value is a secret and should be encrypted or not. This parameters is optional.
+
+
+
+ Tags
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Optional tags that when provided can be used to filter the property list.
+
+
+
+ PassThru
+
+ System.Management.Automation.ParameterAttribute
+
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProperty type representing the modified property.
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+
+
+ Example 1
+ $tags = 'sdk', 'powershell'
+Set-AzureRmApiManagementProperty -Context $apimContext -PropertyId 123 -Tags $tags -PassThru
+ Sets tags on an Existing Property
+
+
+
+ Example 2
+ Set-AzureRmApiManagementProperty -Context $apimContext -PropertyId 123 -Secret $true -PassThru
+ Sets the Property Value to be Encrypted.
+
+
+
+
+
+ false
+
+
+ Get-AzureRmApiManagementOpenIdConnectProvider
+
+ Gets the details of the OpenID Connect Provider.
+ Gets the details of the OpenID Connect Provider.
+
+
+
+
+ IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOpenIdConnectProvider>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger.PsApiManagementOpenIdConnectProvider
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementOpenIdConnectProvider -Context <PsApiManagementContext> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementOpenIdConnectProvider -Context <PsApiManagementContext> [-OpenIdConnectProviderId <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+ Get-AzureRmApiManagementOpenIdConnectProvider -Context <PsApiManagementContext> [-Name <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+ OpenIdConnectProviderId
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Identifier of a OpenID Connect Provider. If specified will try to find openId Connect Provider by the identifier. This parameter is optional.
+
+
+
+ Name
+
+ System.Management.Automation.ParameterAttribute
+
+
+ OpenID Connect Provider friendly name. If specified will try to find openID Connect Provider by the name. This parameter is optional.
+
+
+
+
+
+ Example 1
+ Get-AzureRmApiManagementOpenIdConnectProvider -Context $apimContext
+ Gets details of all OpenID Connect Providers.
+
+
+
+ Example 2
+ Get-AzureRmApiManagementOpenIdConnectProvider -Context $apimContext -OpenIdConnectProviderId $openIdConnectProviderId
+ Gets the details of the OpenID connect Provider by Identifier
+
+
+
+ Example 3
+ Get-AzureRmApiManagementOpenIdConnectProvider -Context $apimContext -Name $openIdConnectProviderName
+ Gets the OpenID Connect Provider by Friendly Name.
+
+
+
+
+
+ false
+
+
+ New-AzureRmApiManagementOpenIdConnectProvider
+
+ Creates a new OpenID connect Provider.
+ Creates a new OpenID connect Provider.
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOpenIdConnectProvider
+
+
+
+
+
+
+
+ New-AzureRmApiManagementOpenIdConnectProvider -Context <PsApiManagementContext> [-OpenIdConnectProviderId <String>] -Name <String> -MetadataEndpointUri <String> -ClientId <String> [-ClientSecret <String>] [-Description <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ OpenIdConnectProviderId
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Identifier of new openIdConnectProvider. This parameter is optional. If not specified will be generated.
+
+
+
+ Name
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ OpenId Connect Provider User friendly name. This parameter is required.
+
+
+
+ MetadataEndpointUri
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Metadata Endpoint URI of the OpenID Connect Provider. This parameter is required.
+
+
+
+ ClientId
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ ClientID of the developer console . This parameter is required.
+
+
+
+ ClientSecret
+
+ System.Management.Automation.ParameterAttribute
+
+
+ ClientSecret of the developer Console. This parameter is optional.
+
+
+
+ Description
+
+ System.Management.Automation.ParameterAttribute
+
+
+ OpenId Connect Provider user friendly description. This parameter is optional.
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+
+
+ Example 1
+ New-AzureRmApiManagementOpenIdConnectProvider -Context $apimContext -OpenIdConnectProviderId 123 -Name openIdConnectProviderName -MetadataEndpointUri https://openid.provider/configuration -ClientId 12432143 -Description openIdConnectProviderDescription
+
+
+
+
+
+
+ false
+
+
+ Remove-AzureRmApiManagementOpenIdConnectProvider
+
+ Removes a OpenID Connect Provider.
+ Removes a OpenID Connect Provider.
+
+
+
+
+ bool
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementOpenIdConnectProvider -Context <PsApiManagementContext> -OpenIdConnectProviderId <String> [-PassThru] [-Force] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ OpenIdConnectProviderId
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Identifier of existing OpenID Connect Provider. This parameter is required.
+
+
+
+ PassThru
+
+ System.Management.Automation.ParameterAttribute
+
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+
+
+ Force
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+
+
+ Example 1
+ Remove-AzureRmApiManagementOpenIdConnectProvider -Context $apimContext -OpenIdConnectProviderId 123 -PassThru
+ Removes an OpenID Connect Provider by ID.
+
+
+
+
+
+ false
+
+
+ Set-AzureRmApiManagementOpenIdConnectProvider
+
+ Sets the OpenID Connect Provider.
+ Sets the OpenID Connect Provider.
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOpenIdConnectProvider
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementOpenIdConnectProvider -Context <PsApiManagementContext> -OpenIdConnectProviderId <String> [-Name <String>] [-MetadataEndpointUri <String>] [-ClientId <String>] [-ClientSecret <String>] [-Description <String>] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ OpenIdConnectProviderId
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Identifier of OpenID Connect Provider to update. This parameter is mandatory.
+
+
+
+ Name
+
+ System.Management.Automation.ParameterAttribute
+
+
+ OpenId Connect Provider User friendly name. This parameter is optional.
+
+
+
+ MetadataEndpointUri
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Metadata Endpoint URI of the OpenID Connect Provider. This parameter is optional.
+
+
+
+ ClientId
+
+ System.Management.Automation.ParameterAttribute
+
+
+ ClientID of the developer console. This parameter is optional.
+
+
+
+ ClientSecret
+
+ System.Management.Automation.ParameterAttribute
+
+
+ ClientSecret of the developer Console. This parameter is optional.
+
+
+
+ Description
+
+ System.Management.Automation.ParameterAttribute
+
+
+ OpenId Connect Provider user friendly description. This parameter is optional.
+
+
+
+ PassThru
+
+ System.Management.Automation.ParameterAttribute
+
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOpenIdConnectProvider type representing the modified
+OpenId Connect Provider.
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+
+
+ Example 1
+ Set-AzureRmApiManagementOpenIdConnectProvider -Context $apimContext -OpenIdConnectProviderId 123 -ClientSecret q2w3e43r45 -PassThru
+ Update the Client Secret of the OpenID Connect Provider.
+
+
+
+
+
+ false
+
+
+ Get-AzureRmApiManagementTenantGitAccess
+
+ Gets the Git access configuration for the Tenant.
+ Gets the Git access configuration for the Tenant.
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementAccessInformation
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementTenantGitAccess -Context <PsApiManagementContext> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+
+
+ Example 1
+ Get-AzureRmApiManagementTenantGitAccess -Context $apimContext
+ Gets the Git access configuration of the Tenant.
+
+
+
+
+
+ false
+
+
+ Get-AzureRmApiManagementTenantSyncState
+
+ Gets the status of the most recent synchronization between the configuration database and the Git repository.
+ Gets the status of the most recent synchronization between the configuration database and the Git repository.
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementAccessInformation
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementTenantSyncState -Context <PsApiManagementContext> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+
+
+ Example 1
+ Get-AzureRmApiManagementTenantSyncState -Context $apimContext
+ Gets the status of the most recent synchronization between the configuration database and the Git repository.
+
+
+
+
+
+ false
+
+
+ Publish-AzureRmApiManagementTenantGitConfiguration
+
+ Publishes the changes from the specified Git branch to the configuration database.
+ Publishes the changes from the specified Git branch to the configuration database. The commandlet also has an option to just validate the changes in the specified Git branch against the configuration database.
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperationResult
+
+
+
+
+
+
+
+ Publish-AzureRmApiManagementTenantGitConfiguration -Context <PsApiManagementContext> -Branch <String> [-Force] [-ValidateOnly] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ Branch
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Name of the Git branch from which the configuration is to be deployed to the configuration database. This parameter is required.
+
+
+
+ Force
+
+ System.Management.Automation.ParameterAttribute
+
+
+ Enforce deleting subscriptions to products that are deleted in this update. This parameter is optional. Default value is false.
+
+
+
+ ValidateOnly
+
+ System.Management.Automation.ParameterAttribute
+
+
+ If specified will only validate the changes in the specified git Branch and not publish to the configuration database. This parameter is optional. Default value is false.
+
+
+
+ PassThru
+
+ System.Management.Automation.ParameterAttribute
+
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperationResult type representing the operation result.
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+
+
+ Deploy Git changes
+ Publish-AzureRmApiManagementTenantGitConfiguration -Context $context -Branch 'master' -PassThru
+ Publishes the changes from the specified branch to the configuration database.
+
+
+
+ Validate Git changes
+ Publish-AzureRmApiManagementTenantGitConfiguration -Context $apimContext -Branch 'master' -ValidateOnly -PassThru
+ Validates the changes in the Git branch against the configuration database. Does not deploy.
+
+
+
+
+
+ false
+
+
+ Save-AzureRmApiManagementTenantGitConfiguration
+
+ Saves the changes by creating a commit with the current configuration snapshot to the specified branch in the repository.
+ Saves the changes by creating a commit with the current configuration snapshot to the specified branch in the repository.
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperationResult
+
+
+
+
+
+
+
+ Save-AzureRmApiManagementTenantGitConfiguration -Context <PsApiManagementContext> -Branch <String> [-Force] [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ Branch
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Name of the Git branch in which to commit the current configuration snapshot. This parameter is required.
+
+
+
+ Force
+
+ System.Management.Automation.ParameterAttribute
+
+
+ If true, the current configuration database is committed to the Git repository, even if the Git repository has newer changes that would be overwritten. This parameter is optional. Default value is false.
+
+
+
+ PassThru
+
+ System.Management.Automation.ParameterAttribute
+
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperationResult type representing the operation result.
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+
+
+ Example 1
+ Save-AzureRmApiManagementTenantGitConfiguration -Context $apimContext -Branch 'master' -PassThru
+ Save the changes by creating a commit with the current configuration snapshot to the specified branch in the repository.
+
+
+
+
+
+ false
+
+
+ Set-AzureRmApiManagementTenantGitAccess
+
+ Sets the Git access configuration of the Tenant.
+ Sets the Git access configuration of the Tenant.
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementAccessInformation
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementTenantGitAccess -Context <PsApiManagementContext> -Enabled <Boolean> [-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
+
+
+
+ Context
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+
+
+ Enabled
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.ValidateNotNullOrEmptyAttribute
+
+
+ Enable Git access. Set to true for enabling and false for disabling. This parameter is required.
+
+
+
+ PassThru
+
+ System.Management.Automation.ParameterAttribute
+
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementAccessInformation type is returned.
+
+
+
+ InformationAction
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+
+
+ infa
+
+
+
+
+
+ InformationVariable
+
+ System.Management.Automation.ParameterAttribute
+ System.Management.Automation.AliasAttribute
+ System.Management.Automation.Internal.CommonParameters+ValidateVariableName
+
+
+ iv
+
+
+
+
+
+
+
+ Example 1
+ Set-AzureRmApiManagementTenantGitAccess -Context $apimContext -Enabled $true
+ Sets the Git access configuration to True.
+
+
+
+
+
+ false
+
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.psd1 b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.psd1
index 9798b213fba8..331096e4e1c7 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.psd1
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\ApiManagement\Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll'
+NestedModules = '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.ApiManagement\Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml
index 16c169f3dc12..0e2e15ecdff7 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml
@@ -1,12133 +1,16234 @@
-
-
-
-
-
- Add-AzureRmApiManagementApiToProduct
-
- Adds existing API to existing Product.
-
-
-
-
- Add
- AzureApiManagementApiToProduct
-
-
-
- Adds existing API to existing Product.
-
-
-
- Add-AzureRmApiManagementApiToProduct
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ProductId
-
- Identifier of existing Product to add API to. This parameter is required.
-
- String
-
-
- ApiId
-
- Identifier of existing APIs to be added to the product. This parameter is required.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ProductId
-
- Identifier of existing Product to add API to. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- ApiId
-
- Identifier of existing APIs to be added to the product. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bool
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Add-AzureRmApiManagementApiToProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001
-
- Add existing API to an existing Product.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Add-AzureRmApiManagementProductToGroup
-
- Adds existing product to existing group. In other words assigns a group to a product.
-
-
-
-
- Add
- AzureApiManagementProductToGroup
-
-
-
- Adds existing product to existing group. In other words assigns a group to a product.
-
-
-
- Add-AzureRmApiManagementProductToGroup
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- GroupId
-
- Identifier of existing group. This parameter is required.
-
- String
-
-
- ProductId
-
- Identifier of existing product. This parameter is required.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- GroupId
-
- Identifier of existing group. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- ProductId
-
- Identifier of existing product. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bool
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Add-AzureRmApiManagementProductToGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789
-
- Add existing product to an existing group.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Add-AzureRmApiManagementUserToGroup
-
- Adds existing user to existing group.
-
-
-
-
- Add
- AzureApiManagementUserToGroup
-
-
-
- Adds existing user to existing group.
-
-
-
- Add-AzureRmApiManagementUserToGroup
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- GroupId
-
- Identifier of existing group. This parameter is required.
-
- String
-
-
- UserId
-
- Identifier of existing user. This parameter is required.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- GroupId
-
- Identifier of existing group. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- UserId
-
- Identifier of existing user. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bool
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Add-AzureRmApiManagementUserToGroup –Context $apimContext –GroupId 0001 –UserId 0123456789
-
- Add existing user to an existing group.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Export-AzureRmApiManagementApi
-
- Export API to file in one of the supported formats.
-
-
-
-
- Export
- AzureApiManagementApi
-
-
-
- Export API to file in one of the supported formats.
-
-
-
- Export-AzureRmApiManagementApi
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ApiId
-
- Identifier of exporting API. This parameter is required.
-
- String
-
-
- SpecificationFormat
-
- Specification format (Wadl or Swagger). This parameter is required.
-
- PsApiManagementApiFormat
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Export-AzureRmApiManagementApi
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ApiId
-
- Identifier of exporting API. This parameter is required.
-
- String
-
-
- SpecificationFormat
-
- Specification format (Wadl or Swagger). This parameter is required.
-
- PsApiManagementApiFormat
-
-
- SaveAs
-
- File path where to save the exporting specification to. This parameter is required.
-
- String
-
-
- Force
-
- If specified will override the file if it exists. This parameter is optional.
-
- SwitchParameter
-
-
- PassThru
-
- If specified will write true/false if api exported successfully/failed. This parameter is optional.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ApiId
-
- Identifier of exporting API. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- SpecificationFormat
-
- Specification format (Wadl or Swagger). This parameter is required.
-
- PsApiManagementApiFormat
-
- PsApiManagementApiFormat
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
- SaveAs
-
- File path where to save the exporting specification to. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Force
-
- If specified will override the file if it exists. This parameter is optional.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- PassThru
-
- If specified will write true/false if api exported successfully/failed. This parameter is optional.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- string
-
-
-
-
-
-
+
+
+
+
+ Add-AzureRmApiManagementApiToProduct
+
+ Adds existing API to existing Product.
+
+
+
+
+ Add
+ AzureApiManagementApiToProduct
+
+
+
+ Adds existing API to existing Product.
+
+
+
+ Add-AzureRmApiManagementApiToProduct
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ProductId
+
+ Identifier of existing Product to add API to. This parameter is required.
+
+ String
+
+
+ ApiId
+
+ Identifier of existing APIs to be added to the product. This parameter is required.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ProductId
+
+ Identifier of existing Product to add API to. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ ApiId
+
+ Identifier of existing APIs to be added to the product. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Add-AzureRmApiManagementApiToProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001
+
+ Add existing API to an existing Product.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Add-AzureRmApiManagementProductToGroup
+
+ Adds existing product to existing group. In other words assigns a group to a product.
+
+
+
+
+ Add
+ AzureApiManagementProductToGroup
+
+
+
+ Adds existing product to existing group. In other words assigns a group to a product.
+
+
+
+ Add-AzureRmApiManagementProductToGroup
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ GroupId
+
+ Identifier of existing group. This parameter is required.
+
+ String
+
+
+ ProductId
+
+ Identifier of existing product. This parameter is required.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ GroupId
+
+ Identifier of existing group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ ProductId
+
+ Identifier of existing product. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Add-AzureRmApiManagementProductToGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789
+
+ Add existing product to an existing group.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Add-AzureRmApiManagementUserToGroup
+
+ Adds existing user to existing group.
+
+
+
+
+ Add
+ AzureApiManagementUserToGroup
+
+
+
+ Adds existing user to existing group.
+
+
+
+ Add-AzureRmApiManagementUserToGroup
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ GroupId
+
+ Identifier of existing group. This parameter is required.
+
+ String
+
+
+ UserId
+
+ Identifier of existing user. This parameter is required.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ GroupId
+
+ Identifier of existing group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ UserId
+
+ Identifier of existing user. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Add-AzureRmApiManagementUserToGroup –Context $apimContext –GroupId 0001 –UserId 0123456789
+
+ Add existing user to an existing group.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Export-AzureRmApiManagementApi
+
+ Export API to file in one of the supported formats.
+
+
+
+
+ Export
+ AzureApiManagementApi
+
+
+
+ Export API to file in one of the supported formats.
+
+
+
+ Export-AzureRmApiManagementApi
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ApiId
+
+ Identifier of exporting API. This parameter is required.
+
+ String
+
+
+ SpecificationFormat
+
+ Specification format (Wadl or Swagger). This parameter is required.
+
+ PsApiManagementApiFormat
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Export-AzureRmApiManagementApi
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ApiId
+
+ Identifier of exporting API. This parameter is required.
+
+ String
+
+
+ SpecificationFormat
+
+ Specification format (Wadl or Swagger). This parameter is required.
+
+ PsApiManagementApiFormat
+
+
+ SaveAs
+
+ File path where to save the exporting specification to. This parameter is required.
+
+ String
+
+
+ Force
+
+ If specified will override the file if it exists. This parameter is optional.
+
+ SwitchParameter
+
+
+ PassThru
+
+ If specified will write true/false if api exported successfully/failed. This parameter is optional.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ApiId
+
+ Identifier of exporting API. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ SpecificationFormat
+
+ Specification format (Wadl or Swagger). This parameter is required.
+
+ PsApiManagementApiFormat
+
+ PsApiManagementApiFormat
+
+
+
+
+
+ SaveAs
+
+ File path where to save the exporting specification to. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Force
+
+ If specified will override the file if it exists. This parameter is optional.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ PassThru
+
+ If specified will write true/false if api exported successfully/failed. This parameter is optional.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ string
+
+
+
+
+
exported api content
-
-
-
-
- bool
-
-
-
-
-
+
+
+
+
+ bool
+
+
+
+
+
true/false
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Export-AzureRmApiManagementApi –Context $apimContext –ApiId 0123456789 –SpecificationFormat 'Wadl' –SaveAs 'C:\contoso\specifications\0123456789.wadl'
-
- Export API to file as WADL.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get-AzureRmApiManagementApi
-
- Gets a list or a particular API description.
-
-
-
-
- Get
- AzureApiManagementApi
-
-
-
- Gets a list or a particular API description.
-
-
-
- Get-AzureRmApiManagementApi
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementApi
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ApiId
-
- API identifier to look for. If specified will try to get the API by the Id. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementApi
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Name
-
- Name of the API. If specified will try to get the API by name. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementApi
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ProductId
-
- If specified will try to get all Product APIs. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
- ApiId
-
- API identifier to look for. If specified will try to get the API by the Id. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- Name
-
- Name of the API. If specified will try to get the API by name. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- ProductId
-
- If specified will try to get all Product APIs. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi>
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementApi –Context $apimContext
-
- Get list of all APIs.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementApi –Context $apimContext –ApiId $apiId
-
- Get API by Id.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementApi –Context $apimContext –Name "EchoApi"
-
- Get API by Name
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get-AzureRmApiManagementAuthorizationServer
-
- Gets all or specific authorization servers.
-
-
-
-
- Get
- AzureApiManagementAuthorizationServer
-
-
-
- Gets all or specific authorization servers.
-
-
-
- Get-AzureRmApiManagementAuthorizationServer
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ServerId
-
- Identifier of the authorization server. If specified will find authorization server by the identifier. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ServerId
-
- Identifier of the authorization server. If specified will find authorization server by the identifier. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer>
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementAuthrizarionServer –Context $apimContext
-
- Get all authorization servers.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementCertificate –Context $apimContext –ServerId 0123456789
-
- Get specific authorization server.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get-AzureRmApiManagementCertificate
-
- Gets all or specific certificates.
-
-
-
-
- Get
- AzureApiManagementCertificate
-
-
-
- Gets all or specific certificates.
-
-
-
- Get-AzureRmApiManagementCertificate
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementCertificate
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- CertificateId
-
- Identifier of the certificate. If specified will find certificate by the identifier. This parameter is required.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
- CertificateId
-
- Identifier of the certificate. If specified will find certificate by the identifier. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementCertificate –Context $apimContext
-
- Get all certificates.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementCertificate –Context $apimContext –CertificateId 0123456789
-
- Get specific certificate.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get-AzureRmApiManagementGroup
-
- Gets all or specific groups.
-
-
-
-
- Get
- AzureApiManagementGroup
-
-
-
- Gets all or specific groups.
-
-
-
- Get-AzureRmApiManagementGroup
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Name
-
- Group name. If specified will try to find group by the name. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementGroup
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- GroupId
-
- Identifier of a group. If specified will try to find group by the identifier. This parameter is optional.
-
- String
-
-
- Name
-
- Group name. If specified will try to find group by the name. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementGroup
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Name
-
- Group name. If specified will try to find group by the name. This parameter is optional.
-
- String
-
-
- UserId
-
- Identifier of existing user. If specified will return all groups the user belongs to. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementGroup
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Name
-
- Group name. If specified will try to find group by the name. This parameter is optional.
-
- String
-
-
- ProductId
-
- Identifier of existing product. If specified will return all groups the product assigned to. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- Name
-
- Group name. If specified will try to find group by the name. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
- GroupId
-
- Identifier of a group. If specified will try to find group by the identifier. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- UserId
-
- Identifier of existing user. If specified will return all groups the user belongs to. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- ProductId
-
- Identifier of existing product. If specified will return all groups the product assigned to. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup>
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementGroup –Context $apimContext
-
- Get all groups.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementGroup –Context $apimContext –GroupId 0123456789
-
- Get group by identifier.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementGroup –Context $apimContext –Name 'Custom group'
-
- Get group by name.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 4 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementGroup –Context $apimContext –UserId 0123456789
-
- Get all user groups.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get-AzureRmApiManagementOperation
-
- Gets a list or a particular API Operation.
-
-
-
-
- Get
- AzureApiManagementOperation
-
-
-
- Gets a list or a particular API Operation.
-
-
-
- Get-AzureRmApiManagementOperation
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ApiId
-
- Identifier of API Operation belongs to. This parameter is required.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementOperation
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ApiId
-
- Identifier of API Operation belongs to. This parameter is required.
-
- String
-
-
- OperationId
-
- Identifier operation to look for. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ApiId
-
- Identifier of API Operation belongs to. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
- OperationId
-
- Identifier operation to look for. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation>
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId
-
- Get all API Operations.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 0123456789
-
- Get Operation by id.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get-AzureRmApiManagementPolicy
-
- Gets specified scope policy.
-
-
-
-
- Get
- AzureApiManagementPolicy
-
-
-
- Gets specified scope policy.
-
-
-
- Get-AzureRmApiManagementPolicy
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Format
-
- Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
-
- String
-
-
- SaveAs
-
- File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional.
-
- String
-
-
- Force
-
- Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementPolicy
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Format
-
- Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
-
- String
-
-
- SaveAs
-
- File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional.
-
- String
-
-
- ProductId
-
- Identifier of existing product. If specified will return product-scope policy. This parameters is optional.
-
- String
-
-
- Force
-
- Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementPolicy
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Format
-
- Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
-
- String
-
-
- SaveAs
-
- File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional.
-
- String
-
-
- ApiId
-
- Identifier of existing API. If specified will return API-scope policy. This parameters is required.
-
- String
-
-
- OperationId
-
- Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is required.
-
- String
-
-
- Force
-
- Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementPolicy
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Format
-
- Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
-
- String
-
-
- SaveAs
-
- File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional.
-
- String
-
-
- ApiId
-
- Identifier of existing API. If specified will return API-scope policy. This parameters is required.
-
- String
-
-
- Force
-
- Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- Format
-
- Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
-
- String
-
- String
-
-
-
-
-
-
- SaveAs
-
- File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- Force
-
- Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
- ProductId
-
- Identifier of existing product. If specified will return product-scope policy. This parameters is optional.
-
- String
-
- String
-
-
-
-
-
-
- ApiId
-
- Identifier of existing API. If specified will return API-scope policy. This parameters is required.
-
- String
-
- String
-
-
-
-
-
-
- OperationId
-
- Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is required.
-
- String
-
- String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- string
-
-
-
-
-
-
-
-
-
-
-
- bool
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementPolicy –Context $apimContext –SaveAs 'C:\contoso\policies\tenantpolicy.xml'
-
- Get tenant level policy and save to file named tenantpolicy.xml.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
-
- PS C:\>
-
- $policyString = Get-AzureRmApiManagementPolicy –Context $apimContext –ProductId 0123456789
-
- Get product-scope policy
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3 --------------------------
-
- PS C:\>
-
- $policyString = Get-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210
-
- Get API-scope policy.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 4 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777
-
- Get operation-scope policy.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get-AzureRmApiManagementProduct
-
- Gets a list or a particular Product.
-
-
-
-
- Get
- AzureApiManagementProduct
-
-
-
- Gets a list or a particular Product.
-
-
-
- Get-AzureRmApiManagementProduct
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementProduct
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ProductId
-
- Identifier of Product to search for. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementProduct
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Title
-
- Title of the Product to look for. If specified will try to get the Product by title. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
- ProductId
-
- Identifier of Product to search for. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- Title
-
- Title of the Product to look for. If specified will try to get the Product by title. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct>
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementProduct –Context $apimContext
-
- Get all Products.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementProduct –Context $apimContext –ProductId 0123456789
-
- Get Product by id.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get-AzureRmApiManagementSubscription
-
- Gets all or specific subscriptions.
-
-
-
-
- Get
- AzureApiManagementSubscription
-
-
-
- Gets all or specific subscriptions.
-
-
-
- Get-AzureRmApiManagementSubscription
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementSubscription
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- SubscriptionId
-
- Subscription identifier. If specified will try to find subscription by the identifier. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementSubscription
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- UserId
-
- User identifier. If specified will try to find all subscriptions by the user identifier. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementSubscription
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ProductId
-
- Product identifier. If specified will try to find all subscriptions by the product identifier. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
- SubscriptionId
-
- Subscription identifier. If specified will try to find subscription by the identifier. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- UserId
-
- User identifier. If specified will try to find all subscriptions by the user identifier. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- ProductId
-
- Product identifier. If specified will try to find all subscriptions by the product identifier. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription>
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementSubscription –Context $apimContext
-
- Get all subscriptions.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789
-
- Get subscription by Id.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementSubscription –Context $apimContext –UserId 777
-
- Get all users subscriptions.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 4 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementSubscription –Context $apimContext –ProductId 999
-
- Get all subscriptions for the product.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get-AzureRmApiManagementUser
-
- Gets all or specific user.
-
-
-
-
- Get
- AzureApiManagementUser
-
-
-
- Gets all or specific user.
-
-
-
- Get-AzureRmApiManagementUser
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementUser
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- UserId
-
- Identifier of a user. If specified will try to find user by the identifier. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Get-AzureRmApiManagementUser
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- FirstName
-
- User first name. If specified will try to find users by the first name. This parameter is optional.
-
- String
-
-
- LastName
-
- User last name. If specified will try to find users by the last name. This parameter is optional.
-
- String
-
-
- State
-
- User state. If specified will try to find all users in the state. This parameter is optional.
-
- Nullable`1[PsApiManagementUserState]
-
-
- Email
-
- User email. If specified will try to find user by email. This parameter is optional.
-
- String
-
-
- GroupId
-
- Identifier of existing group. If specified will try to find all users within the group. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
- UserId
-
- Identifier of a user. If specified will try to find user by the identifier. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- FirstName
-
- User first name. If specified will try to find users by the first name. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- LastName
-
- User last name. If specified will try to find users by the last name. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- State
-
- User state. If specified will try to find all users in the state. This parameter is optional.
-
- Nullable`1[PsApiManagementUserState]
-
- Nullable`1[PsApiManagementUserState]
-
-
-
-
-
-
- Email
-
- User email. If specified will try to find user by email. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- GroupId
-
- Identifier of existing group. If specified will try to find all users within the group. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser>
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementUser –Context $apimContext
-
- Get all users.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementUser –Context $apimContext –UserId 0123456789
-
- Get user by Id.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementUser –Context $apimContext –LastName 'Ivanov'
-
- Get users by last name.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 4 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementUser –Context $apimContext –Email 'user@contoso.com'
-
- Get user by email.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 5 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementUser –Context $apimContext –GroupId 0001
-
- Get all users within the group.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get-AzureRmApiManagementUserSsoUrl
-
- Generates SSO URL for the user.
-
-
-
-
- Get
- AzureApiManagementUserSsoUrl
-
-
-
- Generates SSO URL for the user.
-
-
-
- Get-AzureRmApiManagementUserSsoUrl
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- UserId
-
- Identifier of existing user. This parameter is required.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- UserId
-
- Identifier of existing user. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- string
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementUserSsoUrl –Context $apimContext –UserId 0123456789
-
- Get user SSO URL.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Import-AzureRmApiManagementApi
-
- Imports API from file or URL in one of the supported formats.
-
-
-
-
- Import
- AzureApiManagementApi
-
-
-
- Imports API from file or URL in one of the supported formats (Wadl, Swagger).
-
-
-
- Import-AzureRmApiManagementApi
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ApiId
-
- Identifier for importing API. This parameter is optional. If not specified the identifier will be generated.
-
- String
-
-
- SpecificationFormat
-
- Specification format (Wadl, Swagger). This parameter is required.
-
- PsApiManagementApiFormat
-
-
- SpecificationPath
-
- Specification file path. This parameter is required.
-
- String
-
-
- Path
-
- Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Import-AzureRmApiManagementApi
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ApiId
-
- Identifier for importing API. This parameter is optional. If not specified the identifier will be generated.
-
- String
-
-
- SpecificationFormat
-
- Specification format (Wadl, Swagger). This parameter is required.
-
- PsApiManagementApiFormat
-
-
- SpecificationUrl
-
- Specification URL. This parameter is required.
-
- String
-
-
- Path
-
- Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ApiId
-
- Identifier for importing API. This parameter is optional. If not specified the identifier will be generated.
-
- String
-
- String
-
-
-
-
-
-
- SpecificationFormat
-
- Specification format (Wadl, Swagger). This parameter is required.
-
- PsApiManagementApiFormat
-
- PsApiManagementApiFormat
-
-
-
-
-
-
- SpecificationPath
-
- Specification file path. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Path
-
- Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.
-
- String
-
- String
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
- SpecificationUrl
-
- Specification URL. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Export-AzureRmApiManagementApi –Context $apimContext –ApiId 0123456789 –SpecificationFormat 'Wadl' –SaveAs 'C:\contoso\specifications\0123456789.wadl'
+
+ Export API to file as WADL.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementApi
+
+ Gets a list or a particular API description.
+
+
+
+
+ Get
+ AzureApiManagementApi
+
+
+
+ Gets a list or a particular API description.
+
+
+
+ Get-AzureRmApiManagementApi
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementApi
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ApiId
+
+ API identifier to look for. If specified will try to get the API by the Id. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementApi
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Name
+
+ Name of the API. If specified will try to get the API by name. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementApi
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ProductId
+
+ If specified will try to get all Product APIs. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ApiId
+
+ API identifier to look for. If specified will try to get the API by the Id. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Name of the API. If specified will try to get the API by name. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ ProductId
+
+ If specified will try to get all Product APIs. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi>
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementApi –Context $apimContext
+
+ Get list of all APIs.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementApi –Context $apimContext –ApiId $apiId
+
+ Get API by Id.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementApi –Context $apimContext –Name "EchoApi"
+
+ Get API by Name
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementAuthorizationServer
+
+ Gets all or specific authorization servers.
+
+
+
+
+ Get
+ AzureApiManagementAuthorizationServer
+
+
+
+ Gets all or specific authorization servers.
+
+
+
+ Get-AzureRmApiManagementAuthorizationServer
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementAuthorizationServer
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ServerId
+
+ Identifier of the authorization server. If specified will find authorization server by the identifier. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ServerId
+
+ Identifier of the authorization server. If specified will find authorization server by the identifier. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer>
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementAuthrizarionServer –Context $apimContext
+
+ Get all authorization servers.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementCertificate –Context $apimContext –ServerId 0123456789
+
+ Get specific authorization server.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementCertificate
+
+ Gets all or specific certificates.
+
+
+
+
+ Get
+ AzureApiManagementCertificate
+
+
+
+ Gets all or specific certificates.
+
+
+
+ Get-AzureRmApiManagementCertificate
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementCertificate
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ CertificateId
+
+ Identifier of the certificate. If specified will find certificate by the identifier. This parameter is required.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ CertificateId
+
+ Identifier of the certificate. If specified will find certificate by the identifier. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementCertificate –Context $apimContext
+
+ Get all certificates.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementCertificate –Context $apimContext –CertificateId 0123456789
+
+ Get specific certificate.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementGroup
+
+ Gets all or specific groups.
+
+
+
+
+ Get
+ AzureApiManagementGroup
+
+
+
+ Gets all or specific groups.
+
+
+
+ Get-AzureRmApiManagementGroup
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Name
+
+ Group name. If specified will try to find group by the name. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementGroup
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ GroupId
+
+ Identifier of a group. If specified will try to find group by the identifier. This parameter is optional.
+
+ String
+
+
+ Name
+
+ Group name. If specified will try to find group by the name. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementGroup
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Name
+
+ Group name. If specified will try to find group by the name. This parameter is optional.
+
+ String
+
+
+ UserId
+
+ Identifier of existing user. If specified will return all groups the user belongs to. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementGroup
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Name
+
+ Group name. If specified will try to find group by the name. This parameter is optional.
+
+ String
+
+
+ ProductId
+
+ Identifier of existing product. If specified will return all groups the product assigned to. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ Name
+
+ Group name. If specified will try to find group by the name. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ GroupId
+
+ Identifier of a group. If specified will try to find group by the identifier. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ UserId
+
+ Identifier of existing user. If specified will return all groups the user belongs to. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ ProductId
+
+ Identifier of existing product. If specified will return all groups the product assigned to. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup>
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementGroup –Context $apimContext
+
+ Get all groups.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementGroup –Context $apimContext –GroupId 0123456789
+
+ Get group by identifier.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementGroup –Context $apimContext –Name 'Custom group'
+
+ Get group by name.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 4 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementGroup –Context $apimContext –UserId 0123456789
+
+ Get all user groups.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementOperation
+
+ Gets a list or a particular API Operation.
+
+
+
+
+ Get
+ AzureApiManagementOperation
+
+
+
+ Gets a list or a particular API Operation.
+
+
+
+ Get-AzureRmApiManagementOperation
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ApiId
+
+ Identifier of API Operation belongs to. This parameter is required.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementOperation
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ApiId
+
+ Identifier of API Operation belongs to. This parameter is required.
+
+ String
+
+
+ OperationId
+
+ Identifier operation to look for. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ApiId
+
+ Identifier of API Operation belongs to. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ OperationId
+
+ Identifier operation to look for. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation>
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId
+
+ Get all API Operations.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 0123456789
+
+ Get Operation by id.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementPolicy
+
+ Gets specified scope policy.
+
+
+
+
+ Get
+ AzureApiManagementPolicy
+
+
+
+ Gets specified scope policy.
+
+
+
+ Get-AzureRmApiManagementPolicy
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Format
+
+ Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
+
+ String
+
+
+ SaveAs
+
+ File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional.
+
+ String
+
+
+ Force
+
+ Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementPolicy
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Format
+
+ Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
+
+ String
+
+
+ SaveAs
+
+ File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional.
+
+ String
+
+
+ ProductId
+
+ Identifier of existing product. If specified will return product-scope policy. This parameters is optional.
+
+ String
+
+
+ Force
+
+ Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementPolicy
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Format
+
+ Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
+
+ String
+
+
+ SaveAs
+
+ File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional.
+
+ String
+
+
+ ApiId
+
+ Identifier of existing API. If specified will return API-scope policy. This parameters is required.
+
+ String
+
+
+ Force
+
+ Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementPolicy
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Format
+
+ Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
+
+ String
+
+
+ SaveAs
+
+ File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional.
+
+ String
+
+
+ ApiId
+
+ Identifier of existing API. If specified will return API-scope policy. This parameters is required.
+
+ String
+
+
+ OperationId
+
+ Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is required.
+
+ String
+
+
+ Force
+
+ Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ Format
+
+ Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
+
+ String
+
+ String
+
+
+
+
+
+ SaveAs
+
+ File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ Force
+
+ Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ ProductId
+
+ Identifier of existing product. If specified will return product-scope policy. This parameters is optional.
+
+ String
+
+ String
+
+
+
+
+
+ ApiId
+
+ Identifier of existing API. If specified will return API-scope policy. This parameters is required.
+
+ String
+
+ String
+
+
+
+
+
+ OperationId
+
+ Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is required.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ string
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementPolicy –Context $apimContext –SaveAs 'C:\contoso\policies\tenantpolicy.xml'
+
+ Get tenant level policy and save to file named tenantpolicy.xml.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ $policyString = Get-AzureRmApiManagementPolicy –Context $apimContext –ProductId 0123456789
+
+ Get product-scope policy
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3 --------------------------
+
+ PS C:\>
+
+ $policyString = Get-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210
+
+ Get API-scope policy.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 4 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777
+
+ Get operation-scope policy.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementProduct
+
+ Gets a list or a particular Product.
+
+
+
+
+ Get
+ AzureApiManagementProduct
+
+
+
+ Gets a list or a particular Product.
+
+
+
+ Get-AzureRmApiManagementProduct
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementProduct
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ProductId
+
+ Identifier of Product to search for. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementProduct
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Title
+
+ Title of the Product to look for. If specified will try to get the Product by title. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ProductId
+
+ Identifier of Product to search for. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ Title
+
+ Title of the Product to look for. If specified will try to get the Product by title. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct>
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementProduct –Context $apimContext
+
+ Get all Products.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementProduct –Context $apimContext –ProductId 0123456789
+
+ Get Product by id.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementSubscription
+
+ Gets all or specific subscriptions.
+
+
+
+
+ Get
+ AzureApiManagementSubscription
+
+
+
+ Gets all or specific subscriptions.
+
+
+
+ Get-AzureRmApiManagementSubscription
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementSubscription
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ SubscriptionId
+
+ Subscription identifier. If specified will try to find subscription by the identifier. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementSubscription
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ UserId
+
+ User identifier. If specified will try to find all subscriptions by the user identifier. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementSubscription
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ProductId
+
+ Product identifier. If specified will try to find all subscriptions by the product identifier. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ SubscriptionId
+
+ Subscription identifier. If specified will try to find subscription by the identifier. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ UserId
+
+ User identifier. If specified will try to find all subscriptions by the user identifier. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ ProductId
+
+ Product identifier. If specified will try to find all subscriptions by the product identifier. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription>
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementSubscription –Context $apimContext
+
+ Get all subscriptions.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789
+
+ Get subscription by Id.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementSubscription –Context $apimContext –UserId 777
+
+ Get all users subscriptions.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 4 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementSubscription –Context $apimContext –ProductId 999
+
+ Get all subscriptions for the product.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementUser
+
+ Gets all or specific user.
+
+
+
+
+ Get
+ AzureApiManagementUser
+
+
+
+ Gets all or specific user.
+
+
+
+ Get-AzureRmApiManagementUser
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementUser
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ UserId
+
+ Identifier of a user. If specified will try to find user by the identifier. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementUser
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ FirstName
+
+ User first name. If specified will try to find users by the first name. This parameter is optional.
+
+ String
+
+
+ LastName
+
+ User last name. If specified will try to find users by the last name. This parameter is optional.
+
+ String
+
+
+ State
+
+ User state. If specified will try to find all users in the state. This parameter is optional.
+
+ Nullable`1[PsApiManagementUserState]
+
+
+ Email
+
+ User email. If specified will try to find user by email. This parameter is optional.
+
+ String
+
+
+ GroupId
+
+ Identifier of existing group. If specified will try to find all users within the group. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ UserId
+
+ Identifier of a user. If specified will try to find user by the identifier. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ FirstName
+
+ User first name. If specified will try to find users by the first name. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ LastName
+
+ User last name. If specified will try to find users by the last name. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ State
+
+ User state. If specified will try to find all users in the state. This parameter is optional.
+
+ Nullable`1[PsApiManagementUserState]
+
+ Nullable`1[PsApiManagementUserState]
+
+
+
+
+
+ Email
+
+ User email. If specified will try to find user by email. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ GroupId
+
+ Identifier of existing group. If specified will try to find all users within the group. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser>
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementUser –Context $apimContext
+
+ Get all users.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementUser –Context $apimContext –UserId 0123456789
+
+ Get user by Id.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementUser –Context $apimContext –LastName 'Ivanov'
+
+ Get users by last name.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 4 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementUser –Context $apimContext –Email 'user@contoso.com'
+
+ Get user by email.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 5 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementUser –Context $apimContext –GroupId 0001
+
+ Get all users within the group.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementUserSsoUrl
+
+ Generates SSO URL for the user.
+
+
+
+
+ Get
+ AzureApiManagementUserSsoUrl
+
+
+
+ Generates SSO URL for the user.
+
+
+
+ Get-AzureRmApiManagementUserSsoUrl
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ UserId
+
+ Identifier of existing user. This parameter is required.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ UserId
+
+ Identifier of existing user. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementUserSsoUrl –Context $apimContext –UserId 0123456789
+
+ Get user SSO URL.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Import-AzureRmApiManagementApi
+
+ Imports API from file or URL in one of the supported formats.
+
+
+
+
+ Import
+ AzureApiManagementApi
+
+
+
+ Imports API from file or URL in one of the supported formats (Wadl, Swagger).
+
+
+
+ Import-AzureRmApiManagementApi
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ApiId
+
+ Identifier for importing API. This parameter is optional. If not specified the identifier will be generated.
+
+ String
+
+
+ SpecificationFormat
+
+ Specification format (Wadl, Swagger). This parameter is required.
+
+ PsApiManagementApiFormat
+
+
+ SpecificationPath
+
+ Specification file path. This parameter is required.
+
+ String
+
+
+ Path
+
+ Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Import-AzureRmApiManagementApi
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ApiId
+
+ Identifier for importing API. This parameter is optional. If not specified the identifier will be generated.
+
+ String
+
+
+ SpecificationFormat
+
+ Specification format (Wadl, Swagger). This parameter is required.
+
+ PsApiManagementApiFormat
+
+
+ SpecificationUrl
+
+ Specification URL. This parameter is required.
+
+ String
+
+
+ Path
+
+ Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ApiId
+
+ Identifier for importing API. This parameter is optional. If not specified the identifier will be generated.
+
+ String
+
+ String
+
+
+
+
+
+ SpecificationFormat
+
+ Specification format (Wadl, Swagger). This parameter is required.
+
+ PsApiManagementApiFormat
+
+ PsApiManagementApiFormat
+
+
+
+
+
+ SpecificationPath
+
+ Specification file path. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Path
+
+ Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.
+
+ String
+
+ String
+
+
+
+
+
+ SpecificationUrl
+
+ Specification URL. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi
+
+
+
+
+
Imported API
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Import-AzureRmApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationPath 'C:\contoso\specifications\echoapi.wadl' –Path 'apis'
-
- Import API from WADL file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
-
- PS C:\>
-
- Import-AzureRmApiManagementApi –Context $apimContext –SpecificationFormat 'Swagger' –SpecificationPath 'C:\contoso\specifications\echoapi.swagger' –Path 'apis'
-
- Import API from Swagger file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3 --------------------------
-
- PS C:\>
-
- Import-AzureRmApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationUrl 'http://contoso.com/specifications/wadl/echoapi' –Path 'apis'
-
- Import API from WADL link.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- New-AzureRmApiManagementApi
-
- Creates new API.
-
-
-
-
- New
- AzureApiManagementApi
-
-
-
- Creates new API.
-
-
-
- New-AzureRmApiManagementApi
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ApiId
-
- Identifier for new API. This parameter is optional. If not specified the identifier will be generated.
-
- String
-
-
- Name
-
- Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required.
-
- String
-
-
- Description
-
- Web API description. This parameter is optional.
-
- String
-
-
- ServiceUrl
-
- A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required.
-
- String
-
-
- Path
-
- Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.
-
- String
-
-
- Protocols
-
- Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null.
-
- PsApiManagementSchema[]
-
-
- AuthorizationServerId
-
- OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified.
-
- String
-
-
- AuthorizationScope
-
- OAuth operations scope. This parameter is optional. Default value is $null.
-
- String
-
-
- SubscriptionKeyHeaderName
-
- Subscription key header name. This parameter is optional. Default value is $null.
-
- String
-
-
- SubscriptionKeyQueryParamName
-
- Subscription key query string parameter name. This parameter is optional. Default value is $null.
-
- String
-
-
- ProductIds
-
- Array of products IDs to add the new API to. This parameter is optional.
-
- String[]
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ApiId
-
- Identifier for new API. This parameter is optional. If not specified the identifier will be generated.
-
- String
-
- String
-
-
-
-
-
-
- Name
-
- Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Description
-
- Web API description. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- ServiceUrl
-
- A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Path
-
- Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.
-
- String
-
- String
-
-
- $null
-
-
- Protocols
-
- Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null.
-
- PsApiManagementSchema[]
-
- PsApiManagementSchema[]
-
-
- $null
-
-
- AuthorizationServerId
-
- OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified.
-
- String
-
- String
-
-
- $null
-
-
- AuthorizationScope
-
- OAuth operations scope. This parameter is optional. Default value is $null.
-
- String
-
- String
-
-
- $null
-
-
- SubscriptionKeyHeaderName
-
- Subscription key header name. This parameter is optional. Default value is $null.
-
- String
-
- String
-
-
- $null
-
-
- SubscriptionKeyQueryParamName
-
- Subscription key query string parameter name. This parameter is optional. Default value is $null.
-
- String
-
- String
-
-
- $null
-
-
- ProductIds
-
- Array of products IDs to add the new API to. This parameter is optional.
-
- String[]
-
- String[]
-
-
- $null
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- New-AzureRmApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('http', 'https')
-
- Create new API.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- New-AzureRmApiManagementAuthorizationServer
-
- Creates new authorization server.
-
-
-
-
- New
- AzureApiManagementAuthorizationServer
-
-
-
- Creates new authorization server.
-
-
-
- New-AzureRmApiManagementAuthorizationServer
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ServerId
-
- Identifier of existing authorization server. This parameter is optional.
-
- String
-
-
- Name
-
- Name of new authorization server. This parameter is required.
-
- String
-
-
- Description
-
- Description of new authorization server. This parameter is optional.
-
- String
-
-
- ClientRegistrationPageUrl
-
- Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required.
-
- String
-
-
- AuthorizationEndpointUrl
-
- Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required.
-
- String
-
-
- TokenEndpointUrl
-
- Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required.
-
- String
-
-
- ClientId
-
- Client ID of developer console which is the client application. This parameter is required.
-
- String
-
-
- ClientSecret
-
- Client secret of developer console which is the client application. This parameter is optional.
-
- String
-
-
- AuthorizationRequestMethods
-
- Supported authorization request methods (GET, POST). This parameter is optional. Default value is GET.
-
- PsApiManagementAuthorizationRequestMethod[]
-
-
- GrantTypes
-
- Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required.
-
- PsApiManagementGrantType[]
-
-
- ClientAuthenticationMethods
-
- Supported client authentication methods (Basic, Body). This parameter is required.
-
- PsApiManagementClientAuthenticationMethod[]
-
-
- TokenBodyParameters
-
- Additional body parameters using application/x-www-form-urlencoded format. This parameter is optional.
-
- Hashtable
-
-
- SupportState
-
- Whether to support state parameter. This parameter is optional.
-
- Nullable`1[Boolean]
-
-
- DefaultScope
-
- Authorization server default scope. This parameter is optional.
-
- String
-
-
- AccessTokenSendingMethods
-
- Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required.
-
- PsApiManagementAccessTokenSendingMethod[]
-
-
- ResourceOwnerUsername
-
- Resource owner user name. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
-
- String
-
-
- ResourceOwnerPassword
-
- Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ServerId
-
- Identifier of existing authorization server. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- Name
-
- Name of new authorization server. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Description
-
- Description of new authorization server. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- ClientRegistrationPageUrl
-
- Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- AuthorizationEndpointUrl
-
- Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- TokenEndpointUrl
-
- Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- ClientId
-
- Client ID of developer console which is the client application. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- ClientSecret
-
- Client secret of developer console which is the client application. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- AuthorizationRequestMethods
-
- Supported authorization request methods (GET, POST). This parameter is optional. Default value is GET.
-
- PsApiManagementAuthorizationRequestMethod[]
-
- PsApiManagementAuthorizationRequestMethod[]
-
-
-
-
-
-
- GrantTypes
-
- Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required.
-
- PsApiManagementGrantType[]
-
- PsApiManagementGrantType[]
-
-
-
-
-
-
- ClientAuthenticationMethods
-
- Supported client authentication methods (Basic, Body). This parameter is required.
-
- PsApiManagementClientAuthenticationMethod[]
-
- PsApiManagementClientAuthenticationMethod[]
-
-
-
-
-
-
- TokenBodyParameters
-
- Additional body parameters using application/x-www-form-urlencoded format. This parameter is optional.
-
- Hashtable
-
- Hashtable
-
-
-
-
-
-
- SupportState
-
- Whether to support state parameter. This parameter is optional.
-
- Nullable`1[Boolean]
-
- Nullable`1[Boolean]
-
-
-
-
-
-
- DefaultScope
-
- Authorization server default scope. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- AccessTokenSendingMethods
-
- Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required.
-
- PsApiManagementAccessTokenSendingMethod[]
-
- PsApiManagementAccessTokenSendingMethod[]
-
-
-
-
-
-
- ResourceOwnerUsername
-
- Resource owner user name. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
-
- String
-
- String
-
-
-
-
-
-
- ResourceOwnerPassword
-
- Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
-
- String
-
- String
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- New-AzureRmApiManagementAuthrizarionServer –Context $apimContext –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signup' -AthorizationEndpointUrl 'https://contoso/auth' -TokenEndpointUrl 'https://contoso/token' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get', 'Post') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ResourceOwnerPassword', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'; 'par2'='val2'} –AccessTokenSendingMethods @('AuthorizationHeader', 'Query') –ResourceOwnerUsername 'ivan' –ResourveOwnerPassword 'qwerty'
-
- Create new authorization server.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- New-AzureRmApiManagementCertificate
-
- Creates new certificate.
-
-
-
-
- New
- AzureApiManagementCertificate
-
-
-
- Creates new certificate.
-
-
-
- New-AzureRmApiManagementCertificate
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- CertificateId
-
- Identifier of new certificate. This parameter is optional. If not specified will be generated.
-
- String
-
-
- PfxFilePath
-
- Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified.
-
- String
-
-
- PfxPassword
-
- Password for the certificate. This parameter is required.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- New-AzureRmApiManagementCertificate
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- CertificateId
-
- Identifier of new certificate. This parameter is optional. If not specified will be generated.
-
- String
-
-
- PfxBytes
-
- Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified.
-
- Byte[]
-
-
- PfxPassword
-
- Password for the certificate. This parameter is required.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- CertificateId
-
- Identifier of new certificate. This parameter is optional. If not specified will be generated.
-
- String
-
- String
-
-
-
-
-
-
- PfxFilePath
-
- Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified.
-
- String
-
- String
-
-
-
-
-
-
- PfxPassword
-
- Password for the certificate. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
- PfxBytes
-
- Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified.
-
- Byte[]
-
- Byte[]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- New-AzureRmApiManagementCertificate –Context $apimContext –PfxFilePath 'C:\contoso\certificates\apimanagement.pfx' –PfxPassword 1111
-
- Create/upload new certificate.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- New-AzureRmApiManagementContext
-
- Create PsAzureApiManagementContext.
-
-
-
-
- New
- AzureApiManagementContext
-
-
-
- Create an instance of PsAzureApiManagementContext. The context is to be used for all the API Management Service Management cmdlets.
-
-
-
- New-AzureRmApiManagementContext
-
- ResourceGroupName
-
- Name of resource group under which an API Management service is deployed.
-
- String
-
-
- ServiceName
-
- Name of deployed API Management service.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- ResourceGroupName
-
- Name of resource group under which an API Management service is deployed.
-
- String
-
- String
-
-
-
-
-
-
- ServiceName
-
- Name of deployed API Management service.
-
- String
-
- String
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsAzureApiManagementContext
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- $apimContext = New-AzureRmApiManagementContext –ResourceGroupName contosoresources –ServiceName contoso
-
- Create an instance of PsApiManagementContext
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- New-AzureRmApiManagementGroup
-
- Creates new group.
-
-
-
-
- New
- AzureApiManagementGroup
-
-
-
- Creates new group.
-
-
-
- New-AzureRmApiManagementGroup
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- GroupId
-
- Identifier of new group. This parameter is optional. If not specified will be generated.
-
- String
-
-
- Name
-
- Group name. This parameter is required.
-
- String
-
-
- Description
-
- Group description. This parameter is optional.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- GroupId
-
- Identifier of new group. This parameter is optional. If not specified will be generated.
-
- String
-
- String
-
-
-
-
-
-
- Name
-
- Group name. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Description
-
- Group description. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- New-AzureRmApiManagementGroup –Context $apimContext –Name 'Best devs'
-
- Create new group.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- New-AzureRmApiManagementOperation
-
- Create new API Operation.
-
-
-
-
- New
- AzureApiManagementOperation
-
-
-
- Create new API Operation.
-
-
-
- New-AzureRmApiManagementOperation
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ApiId
-
- Identifier of API. This parameter is required.
-
- String
-
-
- OperationId
-
- Identifier of new operation. This parameter is optional. If not specified will be generated.
-
- String
-
-
- Name
-
- Display name of new operation. This parameter is required.
-
- String
-
-
- Method
-
- HTTP method of new operation. This parameter is required.
-
- String
-
-
- UrlTemplate
-
- URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required.
-
- String
-
-
- Description
-
- Description of new operation. This parameter is optional.
-
- String
-
-
- TemplateParameters
-
- Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values.
-
- PsApiManagementParameter[]
-
-
- Request
-
- Operation request details. This parameter is optional.
-
- PsApiManagementRequest
-
-
- Responses
-
- Array of possible operation responses. This parameter is optional.
-
- PsApiManagementResponse[]
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ApiId
-
- Identifier of API. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- OperationId
-
- Identifier of new operation. This parameter is optional. If not specified will be generated.
-
- String
-
- String
-
-
-
-
-
-
- Name
-
- Display name of new operation. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Method
-
- HTTP method of new operation. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- UrlTemplate
-
- URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Description
-
- Description of new operation. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- TemplateParameters
-
- Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values.
-
- PsApiManagementParameter[]
-
- PsApiManagementParameter[]
-
-
-
-
-
-
- Request
-
- Operation request details. This parameter is optional.
-
- PsApiManagementRequest
-
- PsApiManagementRequest
-
-
-
-
-
-
- Responses
-
- Array of possible operation responses. This parameter is optional.
-
- PsApiManagementResponse[]
-
- PsApiManagementResponse[]
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- New-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Get resource' –Method 'GET' –UrlTemplate '/resource' –Description 'Use this operation to get resource'
-
- Create new operation.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
-
- PS C:\>
-
- #create parameters declared in UrlTemplate
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Import-AzureRmApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationPath 'C:\contoso\specifications\echoapi.wadl' –Path 'apis'
+
+ Import API from WADL file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ Import-AzureRmApiManagementApi –Context $apimContext –SpecificationFormat 'Swagger' –SpecificationPath 'C:\contoso\specifications\echoapi.swagger' –Path 'apis'
+
+ Import API from Swagger file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3 --------------------------
+
+ PS C:\>
+
+ Import-AzureRmApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationUrl 'http://contoso.com/specifications/wadl/echoapi' –Path 'apis'
+
+ Import API from WADL link.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureRmApiManagementApi
+
+ Creates new API.
+
+
+
+
+ New
+ AzureApiManagementApi
+
+
+
+ Creates new API.
+
+
+
+ New-AzureRmApiManagementApi
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ApiId
+
+ Identifier for new API. This parameter is optional. If not specified the identifier will be generated.
+
+ String
+
+
+ Name
+
+ Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required.
+
+ String
+
+
+ Description
+
+ Web API description. This parameter is optional.
+
+ String
+
+
+ ServiceUrl
+
+ A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required.
+
+ String
+
+
+ Path
+
+ Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is required.
+
+ String
+
+
+ Protocols
+
+ Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null.
+
+ PsApiManagementSchema[]
+
+
+ AuthorizationServerId
+
+ OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified.
+
+ String
+
+
+ AuthorizationScope
+
+ OAuth operations scope. This parameter is optional. Default value is $null.
+
+ String
+
+
+ SubscriptionKeyHeaderName
+
+ Subscription key header name. This parameter is optional. Default value is $null.
+
+ String
+
+
+ SubscriptionKeyQueryParamName
+
+ Subscription key query string parameter name. This parameter is optional. Default value is $null.
+
+ String
+
+
+ ProductIds
+
+ Array of products IDs to add the new API to. This parameter is optional.
+
+ String[]
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ApiId
+
+ Identifier for new API. This parameter is optional. If not specified the identifier will be generated.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Description
+
+ Web API description. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ ServiceUrl
+
+ A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Path
+
+ Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is required.
+
+ String
+
+ String
+
+
+ $null
+
+
+ Protocols
+
+ Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null.
+
+ PsApiManagementSchema[]
+
+ PsApiManagementSchema[]
+
+
+ $null
+
+
+ AuthorizationServerId
+
+ OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified.
+
+ String
+
+ String
+
+
+ $null
+
+
+ AuthorizationScope
+
+ OAuth operations scope. This parameter is optional. Default value is $null.
+
+ String
+
+ String
+
+
+ $null
+
+
+ SubscriptionKeyHeaderName
+
+ Subscription key header name. This parameter is optional. Default value is $null.
+
+ String
+
+ String
+
+
+ $null
+
+
+ SubscriptionKeyQueryParamName
+
+ Subscription key query string parameter name. This parameter is optional. Default value is $null.
+
+ String
+
+ String
+
+
+ $null
+
+
+ ProductIds
+
+ Array of products IDs to add the new API to. This parameter is optional.
+
+ String[]
+
+ String[]
+
+
+ $null
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ New-AzureRmApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('http', 'https') -Path 'echoapi'
+
+ Create new API.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureRmApiManagementAuthorizationServer
+
+ Creates new authorization server.
+
+
+
+
+ New
+ AzureApiManagementAuthorizationServer
+
+
+
+ Creates new authorization server.
+
+
+
+ New-AzureRmApiManagementAuthorizationServer
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ServerId
+
+ Identifier of existing authorization server. This parameter is optional.
+
+ String
+
+
+ Name
+
+ Name of new authorization server. This parameter is required.
+
+ String
+
+
+ Description
+
+ Description of new authorization server. This parameter is optional.
+
+ String
+
+
+ ClientRegistrationPageUrl
+
+ Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required.
+
+ String
+
+
+ AuthorizationEndpointUrl
+
+ Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required.
+
+ String
+
+
+ TokenEndpointUrl
+
+ Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required.
+
+ String
+
+
+ ClientId
+
+ Client ID of developer console which is the client application. This parameter is required.
+
+ String
+
+
+ ClientSecret
+
+ Client secret of developer console which is the client application. This parameter is optional.
+
+ String
+
+
+ AuthorizationRequestMethods
+
+ Supported authorization request methods (GET, POST). This parameter is optional. Default value is GET.
+
+ PsApiManagementAuthorizationRequestMethod[]
+
+
+ GrantTypes
+
+ Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required.
+
+ PsApiManagementGrantType[]
+
+
+ ClientAuthenticationMethods
+
+ Supported client authentication methods (Basic, Body). This parameter is required.
+
+ PsApiManagementClientAuthenticationMethod[]
+
+
+ TokenBodyParameters
+
+ Additional body parameters using application/x-www-form-urlencoded format. This parameter is optional.
+
+ Hashtable
+
+
+ SupportState
+
+ Whether to support state parameter. This parameter is optional.
+
+ Nullable`1[Boolean]
+
+
+ DefaultScope
+
+ Authorization server default scope. This parameter is optional.
+
+ String
+
+
+ AccessTokenSendingMethods
+
+ Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required.
+
+ PsApiManagementAccessTokenSendingMethod[]
+
+
+ ResourceOwnerUsername
+
+ Resource owner user name. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
+
+ String
+
+
+ ResourceOwnerPassword
+
+ Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ServerId
+
+ Identifier of existing authorization server. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Name of new authorization server. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Description
+
+ Description of new authorization server. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ ClientRegistrationPageUrl
+
+ Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ AuthorizationEndpointUrl
+
+ Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ TokenEndpointUrl
+
+ Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ ClientId
+
+ Client ID of developer console which is the client application. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ ClientSecret
+
+ Client secret of developer console which is the client application. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ AuthorizationRequestMethods
+
+ Supported authorization request methods (GET, POST). This parameter is optional. Default value is GET.
+
+ PsApiManagementAuthorizationRequestMethod[]
+
+ PsApiManagementAuthorizationRequestMethod[]
+
+
+
+
+
+ GrantTypes
+
+ Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required.
+
+ PsApiManagementGrantType[]
+
+ PsApiManagementGrantType[]
+
+
+
+
+
+ ClientAuthenticationMethods
+
+ Supported client authentication methods (Basic, Body). This parameter is required.
+
+ PsApiManagementClientAuthenticationMethod[]
+
+ PsApiManagementClientAuthenticationMethod[]
+
+
+
+
+
+ TokenBodyParameters
+
+ Additional body parameters using application/x-www-form-urlencoded format. This parameter is optional.
+
+ Hashtable
+
+ Hashtable
+
+
+
+
+
+ SupportState
+
+ Whether to support state parameter. This parameter is optional.
+
+ Nullable`1[Boolean]
+
+ Nullable`1[Boolean]
+
+
+
+
+
+ DefaultScope
+
+ Authorization server default scope. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ AccessTokenSendingMethods
+
+ Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required.
+
+ PsApiManagementAccessTokenSendingMethod[]
+
+ PsApiManagementAccessTokenSendingMethod[]
+
+
+
+
+
+ ResourceOwnerUsername
+
+ Resource owner user name. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
+
+ String
+
+ String
+
+
+
+
+
+ ResourceOwnerPassword
+
+ Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ New-AzureRmApiManagementAuthrizarionServer –Context $apimContext –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signup' -AthorizationEndpointUrl 'https://contoso/auth' -TokenEndpointUrl 'https://contoso/token' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get', 'Post') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ResourceOwnerPassword', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'; 'par2'='val2'} –AccessTokenSendingMethods @('AuthorizationHeader', 'Query') –ResourceOwnerUsername 'ivan' –ResourveOwnerPassword 'qwerty'
+
+ Create new authorization server.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureRmApiManagementCertificate
+
+ Creates new certificate.
+
+
+
+
+ New
+ AzureApiManagementCertificate
+
+
+
+ Creates new certificate.
+
+
+
+ New-AzureRmApiManagementCertificate
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ CertificateId
+
+ Identifier of new certificate. This parameter is optional. If not specified will be generated.
+
+ String
+
+
+ PfxFilePath
+
+ Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified.
+
+ String
+
+
+ PfxPassword
+
+ Password for the certificate. This parameter is required.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ New-AzureRmApiManagementCertificate
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ CertificateId
+
+ Identifier of new certificate. This parameter is optional. If not specified will be generated.
+
+ String
+
+
+ PfxBytes
+
+ Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified.
+
+ Byte[]
+
+
+ PfxPassword
+
+ Password for the certificate. This parameter is required.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ CertificateId
+
+ Identifier of new certificate. This parameter is optional. If not specified will be generated.
+
+ String
+
+ String
+
+
+
+
+
+ PfxFilePath
+
+ Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified.
+
+ String
+
+ String
+
+
+
+
+
+ PfxPassword
+
+ Password for the certificate. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PfxBytes
+
+ Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified.
+
+ Byte[]
+
+ Byte[]
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ New-AzureRmApiManagementCertificate –Context $apimContext –PfxFilePath 'C:\contoso\certificates\apimanagement.pfx' –PfxPassword 1111
+
+ Create/upload new certificate.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureRmApiManagementContext
+
+ Create PsAzureApiManagementContext.
+
+
+
+
+ New
+ AzureApiManagementContext
+
+
+
+ Create an instance of PsAzureApiManagementContext. The context is to be used for all the API Management Service Management cmdlets.
+
+
+
+ New-AzureRmApiManagementContext
+
+ ResourceGroupName
+
+ Name of resource group under which an API Management service is deployed.
+
+ String
+
+
+ ServiceName
+
+ Name of deployed API Management service.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ ResourceGroupName
+
+ Name of resource group under which an API Management service is deployed.
+
+ String
+
+ String
+
+
+
+
+
+ ServiceName
+
+ Name of deployed API Management service.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsAzureApiManagementContext
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ $apimContext = New-AzureRmApiManagementContext –ResourceGroupName contosoresources –ServiceName contoso
+
+ Create an instance of PsApiManagementContext
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureRmApiManagementGroup
+
+ Creates new group.
+
+
+
+
+ New
+ AzureApiManagementGroup
+
+
+
+ Creates new group.
+
+
+
+ New-AzureRmApiManagementGroup
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ GroupId
+
+ Identifier of new group. This parameter is optional. If not specified will be generated.
+
+ String
+
+
+ Name
+
+ Group name. This parameter is required.
+
+ String
+
+
+ Description
+
+ Group description. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ GroupId
+
+ Identifier of new group. This parameter is optional. If not specified will be generated.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Group name. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Description
+
+ Group description. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ New-AzureRmApiManagementGroup –Context $apimContext –Name 'Best devs'
+
+ Create new group.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureRmApiManagementOperation
+
+ Create new API Operation.
+
+
+
+
+ New
+ AzureApiManagementOperation
+
+
+
+ Create new API Operation.
+
+
+
+ New-AzureRmApiManagementOperation
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ApiId
+
+ Identifier of API. This parameter is required.
+
+ String
+
+
+ OperationId
+
+ Identifier of new operation. This parameter is optional. If not specified will be generated.
+
+ String
+
+
+ Name
+
+ Display name of new operation. This parameter is required.
+
+ String
+
+
+ Method
+
+ HTTP method of new operation. This parameter is required.
+
+ String
+
+
+ UrlTemplate
+
+ URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required.
+
+ String
+
+
+ Description
+
+ Description of new operation. This parameter is optional.
+
+ String
+
+
+ TemplateParameters
+
+ Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values.
+
+ PsApiManagementParameter[]
+
+
+ Request
+
+ Operation request details. This parameter is optional.
+
+ PsApiManagementRequest
+
+
+ Responses
+
+ Array of possible operation responses. This parameter is optional.
+
+ PsApiManagementResponse[]
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ApiId
+
+ Identifier of API. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ OperationId
+
+ Identifier of new operation. This parameter is optional. If not specified will be generated.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Display name of new operation. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Method
+
+ HTTP method of new operation. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ UrlTemplate
+
+ URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Description
+
+ Description of new operation. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ TemplateParameters
+
+ Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values.
+
+ PsApiManagementParameter[]
+
+ PsApiManagementParameter[]
+
+
+
+
+
+ Request
+
+ Operation request details. This parameter is optional.
+
+ PsApiManagementRequest
+
+ PsApiManagementRequest
+
+
+
+
+
+ Responses
+
+ Array of possible operation responses. This parameter is optional.
+
+ PsApiManagementResponse[]
+
+ PsApiManagementResponse[]
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ New-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Get resource' –Method 'GET' –UrlTemplate '/resource' –Description 'Use this operation to get resource'
+
+ Create new operation.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ #create parameters declared in UrlTemplate
$rid = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter
-$rid.Name = 'rid'
-$rid.Description = 'Resource identifier'
-$rid.Type = 'string'
+$rid.Name = 'rid'
+$rid.Description = 'Resource identifier'
+$rid.Type = 'string'
$query = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter
-$query.Name = 'query'
-$query.Description = 'Query string'
-$query.Type = 'string'
+$query.Name = 'query'
+$query.Description = 'Query string'
+$query.Type = 'string'
#create request
$request = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementRequest
-$request.Description = 'Create/update resource request'
+$request.Description = 'Create/update resource request'
#create query parameters for the request
$dummyQp = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter
-$dummyQp.Name = 'dummy'
-$dummyQp.Type = 'string'
+$dummyQp.Name = 'dummy'
+$dummyQp.Type = 'string'
$dummyQp.Required = $FALSE
$request.QueryParameters = @($dummyQp)
#create headers for the request
$header = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter
-$header.Name = 'x-custom-header'
-$header.Type = 'string'
+$header.Name = 'x-custom-header'
+$header.Type = 'string'
$request.Headers = @($header)
#create request representation
$requestRepresentation = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementRepresentation
-$requestRepresentation.ContentType = 'application/json'
-$requestRepresentation.Sample = '{ "propName": "propValue" }'
+$requestRepresentation.ContentType = 'application/json'
+$requestRepresentation.Sample = '{ "propName": "propValue" }'
$request.Representations = @($requestRepresentation)
#create response
$response = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementResponse
$response.StatusCode = 204
-New-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Create/update resource' –Method 'PUT' –UrlTemplate '/resource/{rid}?q={query}' –Description 'Use this operation to create new or update existing resource' –TemplateParameters @($rid, $query) –Request $request –Responses @($response)
-
- Script to create new operation with request and response details.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- New-AzureRmApiManagementProduct
-
- Creates new product.
-
-
-
-
- New
- AzureApiManagementProduct
-
-
-
- Creates new product.
-
-
-
- New-AzureRmApiManagementProduct
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ProductId
-
- Identifier of new Product. This parameter is optional. If not specified will be generated.
-
- String
-
-
- Title
-
- Product title. This parameter is required.
-
- String
-
-
- Description
-
- Product description. This parameter is optional.
-
- String
-
-
- LegalTerms
-
- Legal terms of use of the product. This parameter is optional.
-
- String
-
-
- SubscriptionRequired
-
- Whether the product requires subscription or not. This parameter is optional. Default value is $true.
-
- Nullable`1[Boolean]
-
-
- ApprovalRequired
-
- Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false.
-
- Nullable`1[Boolean]
-
-
- SubscriptionsLimit
-
- Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1.
-
- Nullable`1[Int32]
-
-
- State
-
- Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished.
-
- Nullable`1[PsApiManagementProductState]
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ProductId
-
- Identifier of new Product. This parameter is optional. If not specified will be generated.
-
- String
-
- String
-
-
-
-
-
-
- Title
-
- Product title. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Description
-
- Product description. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- LegalTerms
-
- Legal terms of use of the product. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- SubscriptionRequired
-
- Whether the product requires subscription or not. This parameter is optional. Default value is $true.
-
- Nullable`1[Boolean]
-
- Nullable`1[Boolean]
-
-
-
-
-
-
- ApprovalRequired
-
- Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false.
-
- Nullable`1[Boolean]
-
- Nullable`1[Boolean]
-
-
-
-
-
-
- SubscriptionsLimit
-
- Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1.
-
- Nullable`1[Int32]
-
- Nullable`1[Int32]
-
-
-
-
-
-
- State
-
- Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished.
-
- Nullable`1[PsApiManagementProductState]
-
- Nullable`1[PsApiManagementProductState]
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- New-AzureRmApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $false –State 'Published'
-
- Crete new product. No subscription required.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
-
- PS C:\>
-
- New-AzureRmApiManagementProduct –Context $apimContext –ProductId 9876543210 –Title Unlimited –Description 'Subscribers have completely unlimited access to the API. Administrator approval is required.' –LegalTerms 'Free for all' –ApprovalRequired $true –State Published
-
- Crete new product. Subscription and approval required.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- New-AzureRmApiManagementSubscription
-
- Creates new subscription.
-
-
-
-
- New
- AzureApiManagementSubscription
-
-
-
- Creates new subscription.
-
-
-
- New-AzureRmApiManagementSubscription
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- SubscriptionId
-
- Identifier of new subscription. This parameter is optional. If not specified will be generated.
-
- String
-
-
- Name
-
- Subscription name. This parameter is required.
-
- String
-
-
- UserId
-
- Identifier of existing user - the subscriber. This parameter is required.
-
- String
-
-
- ProductId
-
- Identifier of existing product to subscribe to. This parameter is required.
-
- String
-
-
- PrimaryKey
-
- Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.
-
- String
-
-
- SecondaryKey
-
- Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.
-
- String
-
-
- State
-
- Subscription state. This parameter is optional. Default value is $null.
-
- Nullable`1[PsApiManagementSubscriptionState]
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- SubscriptionId
-
- Identifier of new subscription. This parameter is optional. If not specified will be generated.
-
- String
-
- String
-
-
-
-
-
-
- Name
-
- Subscription name. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- UserId
-
- Identifier of existing user - the subscriber. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- ProductId
-
- Identifier of existing product to subscribe to. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- PrimaryKey
-
- Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.
-
- String
-
- String
-
-
-
-
-
-
- SecondaryKey
-
- Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.
-
- String
-
- String
-
-
-
-
-
-
- State
-
- Subscription state. This parameter is optional. Default value is $null.
-
- Nullable`1[PsApiManagementSubscriptionState]
-
- Nullable`1[PsApiManagementSubscriptionState]
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- New-AzureRmApiManagementSubscription –Context $apimContext –UserId 777 –ProductId 999
-
- Subscribe existing user to existing product.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- New-AzureRmApiManagementUser
-
- Register new user.
-
-
-
-
- New
- AzureApiManagementUser
-
-
-
- Register new user.
-
-
-
- New-AzureRmApiManagementUser
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- UserId
-
- Identifier of new user. This parameter is optional. If not specified will be genetated.
-
- String
-
-
- FirstName
-
- User first name. This parameter is required. Must be 1 to 100 characters long.
-
- String
-
-
- LastName
-
- User last name. This parameter is required. Must be 1 to 100 characters long.
-
- String
-
-
- Email
-
- User email. This parameter is required.
-
- String
-
-
- Password
-
- User password. This parameter is required.
-
- String
-
-
- State
-
- User state. This parameter is optional. Default value is $null.
-
- Nullable`1[PsApiManagementUserState]
-
-
- Note
-
- Note on the user. This parameter is optional. Default value is $null.
-
- String
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- UserId
-
- Identifier of new user. This parameter is optional. If not specified will be genetated.
-
- String
-
- String
-
-
-
-
-
-
- FirstName
-
- User first name. This parameter is required. Must be 1 to 100 characters long.
-
- String
-
- String
-
-
-
-
-
-
- LastName
-
- User last name. This parameter is required. Must be 1 to 100 characters long.
-
- String
-
- String
-
-
-
-
-
-
- Email
-
- User email. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Password
-
- User password. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- State
-
- User state. This parameter is optional. Default value is $null.
-
- Nullable`1[PsApiManagementUserState]
-
- Nullable`1[PsApiManagementUserState]
-
-
-
-
-
-
- Note
-
- Note on the user. This parameter is optional. Default value is $null.
-
- String
-
- String
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- New-AzureRmApiManagementUser –Context $apimContext –FirstName 'Ivan' –LastName 'Ivanov' –Email 'ivan.ivanov@contoso.com' –Password 'qwerty'
-
- Register new user.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Remove-AzureRmApiManagementApi
-
- Remove existing API.
-
-
-
-
- Remove
- AzureApiManagementApi
-
-
-
- Remove existing API.
-
-
-
- Remove-AzureRmApiManagementApi
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ApiId
-
- Identifier of the API. This parameter is required.
-
- String
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional.
-
- SwitchParameter
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ApiId
-
- Identifier of the API. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bool
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Remove-AzureRmApiManagementApi –Context $apimContext –ApiId 0123456789
-
- Remove existing API.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Remove-AzureRmApiManagementApiFromProduct
-
- Removes existing API from existing Product.
-
-
-
-
- Remove
- AzureApiManagementApiFromProduct
-
-
-
- Removes existing API from existing Product.
-
-
-
- Remove-AzureRmApiManagementApiFromProduct
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ProductId
-
- Identifier of existing Product to remove API from. This parameter is required.
-
- String
-
-
- ApiId
-
- Identifier of existing APIs to remove from the product. This parameter is required.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ProductId
-
- Identifier of existing Product to remove API from. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- ApiId
-
- Identifier of existing APIs to remove from the product. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bool
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Remove-AzureRmApiManagementApiFromProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001 –PassThru
-
- Remove existing API from an existing Product.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Remove-AzureRmApiManagementAuthorizationServer
-
- Deletes existing authorization server.
-
-
-
-
- Remove
- AzureApiManagementAuthorizationServer
-
-
-
- Deletes existing authorization server.
-
-
-
- Remove-AzureRmApiManagementAuthorizationServer
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ServerId
-
- Identifier of existing authorization server. This parameter is required.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ServerId
-
- Identifier of existing authorization server. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bool
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
-
-
-
- Delete existing authorization server.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Remove-AzureRmApiManagementCertificate
-
- Deletes existing certificate.
-
-
-
-
- Remove
- AzureApiManagementCertificate
-
-
-
- Deletes existing certificate.
-
-
-
- Remove-AzureRmApiManagementCertificate
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- CertificateId
-
- Identifier of existing certificate. This parameter is required.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- CertificateId
-
- Identifier of existing certificate. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bool
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Remove-AzureRmApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –Force
-
- Delete existing certificate.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Remove-AzureRmApiManagementGroup
-
- Deletes existing group.
-
-
-
-
- Remove
- AzureApiManagementGroup
-
-
-
- Deletes existing group.
-
-
-
- Remove-AzureRmApiManagementGroup
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- GroupId
-
- Identifier of existing group. This parameter is required.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- GroupId
-
- Identifier of existing group. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bool
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Remove-AzureRmApiManagementGroup –Context $apimContext –GroupId 0123456789 –Force
-
- Delete existing group.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Remove-AzureRmApiManagementOperation
-
- Remove existing operation.
-
-
-
-
- Remove
- AzureApiManagementOperation
-
-
-
- Remove existing operation.
-
-
-
- Remove-AzureRmApiManagementOperation
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ApiId
-
- Identifier of API. This parameter is required.
-
- String
-
-
- OperationId
-
- Identifier of API operation. This parameter is required.
-
- String
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional.
-
- SwitchParameter
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ApiId
-
- Identifier of API. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- OperationId
-
- Identifier of API operation. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bool
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Remove-AzureRmApiManagementOperation –Context $apimContext –ApiId 0123456789 –OperationId 9876543210 –Force
-
- Remove existing API Operation.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Remove-AzureRmApiManagementPolicy
-
- Removes policy from specified scope.
-
-
-
-
- Remove
- AzureApiManagementPolicy
-
-
-
- Removes policy from specified scope.
-
-
-
- Remove-AzureRmApiManagementPolicy
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Remove-AzureRmApiManagementPolicy
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ProductId
-
- Identifier of existing product. If specified will remove product-scope policy. This parameters is required.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Remove-AzureRmApiManagementPolicy
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ApiId
-
- Identifier of existing API. If specified will remove API-scope policy. This parameters is required.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Remove-AzureRmApiManagementPolicy
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ApiId
-
- Identifier of existing API. If specified will remove API-scope policy. This parameters is required.
-
- String
-
-
- OperationId
-
- Identifier of existing operation. If specified with ApiId will remove operation-scope policy. This parameters is required.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
- ProductId
-
- Identifier of existing product. If specified will remove product-scope policy. This parameters is required.
-
- String
-
- String
-
-
-
-
-
-
- ApiId
-
- Identifier of existing API. If specified will remove API-scope policy. This parameters is required.
-
- String
-
- String
-
-
-
-
-
-
- OperationId
-
- Identifier of existing operation. If specified with ApiId will remove operation-scope policy. This parameters is required.
-
- String
-
- String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bool
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Remove-AzureRmApiManagementPolicy –Context $apimContext
-
- Remove tenant level policy.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
-
- PS C:\>
-
- Remove-AzureRmApiManagementPolicy –Context $apimContext –ProductId 0123456789
-
- Remove product-scope policy.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3 --------------------------
-
- PS C:\>
-
- Remove-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210
-
- Remove API-scope policy.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 4 --------------------------
-
- PS C:\>
-
- Remove-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777
-
- Remove operation-scope policy.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Remove-AzureRmApiManagementProduct
-
- Remove existing product.
-
-
-
-
- Remove
- AzureApiManagementProduct
-
-
-
- Remove existing product.
-
-
-
- Remove-AzureRmApiManagementProduct
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ProductId
-
- Identifier of existing Product. This parameter is required.
-
- String
-
-
- DeleteSubscriptions
-
- Whether to delete subscriptions to the product or not. If not set and subscriptions exists exception will be thrown. This parameter is optional.
-
- SwitchParameter
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional.
-
- SwitchParameter
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ProductId
-
- Identifier of existing Product. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- DeleteSubscriptions
-
- Whether to delete subscriptions to the product or not. If not set and subscriptions exists exception will be thrown. This parameter is optional.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bool
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Remove-AzureRmApiManagementProduct –Context $apimContext –Id 0123456789 -DeleteSubscriptions –Force
-
- Remove existing Product with all subscriptions.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Remove-AzureRmApiManagementProductFromGroup
-
- Removes existing product from existing group.
-
-
-
-
- Remove
- AzureApiManagementProductFromGroup
-
-
-
- Removes existing product from existing group. In other words removes group assignment from product.
-
-
-
- Remove-AzureRmApiManagementProductFromGroup
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- GroupId
-
- Identifier of existing group. This parameter is required.
-
- String
-
-
- ProductId
-
- Identifier of existing product. This parameter is required.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- GroupId
-
- Identifier of existing group. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- ProductId
-
- Identifier of existing product. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Remove-AzureRmApiManagementProductFromGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789
-
- Remove existing product from an existing group.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Remove-AzureRmApiManagementSubscription
-
- Deletes existing subscription.
-
-
-
-
- Remove
- AzureApiManagementSubscription
-
-
-
- Deletes existing subscription.
-
-
-
- Remove-AzureRmApiManagementSubscription
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- SubscriptionId
-
- Identifier of existing subscription. This parameter is required.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- SubscriptionId
-
- Identifier of existing subscription. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bool
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Remove-AzureRmApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 -Force
-
- Delete existing subscription.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Remove-AzureRmApiManagementUser
-
- Deletes existing user.
-
-
-
-
- Remove
- AzureApiManagementUser
-
-
-
- Deletes existing user.
-
-
-
- Remove-AzureRmApiManagementUser
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- UserId
-
- Identifier of existing user. This parameter is required.
-
- String
-
-
- DeleteSubscriptions
-
- Whether to delete subscriptions to the product or not. If not set and subscription exists exception will be thrown. This parameter is optional.
-
- SwitchParameter
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- UserId
-
- Identifier of existing user. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- DeleteSubscriptions
-
- Whether to delete subscriptions to the product or not. If not set and subscription exists exception will be thrown. This parameter is optional.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Force
-
- Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bool
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Remove-AzureRmApiManagementUser –Context $apimContext –UserId 0123456789 –Force
-
- Delete existing user.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Remove-AzureRmApiManagementUserFromGroup
-
- Removes existing user from existing group.
-
-
-
-
- Remove
- AzureApiManagementUserFromGroup
-
-
-
- Removes existing user from existing group.
-
-
-
- Remove-AzureRmApiManagementUserFromGroup
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- GroupId
-
- Identifier of existing group. This parameter is required.
-
- String
-
-
- UserId
-
- Identifier of existing user. This parameter is required.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- GroupId
-
- Identifier of existing group. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- UserId
-
- Identifier of existing user. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Remove-AzureRmApiManagementUserFromGroup –Context $apimContext –GroupId 0001 –UserId 0123456789
-
- Remove existing user from an existing group.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Set-AzureRmApiManagementApi
-
- Set API details.
-
-
-
-
- Set
- AzureApiManagementApi
-
-
-
- Set API details.
-
-
-
- Set-AzureRmApiManagementApi
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ApiId
-
- Identifier of existing API. This parameter is required.
-
- String
-
-
- Name
-
- Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required.
-
- String
-
-
- Description
-
- Web API description. This parameter is optional.
-
- String
-
-
- ServiceUrl
-
- A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required.
-
- String
-
-
- Path
-
- Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.
-
- String
-
-
- Protocols
-
- Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null.
-
- PsApiManagementSchema[]
-
-
- AuthorizationServerId
-
- OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified.
-
- String
-
-
- AuthorizationScope
-
- OAuth operations scope. This parameter is optional. Default value is $null.
-
- String
-
-
- SubscriptionKeyHeaderName
-
- Subscription key header name. This parameter is optional. Default value is $null.
-
- String
-
-
- SubscriptionKeyQueryParamName
-
- Subscription key query string parameter name. This parameter is optional. Default value is $null.
-
- String
-
-
- PassThru
-
- If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi type representing the set API.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ApiId
-
- Identifier of existing API. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Name
-
- Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Description
-
- Web API description. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- ServiceUrl
-
- A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Path
-
- Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.
-
- String
-
- String
-
-
-
-
-
-
- Protocols
-
- Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null.
-
- PsApiManagementSchema[]
-
- PsApiManagementSchema[]
-
-
-
-
-
-
- AuthorizationServerId
-
- OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified.
-
- String
-
- String
-
-
-
-
-
-
- AuthorizationScope
-
- OAuth operations scope. This parameter is optional. Default value is $null.
-
- String
-
- String
-
-
-
-
-
-
- SubscriptionKeyHeaderName
-
- Subscription key header name. This parameter is optional. Default value is $null.
-
- String
-
- String
-
-
-
-
-
-
- SubscriptionKeyQueryParamName
-
- Subscription key query string parameter name. This parameter is optional. Default value is $null.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi type representing the set API.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Set-AzureRmApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('https') –Description 'Responds with what was sent' –Path 'echo'
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Set-AzureRmApiManagementAuthorizationServer
-
- Sets authorization server details.
-
-
-
-
- Set
- AzureApiManagementAuthorizationServer
-
-
-
- Sets authorization server details.
-
-
-
- Set-AzureRmApiManagementAuthorizationServer
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ServerId
-
- Identifier of existing authorization server. This parameter is required.
-
- String
-
-
- Name
-
- Name of new authorization server. This parameter is required.
-
- String
-
-
- Description
-
- Description of new authorization server. This parameter is optional.
-
- String
-
-
- ClientRegistrationPageUrl
-
- Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required.
-
- String
-
-
- AuthorizationEndpointUrl
-
- Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required.
-
- String
-
-
- TokenEndpointUrl
-
- Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required.
-
- String
-
-
- ClientId
-
- Client ID of developer console which is the client application. This parameter is required.
-
- String
-
-
- ClientSecret
-
- Client secret of developer console which is the client application. This parameter is optional.
-
- String
-
-
- AuthorizationRequestMethods
-
- Supported authorization request methods (GET, POST). This parameter is optional. Default value is GET.
-
- PsApiManagementAuthorizationRequestMethod[]
-
-
- GrantTypes
-
- Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required.
-
- PsApiManagementGrantType[]
-
-
- ClientAuthenticationMethods
-
- Supported client authentication methods (Basic, Body). This parameter is required.
-
- PsApiManagementClientAuthenticationMethod[]
-
-
- TokenBodyParameters
-
- Additional body parameters using application/x-www-form-urlencoded format. This parameter is optional.
-
- Hashtable
-
-
- SupportState
-
- Whether to support state parameter. This parameter is optional.
-
- Nullable`1[Boolean]
-
-
- DefaultScope
-
- Authorization server default scope. This parameter is optional.
-
- String
-
-
- AccessTokenSendingMethods
-
- Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required.
-
- PsApiManagementAccessTokenSendingMethod[]
-
-
- ResourceOwnerUsername
-
- Resource owner user name. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
-
- String
-
-
- ResourceOwnerPassword
-
- Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
-
- String
-
-
- PassThru
-
- If specified will write Instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer type . This parameter is optional.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ServerId
-
- Identifier of existing authorization server. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Name
-
- Name of new authorization server. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Description
-
- Description of new authorization server. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- ClientRegistrationPageUrl
-
- Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- AuthorizationEndpointUrl
-
- Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- TokenEndpointUrl
-
- Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- ClientId
-
- Client ID of developer console which is the client application. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- ClientSecret
-
- Client secret of developer console which is the client application. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- AuthorizationRequestMethods
-
- Supported authorization request methods (GET, POST). This parameter is optional. Default value is GET.
-
- PsApiManagementAuthorizationRequestMethod[]
-
- PsApiManagementAuthorizationRequestMethod[]
-
-
-
-
-
-
- GrantTypes
-
- Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required.
-
- PsApiManagementGrantType[]
-
- PsApiManagementGrantType[]
-
-
-
-
-
-
- ClientAuthenticationMethods
-
- Supported client authentication methods (Basic, Body). This parameter is required.
-
- PsApiManagementClientAuthenticationMethod[]
-
- PsApiManagementClientAuthenticationMethod[]
-
-
-
-
-
-
- TokenBodyParameters
-
- Additional body parameters using application/x-www-form-urlencoded format. This parameter is optional.
-
- Hashtable
-
- Hashtable
-
-
-
-
-
-
- SupportState
-
- Whether to support state parameter. This parameter is optional.
-
- Nullable`1[Boolean]
-
- Nullable`1[Boolean]
-
-
-
-
-
-
- DefaultScope
-
- Authorization server default scope. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- AccessTokenSendingMethods
-
- Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required.
-
- PsApiManagementAccessTokenSendingMethod[]
-
- PsApiManagementAccessTokenSendingMethod[]
-
-
-
-
-
-
- ResourceOwnerUsername
-
- Resource owner user name. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
-
- String
-
- String
-
-
-
-
-
-
- ResourceOwnerPassword
-
- Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified will write Instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer type . This parameter is optional.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Set-AzureRmApiManagementAuthrizarionServer –Context $apimContext –ServerId 0123456789 –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signupv2' -AthorizationEndpointUrl 'https://contoso/authv2' -TokenEndpointUrl 'https://contoso/tokenv2' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'} –AccessTokenSendingMethods @('AuthorizationHeader')
-
- Set authorization server details.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Set-AzureRmApiManagementCertificate
-
- Sets certificate data.
-
-
-
-
- Set
- AzureApiManagementCertificate
-
-
-
- Sets certificate data.
-
-
-
- Set-AzureRmApiManagementCertificate
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- CertificateId
-
- Identifier of certificate. This parameter is required.
-
- String
-
-
- PfxFilePath
-
- Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified.
-
- String
-
-
- PfxPassword
-
- Password for the certificate. This parameter is required.
-
- String
-
-
- PassThru
-
- If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate type representing the modified group.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Set-AzureRmApiManagementCertificate
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- CertificateId
-
- Identifier of certificate. This parameter is required.
-
- String
-
-
- PfxBytes
-
- Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified.
-
- Byte[]
-
-
- PfxPassword
-
- Password for the certificate. This parameter is required.
-
- String
-
-
- PassThru
-
- If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate type representing the modified group.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- CertificateId
-
- Identifier of certificate. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- PfxFilePath
-
- Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified.
-
- String
-
- String
-
-
-
-
-
-
- PfxPassword
-
- Password for the certificate. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate type representing the modified group.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
- PfxBytes
-
- Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified.
-
- Byte[]
-
- Byte[]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Set-AzureRmApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –PfxFilePath 'C:\contoso\certificates\apimanagementnew.pfx' –PfxPassword 2222
-
- Set certificate.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Set-AzureRmApiManagementGroup
-
- Sets existing group details.
-
-
-
-
- Set
- AzureApiManagementGroup
-
-
-
- Sets existing group details.
-
-
-
- Set-AzureRmApiManagementGroup
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- GroupId
-
- Identifier of existing group. This parameter is required.
-
- String
-
-
- Name
-
- Group name. This parameter is optional.
-
- String
-
-
- Description
-
- Group description. This parameter is optional.
-
- String
-
-
- PassThru
-
- If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup type representing the modified group.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- GroupId
-
- Identifier of existing group. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Name
-
- Group name. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- Description
-
- Group description. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup type representing the modified group.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- New-AzureRmApiManagementGroup –Context $apimContext –Name 'Best devs'
-
- Create new group.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Set-AzureRmApiManagementOperation
-
- Set API Operation details.
-
-
-
-
- Set
- AzureApiManagementOperation
-
-
-
- Set API Operation details.
-
-
-
- Set-AzureRmApiManagementOperation
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ApiId
-
- Identifier of API. This parameter is required.
-
- String
-
-
- OperationId
-
- Identifier of existing operation. This parameter is required.
-
- String
-
-
- Name
-
- Display name of new operation. This parameter is required.
-
- String
-
-
- Method
-
- HTTP method of new operation. This parameter is required.
-
- String
-
-
- UrlTemplate
-
- URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required.
-
- String
-
-
- Description
-
- Description of new operation. This parameter is optional.
-
- String
-
-
- TemplateParameters
-
- Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values.
-
- PsApiManagementParameter[]
-
-
- Request
-
- Operation request details. This parameter is optional.
-
- PsApiManagementRequest
-
-
- Responses
-
- Array of possible operation responses. This parameter is optional.
-
- PsApiManagementResponse[]
-
-
- PassThru
-
- If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation type representing the modified operation.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ApiId
-
- Identifier of API. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- OperationId
-
- Identifier of existing operation. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Name
-
- Display name of new operation. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Method
-
- HTTP method of new operation. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- UrlTemplate
-
- URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Description
-
- Description of new operation. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- TemplateParameters
-
- Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values.
-
- PsApiManagementParameter[]
-
- PsApiManagementParameter[]
-
-
-
-
-
-
- Request
-
- Operation request details. This parameter is optional.
-
- PsApiManagementRequest
-
- PsApiManagementRequest
-
-
-
-
-
-
- Responses
-
- Array of possible operation responses. This parameter is optional.
-
- PsApiManagementResponse[]
-
- PsApiManagementResponse[]
-
-
-
-
-
-
- PassThru
-
- If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation type representing the modified operation.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- New-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId $operationId –Name 'Get resource' –Method GET –UrlTemplate '/newresource' –Description 'Use this operation to get newresource'
-
- Set operation details.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Set-AzureRmApiManagementPolicy
-
- Set specified scope policy.
-
-
-
-
- Set
- AzureApiManagementPolicy
-
-
-
- Set specified scope policy.
-
-
-
- Set-AzureRmApiManagementPolicy
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Format
-
- Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
-
- String
-
-
- Policy
-
- Policy document as a string. This parameter is required if -PolicyFilePath not specified.
-
- String
-
-
- PolicyFilePath
-
- Policy document file path. This parameter is required if -Policy not specified.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Set-AzureRmApiManagementPolicy
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Format
-
- Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
-
- String
-
-
- ProductId
-
- Identifier of existing product. If specified will set product-scope policy. This parameters is required.
-
- String
-
-
- Policy
-
- Policy document as a string. This parameter is required if -PolicyFilePath not specified.
-
- String
-
-
- PolicyFilePath
-
- Policy document file path. This parameter is required if -Policy not specified.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Set-AzureRmApiManagementPolicy
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Format
-
- Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
-
- String
-
-
- ApiId
-
- Identifier of existing API. If specified will set API-scope policy. This parameters is required.
-
- String
-
-
- Policy
-
- Policy document as a string. This parameter is required if -PolicyFilePath not specified.
-
- String
-
-
- PolicyFilePath
-
- Policy document file path. This parameter is required if -Policy not specified.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
- Set-AzureRmApiManagementPolicy
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- Format
-
- Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
-
- String
-
-
- ApiId
-
- Identifier of existing API. If specified will set API-scope policy. This parameters is required.
-
- String
-
-
- OperationId
-
- Identifier of existing operation. If specified with ApiId will set operation-scope policy. This parameters is required.
-
- String
-
-
- Policy
-
- Policy document as a string. This parameter is required if -PolicyFilePath not specified.
-
- String
-
-
- PolicyFilePath
-
- Policy document file path. This parameter is required if -Policy not specified.
-
- String
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- Format
-
- Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
-
- String
-
- String
-
-
-
-
-
-
- Policy
-
- Policy document as a string. This parameter is required if -PolicyFilePath not specified.
-
- String
-
- String
-
-
-
-
-
-
- PolicyFilePath
-
- Policy document file path. This parameter is required if -Policy not specified.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
- ProductId
-
- Identifier of existing product. If specified will set product-scope policy. This parameters is required.
-
- String
-
- String
-
-
-
-
-
-
- ApiId
-
- Identifier of existing API. If specified will set API-scope policy. This parameters is required.
-
- String
-
- String
-
-
-
-
-
-
- OperationId
-
- Identifier of existing operation. If specified with ApiId will set operation-scope policy. This parameters is required.
-
- String
-
- String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bool
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Set-AzureRmApiManagementPolicy –Context $apimContext –PolicyFilePath 'C:\contoso\policies\tenantpolicy.xml'
-
- Set tenant level policy from file named tenantpolicy.xml.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
-
- PS C:\>
-
- Set-AzureRmApiManagementPolicy –Context $apimContext –ProductId 0123456789 –Policy $policystring
-
- Set product-scope policy.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3 --------------------------
-
- PS C:\>
-
- Get-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –Policy $policystring
-
- Set API-scope policy.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 4 --------------------------
-
- PS C:\>
-
- Set-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 –Policy $policystring
-
- Set operation-scope policy.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Set-AzureRmApiManagementProduct
-
- Sets Product details.
-
-
-
-
- Set
- AzureApiManagementProduct
-
-
-
- Sets Product details.
-
-
-
- Set-AzureRmApiManagementProduct
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- ProductId
-
- Identifier of existing Product. This parameter is required.
-
- String
-
-
- Title
-
- Product title. This parameter is required.
-
- String
-
-
- Description
-
- Product description. This parameter is optional.
-
- String
-
-
- LegalTerms
-
- Legal terms of use of the product. This parameter is optional.
-
- String
-
-
- SubscriptionRequired
-
- Whether the product requires subscription or not. This parameter is optional. Default value is $true.
-
- Nullable`1[Boolean]
-
-
- ApprovalRequired
-
- Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false.
-
- Nullable`1[Boolean]
-
-
- SubscriptionsLimit
-
- Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1.
-
- Nullable`1[Int32]
-
-
- State
-
- Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished.
-
- Nullable`1[PsApiManagementProductState]
-
-
- PassThru
-
- If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct type representing the modified product.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- ProductId
-
- Identifier of existing Product. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Title
-
- Product title. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Description
-
- Product description. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- LegalTerms
-
- Legal terms of use of the product. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- SubscriptionRequired
-
- Whether the product requires subscription or not. This parameter is optional. Default value is $true.
-
- Nullable`1[Boolean]
-
- Nullable`1[Boolean]
-
-
-
-
-
-
- ApprovalRequired
-
- Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false.
-
- Nullable`1[Boolean]
-
- Nullable`1[Boolean]
-
-
-
-
-
-
- SubscriptionsLimit
-
- Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1.
-
- Nullable`1[Int32]
-
- Nullable`1[Int32]
-
-
-
-
-
-
- State
-
- Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished.
-
- Nullable`1[PsApiManagementProductState]
-
- Nullable`1[PsApiManagementProductState]
-
-
-
-
-
-
- PassThru
-
- If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct type representing the modified product.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Set-AzureRmApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $true –State 'NotPublished'
-
- Update product details: require subscription, unpublish.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Set-AzureRmApiManagementSubscription
-
- Sets existing subscription details.
-
-
-
-
- Set
- AzureApiManagementSubscription
-
-
-
- Sets existing subscription details.
-
-
-
- Set-AzureRmApiManagementSubscription
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- SubscriptionId
-
- Identifier of existing subscription. This parameter is required.
-
- String
-
-
- Name
-
- Subscription name. This parameter is optional.
-
- String
-
-
- PrimaryKey
-
- Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.
-
- String
-
-
- SecondaryKey
-
- Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.
-
- String
-
-
- State
-
- Subscription state. This parameter is optional. Default value is $null.
-
- Nullable`1[PsApiManagementSubscriptionState]
-
-
- ExpiresOn
-
- Subscription expiration date. This parameter is optional. Default value is $null.
-
- Nullable`1[DateTime]
-
-
- StateComment
-
- Subscription state comment. This parameter is optional. Default value is $null.
-
- String
-
-
- PassThru
-
- If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscripition type representing the modified subscription.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- SubscriptionId
-
- Identifier of existing subscription. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- Name
-
- Subscription name. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- PrimaryKey
-
- Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.
-
- String
-
- String
-
-
-
-
-
-
- SecondaryKey
-
- Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.
-
- String
-
- String
-
-
-
-
-
-
- State
-
- Subscription state. This parameter is optional. Default value is $null.
-
- Nullable`1[PsApiManagementSubscriptionState]
-
- Nullable`1[PsApiManagementSubscriptionState]
-
-
-
-
-
-
- ExpiresOn
-
- Subscription expiration date. This parameter is optional. Default value is $null.
-
- Nullable`1[DateTime]
-
- Nullable`1[DateTime]
-
-
-
-
-
-
- StateComment
-
- Subscription state comment. This parameter is optional. Default value is $null.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscripition type representing the modified subscription.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscripition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Set-AzureRmApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 –PrimaryKey '80450f7d0b6d481382113073f67822c1' –SencondaryKey '97d6112c3a8f48d5bf0266b7a09a761c' –State 'Active'
-
- Set subscription primary, secondary key and activate.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Set-AzureRmApiManagementUser
-
- Sets user details.
-
-
-
-
- Set
- AzureApiManagementUser
-
-
-
- Sets user details.
-
-
-
- Set-AzureRmApiManagementUser
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
-
- UserId
-
- Identifier of existing user. This parameter is required.
-
- String
-
-
- FirstName
-
- User first name. This parameter is optional. Must be 1 to 100 characters long.
-
- String
-
-
- LastName
-
- User last name. This parameter is optional. Must be 1 to 100 characters long.
-
- String
-
-
- Email
-
- User email. This parameter is optional.
-
- String
-
-
- Password
-
- User password. This parameter is optional.
-
- String
-
-
- State
-
- User state. This parameter is optional. Default value is Active.
-
- PsApiManagementUserState
-
-
- Note
-
- Note on the user. This parameter is optional. Default value is $null.
-
- String
-
-
- PassThru
-
- If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser type representing the modified user.
-
- SwitchParameter
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
-
-
-
-
- Context
-
- Instance of PsApiManagementContext. This parameter is required.
-
- PsApiManagementContext
-
- PsApiManagementContext
-
-
-
-
-
-
- UserId
-
- Identifier of existing user. This parameter is required.
-
- String
-
- String
-
-
-
-
-
-
- FirstName
-
- User first name. This parameter is optional. Must be 1 to 100 characters long.
-
- String
-
- String
-
-
-
-
-
-
- LastName
-
- User last name. This parameter is optional. Must be 1 to 100 characters long.
-
- String
-
- String
-
-
-
-
-
-
- Email
-
- User email. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- Password
-
- User password. This parameter is optional.
-
- String
-
- String
-
-
-
-
-
-
- State
-
- User state. This parameter is optional. Default value is Active.
-
- PsApiManagementUserState
-
- PsApiManagementUserState
-
-
-
-
-
-
- Note
-
- Note on the user. This parameter is optional. Default value is $null.
-
- String
-
- String
-
-
-
-
-
-
- PassThru
-
- If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser type representing the modified user.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
- Profile
-
- In-memory profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Keywords: azure, azurerm, arm, resource, management, manager, api, apimanagement, apimgmt, apism
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- Set-AzureRmApiManagementUser –Context $apimContext -UserId 0123456789 –Email 'ivanov.ivan@contoso.com' –Password 'asdfgh' –State 'Blocked'
-
- Set new user password and email and block the user.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+New-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Create/update resource' –Method 'PUT' –UrlTemplate '/resource/{rid}?q={query}' –Description 'Use this operation to create new or update existing resource' –TemplateParameters @($rid, $query) –Request $request –Responses @($response)
+
+ Script to create new operation with request and response details.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureRmApiManagementProduct
+
+ Creates new product.
+
+
+
+
+ New
+ AzureApiManagementProduct
+
+
+
+ Creates new product.
+
+
+
+ New-AzureRmApiManagementProduct
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ProductId
+
+ Identifier of new Product. This parameter is optional. If not specified will be generated.
+
+ String
+
+
+ Title
+
+ Product title. This parameter is required.
+
+ String
+
+
+ Description
+
+ Product description. This parameter is optional.
+
+ String
+
+
+ LegalTerms
+
+ Legal terms of use of the product. This parameter is optional.
+
+ String
+
+
+ SubscriptionRequired
+
+ Whether the product requires subscription or not. This parameter is optional. Default value is $true.
+
+ Nullable`1[Boolean]
+
+
+ ApprovalRequired
+
+ Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false.
+
+ Nullable`1[Boolean]
+
+
+ SubscriptionsLimit
+
+ Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1.
+
+ Nullable`1[Int32]
+
+
+ State
+
+ Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished.
+
+ Nullable`1[PsApiManagementProductState]
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ProductId
+
+ Identifier of new Product. This parameter is optional. If not specified will be generated.
+
+ String
+
+ String
+
+
+
+
+
+ Title
+
+ Product title. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Description
+
+ Product description. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ LegalTerms
+
+ Legal terms of use of the product. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ SubscriptionRequired
+
+ Whether the product requires subscription or not. This parameter is optional. Default value is $true.
+
+ Nullable`1[Boolean]
+
+ Nullable`1[Boolean]
+
+
+
+
+
+ ApprovalRequired
+
+ Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false.
+
+ Nullable`1[Boolean]
+
+ Nullable`1[Boolean]
+
+
+
+
+
+ SubscriptionsLimit
+
+ Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1.
+
+ Nullable`1[Int32]
+
+ Nullable`1[Int32]
+
+
+
+
+
+ State
+
+ Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished.
+
+ Nullable`1[PsApiManagementProductState]
+
+ Nullable`1[PsApiManagementProductState]
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ New-AzureRmApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $false –State 'Published'
+
+ Crete new product. No subscription required.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ New-AzureRmApiManagementProduct -Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Product requiring approval' –LegalTerms 'Strict Terms' –SubscriptionRequired $true
+ –ApprovalRequired $true –State 'Published' -SubscriptionsLimit 10
+
+ Create a product which requires approval
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureRmApiManagementSubscription
+
+ Creates new subscription.
+
+
+
+
+ New
+ AzureApiManagementSubscription
+
+
+
+ Creates new subscription.
+
+
+
+ New-AzureRmApiManagementSubscription
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ SubscriptionId
+
+ Identifier of new subscription. This parameter is optional. If not specified will be generated.
+
+ String
+
+
+ Name
+
+ Subscription name. This parameter is required.
+
+ String
+
+
+ UserId
+
+ Identifier of existing user - the subscriber. This parameter is required.
+
+ String
+
+
+ ProductId
+
+ Identifier of existing product to subscribe to. This parameter is required.
+
+ String
+
+
+ PrimaryKey
+
+ Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.
+
+ String
+
+
+ SecondaryKey
+
+ Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.
+
+ String
+
+
+ State
+
+ Subscription state. This parameter is optional. Default value is $null.
+
+ Nullable`1[PsApiManagementSubscriptionState]
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ SubscriptionId
+
+ Identifier of new subscription. This parameter is optional. If not specified will be generated.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Subscription name. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ UserId
+
+ Identifier of existing user - the subscriber. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ ProductId
+
+ Identifier of existing product to subscribe to. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PrimaryKey
+
+ Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.
+
+ String
+
+ String
+
+
+
+
+
+ SecondaryKey
+
+ Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.
+
+ String
+
+ String
+
+
+
+
+
+ State
+
+ Subscription state. This parameter is optional. Default value is $null.
+
+ Nullable`1[PsApiManagementSubscriptionState]
+
+ Nullable`1[PsApiManagementSubscriptionState]
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ New-AzureRmApiManagementSubscription –Context $apimContext –UserId 777 –ProductId 999
+
+ Subscribe existing user to existing product.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureRmApiManagementUser
+
+ Register new user.
+
+
+
+
+ New
+ AzureApiManagementUser
+
+
+
+ Register new user.
+
+
+
+ New-AzureRmApiManagementUser
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ UserId
+
+ Identifier of new user. This parameter is optional. If not specified will be genetated.
+
+ String
+
+
+ FirstName
+
+ User first name. This parameter is required. Must be 1 to 100 characters long.
+
+ String
+
+
+ LastName
+
+ User last name. This parameter is required. Must be 1 to 100 characters long.
+
+ String
+
+
+ Email
+
+ User email. This parameter is required.
+
+ String
+
+
+ Password
+
+ User password. This parameter is required.
+
+ String
+
+
+ State
+
+ User state. This parameter is optional. Default value is $null.
+
+ Nullable`1[PsApiManagementUserState]
+
+
+ Note
+
+ Note on the user. This parameter is optional. Default value is $null.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ UserId
+
+ Identifier of new user. This parameter is optional. If not specified will be genetated.
+
+ String
+
+ String
+
+
+
+
+
+ FirstName
+
+ User first name. This parameter is required. Must be 1 to 100 characters long.
+
+ String
+
+ String
+
+
+
+
+
+ LastName
+
+ User last name. This parameter is required. Must be 1 to 100 characters long.
+
+ String
+
+ String
+
+
+
+
+
+ Email
+
+ User email. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Password
+
+ User password. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ State
+
+ User state. This parameter is optional. Default value is $null.
+
+ Nullable`1[PsApiManagementUserState]
+
+ Nullable`1[PsApiManagementUserState]
+
+
+
+
+
+ Note
+
+ Note on the user. This parameter is optional. Default value is $null.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ New-AzureRmApiManagementUser –Context $apimContext –FirstName 'Ivan' –LastName 'Ivanov' –Email 'ivan.ivanov@contoso.com' –Password 'qwerty'
+
+ Register new user.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementApi
+
+ Remove existing API.
+
+
+
+
+ Remove
+ AzureApiManagementApi
+
+
+
+ Remove existing API.
+
+
+
+ Remove-AzureRmApiManagementApi
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ApiId
+
+ Identifier of the API. This parameter is required.
+
+ String
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional.
+
+ SwitchParameter
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ApiId
+
+ Identifier of the API. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementApi –Context $apimContext –ApiId 0123456789
+
+ Remove existing API.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementApiFromProduct
+
+ Removes existing API from existing Product.
+
+
+
+
+ Remove
+ AzureApiManagementApiFromProduct
+
+
+
+ Removes existing API from existing Product.
+
+
+
+ Remove-AzureRmApiManagementApiFromProduct
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ProductId
+
+ Identifier of existing Product to remove API from. This parameter is required.
+
+ String
+
+
+ ApiId
+
+ Identifier of existing APIs to remove from the product. This parameter is required.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ProductId
+
+ Identifier of existing Product to remove API from. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ ApiId
+
+ Identifier of existing APIs to remove from the product. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementApiFromProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001 –PassThru
+
+ Remove existing API from an existing Product.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementAuthorizationServer
+
+ Deletes existing authorization server.
+
+
+
+
+ Remove
+ AzureApiManagementAuthorizationServer
+
+
+
+ Deletes existing authorization server.
+
+
+
+ Remove-AzureRmApiManagementAuthorizationServer
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ServerId
+
+ Identifier of existing authorization server. This parameter is required.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ServerId
+
+ Identifier of existing authorization server. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+
+
+ Delete existing authorization server.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementCertificate
+
+ Deletes existing certificate.
+
+
+
+
+ Remove
+ AzureApiManagementCertificate
+
+
+
+ Deletes existing certificate.
+
+
+
+ Remove-AzureRmApiManagementCertificate
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ CertificateId
+
+ Identifier of existing certificate. This parameter is required.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ CertificateId
+
+ Identifier of existing certificate. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –Force
+
+ Delete existing certificate.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementGroup
+
+ Deletes existing group.
+
+
+
+
+ Remove
+ AzureApiManagementGroup
+
+
+
+ Deletes existing group.
+
+
+
+ Remove-AzureRmApiManagementGroup
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ GroupId
+
+ Identifier of existing group. This parameter is required.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ GroupId
+
+ Identifier of existing group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementGroup –Context $apimContext –GroupId 0123456789 –Force
+
+ Delete existing group.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementOperation
+
+ Remove existing operation.
+
+
+
+
+ Remove
+ AzureApiManagementOperation
+
+
+
+ Remove existing operation.
+
+
+
+ Remove-AzureRmApiManagementOperation
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ApiId
+
+ Identifier of API. This parameter is required.
+
+ String
+
+
+ OperationId
+
+ Identifier of API operation. This parameter is required.
+
+ String
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional.
+
+ SwitchParameter
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ApiId
+
+ Identifier of API. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ OperationId
+
+ Identifier of API operation. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementOperation –Context $apimContext –ApiId 0123456789 –OperationId 9876543210 –Force
+
+ Remove existing API Operation.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementPolicy
+
+ Removes policy from specified scope.
+
+
+
+
+ Remove
+ AzureApiManagementPolicy
+
+
+
+ Removes policy from specified scope.
+
+
+
+ Remove-AzureRmApiManagementPolicy
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Remove-AzureRmApiManagementPolicy
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ProductId
+
+ Identifier of existing product. If specified will remove product-scope policy. This parameters is required.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Remove-AzureRmApiManagementPolicy
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ApiId
+
+ Identifier of existing API. If specified will remove API-scope policy. This parameters is required.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Remove-AzureRmApiManagementPolicy
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ApiId
+
+ Identifier of existing API. If specified will remove API-scope policy. This parameters is required.
+
+ String
+
+
+ OperationId
+
+ Identifier of existing operation. If specified with ApiId will remove operation-scope policy. This parameters is required.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ ProductId
+
+ Identifier of existing product. If specified will remove product-scope policy. This parameters is required.
+
+ String
+
+ String
+
+
+
+
+
+ ApiId
+
+ Identifier of existing API. If specified will remove API-scope policy. This parameters is required.
+
+ String
+
+ String
+
+
+
+
+
+ OperationId
+
+ Identifier of existing operation. If specified with ApiId will remove operation-scope policy. This parameters is required.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementPolicy –Context $apimContext
+
+ Remove tenant level policy.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementPolicy –Context $apimContext –ProductId 0123456789
+
+ Remove product-scope policy.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210
+
+ Remove API-scope policy.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 4 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777
+
+ Remove operation-scope policy.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementProduct
+
+ Remove existing product.
+
+
+
+
+ Remove
+ AzureApiManagementProduct
+
+
+
+ Remove existing product.
+
+
+
+ Remove-AzureRmApiManagementProduct
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ProductId
+
+ Identifier of existing Product. This parameter is required.
+
+ String
+
+
+ DeleteSubscriptions
+
+ Whether to delete subscriptions to the product or not. If not set and subscriptions exists exception will be thrown. This parameter is optional.
+
+ SwitchParameter
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional.
+
+ SwitchParameter
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ProductId
+
+ Identifier of existing Product. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ DeleteSubscriptions
+
+ Whether to delete subscriptions to the product or not. If not set and subscriptions exists exception will be thrown. This parameter is optional.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementProduct –Context $apimContext –Id 0123456789 -DeleteSubscriptions –Force
+
+ Remove existing Product with all subscriptions.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementProductFromGroup
+
+ Removes existing product from existing group.
+
+
+
+
+ Remove
+ AzureApiManagementProductFromGroup
+
+
+
+ Removes existing product from existing group. In other words removes group assignment from product.
+
+
+
+ Remove-AzureRmApiManagementProductFromGroup
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ GroupId
+
+ Identifier of existing group. This parameter is required.
+
+ String
+
+
+ ProductId
+
+ Identifier of existing product. This parameter is required.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ GroupId
+
+ Identifier of existing group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ ProductId
+
+ Identifier of existing product. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementProductFromGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789
+
+ Remove existing product from an existing group.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementSubscription
+
+ Deletes existing subscription.
+
+
+
+
+ Remove
+ AzureApiManagementSubscription
+
+
+
+ Deletes existing subscription.
+
+
+
+ Remove-AzureRmApiManagementSubscription
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ SubscriptionId
+
+ Identifier of existing subscription. This parameter is required.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ SubscriptionId
+
+ Identifier of existing subscription. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 -Force
+
+ Delete existing subscription.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementUser
+
+ Deletes existing user.
+
+
+
+
+ Remove
+ AzureApiManagementUser
+
+
+
+ Deletes existing user.
+
+
+
+ Remove-AzureRmApiManagementUser
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ UserId
+
+ Identifier of existing user. This parameter is required.
+
+ String
+
+
+ DeleteSubscriptions
+
+ Whether to delete subscriptions to the product or not. If not set and subscription exists exception will be thrown. This parameter is optional.
+
+ SwitchParameter
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ UserId
+
+ Identifier of existing user. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ DeleteSubscriptions
+
+ Whether to delete subscriptions to the product or not. If not set and subscription exists exception will be thrown. This parameter is optional.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementUser –Context $apimContext –UserId 0123456789 –Force
+
+ Delete existing user.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementUserFromGroup
+
+ Removes existing user from existing group.
+
+
+
+
+ Remove
+ AzureApiManagementUserFromGroup
+
+
+
+ Removes existing user from existing group.
+
+
+
+ Remove-AzureRmApiManagementUserFromGroup
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ GroupId
+
+ Identifier of existing group. This parameter is required.
+
+ String
+
+
+ UserId
+
+ Identifier of existing user. This parameter is required.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ GroupId
+
+ Identifier of existing group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ UserId
+
+ Identifier of existing user. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementUserFromGroup –Context $apimContext –GroupId 0001 –UserId 0123456789
+
+ Remove existing user from an existing group.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementApi
+
+ Set API details.
+
+
+
+
+ Set
+ AzureApiManagementApi
+
+
+
+ Set API details.
+
+
+
+ Set-AzureRmApiManagementApi
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ApiId
+
+ Identifier of existing API. This parameter is required.
+
+ String
+
+
+ Name
+
+ Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required.
+
+ String
+
+
+ Description
+
+ Web API description. This parameter is optional.
+
+ String
+
+
+ ServiceUrl
+
+ A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required.
+
+ String
+
+
+ Path
+
+ Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.
+
+ String
+
+
+ Protocols
+
+ Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null.
+
+ PsApiManagementSchema[]
+
+
+ AuthorizationServerId
+
+ OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified.
+
+ String
+
+
+ AuthorizationScope
+
+ OAuth operations scope. This parameter is optional. Default value is $null.
+
+ String
+
+
+ SubscriptionKeyHeaderName
+
+ Subscription key header name. This parameter is optional. Default value is $null.
+
+ String
+
+
+ SubscriptionKeyQueryParamName
+
+ Subscription key query string parameter name. This parameter is optional. Default value is $null.
+
+ String
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi type representing the set API.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ApiId
+
+ Identifier of existing API. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Description
+
+ Web API description. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ ServiceUrl
+
+ A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Path
+
+ Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.
+
+ String
+
+ String
+
+
+
+
+
+ Protocols
+
+ Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null.
+
+ PsApiManagementSchema[]
+
+ PsApiManagementSchema[]
+
+
+
+
+
+ AuthorizationServerId
+
+ OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified.
+
+ String
+
+ String
+
+
+
+
+
+ AuthorizationScope
+
+ OAuth operations scope. This parameter is optional. Default value is $null.
+
+ String
+
+ String
+
+
+
+
+
+ SubscriptionKeyHeaderName
+
+ Subscription key header name. This parameter is optional. Default value is $null.
+
+ String
+
+ String
+
+
+
+
+
+ SubscriptionKeyQueryParamName
+
+ Subscription key query string parameter name. This parameter is optional. Default value is $null.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi type representing the set API.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Set-AzureRmApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('https') –Description 'Responds with what was sent' –Path 'echo'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementAuthorizationServer
+
+ Sets authorization server details.
+
+
+
+
+ Set
+ AzureApiManagementAuthorizationServer
+
+
+
+ Sets authorization server details.
+
+
+
+ Set-AzureRmApiManagementAuthorizationServer
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ServerId
+
+ Identifier of existing authorization server. This parameter is required.
+
+ String
+
+
+ Name
+
+ Name of new authorization server. This parameter is required.
+
+ String
+
+
+ Description
+
+ Description of new authorization server. This parameter is optional.
+
+ String
+
+
+ ClientRegistrationPageUrl
+
+ Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required.
+
+ String
+
+
+ AuthorizationEndpointUrl
+
+ Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required.
+
+ String
+
+
+ TokenEndpointUrl
+
+ Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required.
+
+ String
+
+
+ ClientId
+
+ Client ID of developer console which is the client application. This parameter is required.
+
+ String
+
+
+ ClientSecret
+
+ Client secret of developer console which is the client application. This parameter is optional.
+
+ String
+
+
+ AuthorizationRequestMethods
+
+ Supported authorization request methods (GET, POST). This parameter is optional. Default value is GET.
+
+ PsApiManagementAuthorizationRequestMethod[]
+
+
+ GrantTypes
+
+ Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required.
+
+ PsApiManagementGrantType[]
+
+
+ ClientAuthenticationMethods
+
+ Supported client authentication methods (Basic, Body). This parameter is required.
+
+ PsApiManagementClientAuthenticationMethod[]
+
+
+ TokenBodyParameters
+
+ Additional body parameters using application/x-www-form-urlencoded format. This parameter is optional.
+
+ Hashtable
+
+
+ SupportState
+
+ Whether to support state parameter. This parameter is optional.
+
+ Nullable`1[Boolean]
+
+
+ DefaultScope
+
+ Authorization server default scope. This parameter is optional.
+
+ String
+
+
+ AccessTokenSendingMethods
+
+ Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required.
+
+ PsApiManagementAccessTokenSendingMethod[]
+
+
+ ResourceOwnerUsername
+
+ Resource owner user name. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
+
+ String
+
+
+ ResourceOwnerPassword
+
+ Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
+
+ String
+
+
+ PassThru
+
+ If specified will write Instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer type . This parameter is optional.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ServerId
+
+ Identifier of existing authorization server. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Name of new authorization server. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Description
+
+ Description of new authorization server. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ ClientRegistrationPageUrl
+
+ Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ AuthorizationEndpointUrl
+
+ Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ TokenEndpointUrl
+
+ Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ ClientId
+
+ Client ID of developer console which is the client application. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ ClientSecret
+
+ Client secret of developer console which is the client application. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ AuthorizationRequestMethods
+
+ Supported authorization request methods (GET, POST). This parameter is optional. Default value is GET.
+
+ PsApiManagementAuthorizationRequestMethod[]
+
+ PsApiManagementAuthorizationRequestMethod[]
+
+
+
+
+
+ GrantTypes
+
+ Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required.
+
+ PsApiManagementGrantType[]
+
+ PsApiManagementGrantType[]
+
+
+
+
+
+ ClientAuthenticationMethods
+
+ Supported client authentication methods (Basic, Body). This parameter is required.
+
+ PsApiManagementClientAuthenticationMethod[]
+
+ PsApiManagementClientAuthenticationMethod[]
+
+
+
+
+
+ TokenBodyParameters
+
+ Additional body parameters using application/x-www-form-urlencoded format. This parameter is optional.
+
+ Hashtable
+
+ Hashtable
+
+
+
+
+
+ SupportState
+
+ Whether to support state parameter. This parameter is optional.
+
+ Nullable`1[Boolean]
+
+ Nullable`1[Boolean]
+
+
+
+
+
+ DefaultScope
+
+ Authorization server default scope. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ AccessTokenSendingMethods
+
+ Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required.
+
+ PsApiManagementAccessTokenSendingMethod[]
+
+ PsApiManagementAccessTokenSendingMethod[]
+
+
+
+
+
+ ResourceOwnerUsername
+
+ Resource owner user name. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
+
+ String
+
+ String
+
+
+
+
+
+ ResourceOwnerPassword
+
+ Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified will write Instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer type . This parameter is optional.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Set-AzureRmApiManagementAuthrizarionServer –Context $apimContext –ServerId 0123456789 –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signupv2' -AthorizationEndpointUrl 'https://contoso/authv2' -TokenEndpointUrl 'https://contoso/tokenv2' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'} –AccessTokenSendingMethods @('AuthorizationHeader')
+
+ Set authorization server details.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementCertificate
+
+ Sets certificate data.
+
+
+
+
+ Set
+ AzureApiManagementCertificate
+
+
+
+ Sets certificate data.
+
+
+
+ Set-AzureRmApiManagementCertificate
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ CertificateId
+
+ Identifier of certificate. This parameter is required.
+
+ String
+
+
+ PfxFilePath
+
+ Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified.
+
+ String
+
+
+ PfxPassword
+
+ Password for the certificate. This parameter is required.
+
+ String
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate type representing the modified group.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Set-AzureRmApiManagementCertificate
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ CertificateId
+
+ Identifier of certificate. This parameter is required.
+
+ String
+
+
+ PfxBytes
+
+ Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified.
+
+ Byte[]
+
+
+ PfxPassword
+
+ Password for the certificate. This parameter is required.
+
+ String
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate type representing the modified group.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ CertificateId
+
+ Identifier of certificate. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PfxFilePath
+
+ Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified.
+
+ String
+
+ String
+
+
+
+
+
+ PfxPassword
+
+ Password for the certificate. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate type representing the modified group.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ PfxBytes
+
+ Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified.
+
+ Byte[]
+
+ Byte[]
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Set-AzureRmApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –PfxFilePath 'C:\contoso\certificates\apimanagementnew.pfx' –PfxPassword 2222
+
+ Set certificate.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementGroup
+
+ Sets existing group details.
+
+
+
+
+ Set
+ AzureApiManagementGroup
+
+
+
+ Sets existing group details.
+
+
+
+ Set-AzureRmApiManagementGroup
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ GroupId
+
+ Identifier of existing group. This parameter is required.
+
+ String
+
+
+ Name
+
+ Group name. This parameter is optional.
+
+ String
+
+
+ Description
+
+ Group description. This parameter is optional.
+
+ String
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup type representing the modified group.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ GroupId
+
+ Identifier of existing group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Group name. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ Description
+
+ Group description. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup type representing the modified group.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ New-AzureRmApiManagementGroup –Context $apimContext –Name 'Best devs'
+
+ Create new group.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementOperation
+
+ Set API Operation details.
+
+
+
+
+ Set
+ AzureApiManagementOperation
+
+
+
+ Set API Operation details.
+
+
+
+ Set-AzureRmApiManagementOperation
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ApiId
+
+ Identifier of API. This parameter is required.
+
+ String
+
+
+ OperationId
+
+ Identifier of existing operation. This parameter is required.
+
+ String
+
+
+ Name
+
+ Display name of new operation. This parameter is required.
+
+ String
+
+
+ Method
+
+ HTTP method of new operation. This parameter is required.
+
+ String
+
+
+ UrlTemplate
+
+ URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required.
+
+ String
+
+
+ Description
+
+ Description of new operation. This parameter is optional.
+
+ String
+
+
+ TemplateParameters
+
+ Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values.
+
+ PsApiManagementParameter[]
+
+
+ Request
+
+ Operation request details. This parameter is optional.
+
+ PsApiManagementRequest
+
+
+ Responses
+
+ Array of possible operation responses. This parameter is optional.
+
+ PsApiManagementResponse[]
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation type representing the modified operation.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ApiId
+
+ Identifier of API. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ OperationId
+
+ Identifier of existing operation. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Display name of new operation. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Method
+
+ HTTP method of new operation. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ UrlTemplate
+
+ URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Description
+
+ Description of new operation. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ TemplateParameters
+
+ Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values.
+
+ PsApiManagementParameter[]
+
+ PsApiManagementParameter[]
+
+
+
+
+
+ Request
+
+ Operation request details. This parameter is optional.
+
+ PsApiManagementRequest
+
+ PsApiManagementRequest
+
+
+
+
+
+ Responses
+
+ Array of possible operation responses. This parameter is optional.
+
+ PsApiManagementResponse[]
+
+ PsApiManagementResponse[]
+
+
+
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation type representing the modified operation.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ New-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId $operationId –Name 'Get resource' –Method GET –UrlTemplate '/newresource' –Description 'Use this operation to get newresource'
+
+ Set operation details.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementPolicy
+
+ Set specified scope policy.
+
+
+
+
+ Set
+ AzureApiManagementPolicy
+
+
+
+ Set specified scope policy.
+
+
+
+ Set-AzureRmApiManagementPolicy
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Format
+
+ Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
+
+ String
+
+
+ Policy
+
+ Policy document as a string. This parameter is required if -PolicyFilePath not specified.
+
+ String
+
+
+ PolicyFilePath
+
+ Policy document file path. This parameter is required if -Policy not specified.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Set-AzureRmApiManagementPolicy
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Format
+
+ Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
+
+ String
+
+
+ ProductId
+
+ Identifier of existing product. If specified will set product-scope policy. This parameters is required.
+
+ String
+
+
+ Policy
+
+ Policy document as a string. This parameter is required if -PolicyFilePath not specified.
+
+ String
+
+
+ PolicyFilePath
+
+ Policy document file path. This parameter is required if -Policy not specified.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Set-AzureRmApiManagementPolicy
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Format
+
+ Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
+
+ String
+
+
+ ApiId
+
+ Identifier of existing API. If specified will set API-scope policy. This parameters is required.
+
+ String
+
+
+ Policy
+
+ Policy document as a string. This parameter is required if -PolicyFilePath not specified.
+
+ String
+
+
+ PolicyFilePath
+
+ Policy document file path. This parameter is required if -Policy not specified.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Set-AzureRmApiManagementPolicy
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Format
+
+ Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
+
+ String
+
+
+ ApiId
+
+ Identifier of existing API. If specified will set API-scope policy. This parameters is required.
+
+ String
+
+
+ OperationId
+
+ Identifier of existing operation. If specified with ApiId will set operation-scope policy. This parameters is required.
+
+ String
+
+
+ Policy
+
+ Policy document as a string. This parameter is required if -PolicyFilePath not specified.
+
+ String
+
+
+ PolicyFilePath
+
+ Policy document file path. This parameter is required if -Policy not specified.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ Format
+
+ Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.
+
+ String
+
+ String
+
+
+
+
+
+ Policy
+
+ Policy document as a string. This parameter is required if -PolicyFilePath not specified.
+
+ String
+
+ String
+
+
+
+
+
+ PolicyFilePath
+
+ Policy document file path. This parameter is required if -Policy not specified.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ ProductId
+
+ Identifier of existing product. If specified will set product-scope policy. This parameters is required.
+
+ String
+
+ String
+
+
+
+
+
+ ApiId
+
+ Identifier of existing API. If specified will set API-scope policy. This parameters is required.
+
+ String
+
+ String
+
+
+
+
+
+ OperationId
+
+ Identifier of existing operation. If specified with ApiId will set operation-scope policy. This parameters is required.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Set-AzureRmApiManagementPolicy –Context $apimContext –PolicyFilePath 'C:\contoso\policies\tenantpolicy.xml'
+
+ Set tenant level policy from file named tenantpolicy.xml.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ Set-AzureRmApiManagementPolicy –Context $apimContext –ProductId 0123456789 –Policy $policystring
+
+ Set product-scope policy.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –Policy $policystring
+
+ Set API-scope policy.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 4 --------------------------
+
+ PS C:\>
+
+ Set-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 –Policy $policystring
+
+ Set operation-scope policy.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementProduct
+
+ Sets Product details.
+
+
+
+
+ Set
+ AzureApiManagementProduct
+
+
+
+ Sets Product details.
+
+
+
+ Set-AzureRmApiManagementProduct
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ ProductId
+
+ Identifier of existing Product. This parameter is required.
+
+ String
+
+
+ Title
+
+ Product title. This parameter is required.
+
+ String
+
+
+ Description
+
+ Product description. This parameter is optional.
+
+ String
+
+
+ LegalTerms
+
+ Legal terms of use of the product. This parameter is optional.
+
+ String
+
+
+ SubscriptionRequired
+
+ Whether the product requires subscription or not. This parameter is optional. Default value is $true.
+
+ Nullable`1[Boolean]
+
+
+ ApprovalRequired
+
+ Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false.
+
+ Nullable`1[Boolean]
+
+
+ SubscriptionsLimit
+
+ Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1.
+
+ Nullable`1[Int32]
+
+
+ State
+
+ Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished.
+
+ Nullable`1[PsApiManagementProductState]
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct type representing the modified product.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ ProductId
+
+ Identifier of existing Product. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Title
+
+ Product title. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Description
+
+ Product description. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ LegalTerms
+
+ Legal terms of use of the product. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ SubscriptionRequired
+
+ Whether the product requires subscription or not. This parameter is optional. Default value is $true.
+
+ Nullable`1[Boolean]
+
+ Nullable`1[Boolean]
+
+
+
+
+
+ ApprovalRequired
+
+ Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false.
+
+ Nullable`1[Boolean]
+
+ Nullable`1[Boolean]
+
+
+
+
+
+ SubscriptionsLimit
+
+ Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1.
+
+ Nullable`1[Int32]
+
+ Nullable`1[Int32]
+
+
+
+
+
+ State
+
+ Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished.
+
+ Nullable`1[PsApiManagementProductState]
+
+ Nullable`1[PsApiManagementProductState]
+
+
+
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct type representing the modified product.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Set-AzureRmApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $true –State 'NotPublished'
+
+ Update product details: require subscription, unpublish.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementSubscription
+
+ Sets existing subscription details.
+
+
+
+
+ Set
+ AzureApiManagementSubscription
+
+
+
+ Sets existing subscription details.
+
+
+
+ Set-AzureRmApiManagementSubscription
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ SubscriptionId
+
+ Identifier of existing subscription. This parameter is required.
+
+ String
+
+
+ Name
+
+ Subscription name. This parameter is optional.
+
+ String
+
+
+ PrimaryKey
+
+ Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.
+
+ String
+
+
+ SecondaryKey
+
+ Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.
+
+ String
+
+
+ State
+
+ Subscription state. This parameter is optional. Default value is $null.
+
+ Nullable`1[PsApiManagementSubscriptionState]
+
+
+ ExpiresOn
+
+ Subscription expiration date. This parameter is optional. Default value is $null.
+
+ Nullable`1[DateTime]
+
+
+ StateComment
+
+ Subscription state comment. This parameter is optional. Default value is $null.
+
+ String
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscripition type representing the modified subscription.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ SubscriptionId
+
+ Identifier of existing subscription. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Subscription name. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ PrimaryKey
+
+ Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.
+
+ String
+
+ String
+
+
+
+
+
+ SecondaryKey
+
+ Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.
+
+ String
+
+ String
+
+
+
+
+
+ State
+
+ Subscription state. This parameter is optional. Default value is $null.
+
+ Nullable`1[PsApiManagementSubscriptionState]
+
+ Nullable`1[PsApiManagementSubscriptionState]
+
+
+
+
+
+ ExpiresOn
+
+ Subscription expiration date. This parameter is optional. Default value is $null.
+
+ Nullable`1[DateTime]
+
+ Nullable`1[DateTime]
+
+
+
+
+
+ StateComment
+
+ Subscription state comment. This parameter is optional. Default value is $null.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscripition type representing the modified subscription.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscripition
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Set-AzureRmApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 –PrimaryKey '80450f7d0b6d481382113073f67822c1' –SencondaryKey '97d6112c3a8f48d5bf0266b7a09a761c' –State 'Active'
+
+ Set subscription primary, secondary key and activate.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementUser
+
+ Sets user details.
+
+
+
+
+ Set
+ AzureApiManagementUser
+
+
+
+ Sets user details.
+
+
+
+ Set-AzureRmApiManagementUser
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ UserId
+
+ Identifier of existing user. This parameter is required.
+
+ String
+
+
+ FirstName
+
+ User first name. This parameter is optional. Must be 1 to 100 characters long.
+
+ String
+
+
+ LastName
+
+ User last name. This parameter is optional. Must be 1 to 100 characters long.
+
+ String
+
+
+ Email
+
+ User email. This parameter is optional.
+
+ String
+
+
+ Password
+
+ User password. This parameter is optional.
+
+ String
+
+
+ State
+
+ User state. This parameter is optional. Default value is Active.
+
+ PsApiManagementUserState
+
+
+ Note
+
+ Note on the user. This parameter is optional. Default value is $null.
+
+ String
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser type representing the modified user.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ UserId
+
+ Identifier of existing user. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ FirstName
+
+ User first name. This parameter is optional. Must be 1 to 100 characters long.
+
+ String
+
+ String
+
+
+
+
+
+ LastName
+
+ User last name. This parameter is optional. Must be 1 to 100 characters long.
+
+ String
+
+ String
+
+
+
+
+
+ Email
+
+ User email. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ Password
+
+ User password. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ State
+
+ User state. This parameter is optional. Default value is Active.
+
+ PsApiManagementUserState
+
+ PsApiManagementUserState
+
+
+
+
+
+ Note
+
+ Note on the user. This parameter is optional. Default value is $null.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser type representing the modified user.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Set-AzureRmApiManagementUser –Context $apimContext -UserId 0123456789 –Email 'ivanov.ivan@contoso.com' –Password 'asdfgh' –State 'Blocked'
+
+ Set new user password and email and block the user.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementLogger
+
+ Gets the details of the Logger.
+
+
+
+
+ Get
+ AzureRmApiManagementLogger
+
+
+
+ Gets the details of the Logger.
+
+
+
+ Get-AzureRmApiManagementLogger
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementLogger
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ LoggerId
+
+ Identifier of a logger. If specified will try to find logger by the identifier. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+ LoggerId
+
+ Identifier of a logger. If specified will try to find logger by the identifier. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger>
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger.PsApiManagementLogger
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementLogger –Context $apimContext
+
+ Gets a List of all the Loggers.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementLogger -Context $apimContext -LoggerId 123
+
+ Gets a Logger by LoggerId.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementProperty
+
+ Gets the details of the Property.
+
+
+
+
+ Get
+ AzureRmApiManagementProperty
+
+
+
+ Gets the details of the Property.
+
+
+
+ Get-AzureRmApiManagementProperty
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementProperty
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ PropertyId
+
+ Identifier of a property. If specified will try to find property by the identifier. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementProperty
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Name
+
+ Finds Properties with names containing the string Name. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementProperty
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Tag
+
+ Finds Properties associated with a Tag. If specified will return all properties associated with a tag. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+ PropertyId
+
+ Identifier of a property. If specified will try to find property by the identifier. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Finds Properties with names containing the string Name. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ Tag
+
+ Finds Properties associated with a Tag. If specified will return all properties associated with a tag. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProperty>
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger.PsApiManagementProperty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementProperty -Context $apimContext
+
+ Get all Properties.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementProperty -Context $apimContext -Name 'onesdk'
+
+ Gets all Properties with Names containing 'onesdk'
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementProperty -Context $apimContext -Tag 'sdk'
+
+ Gets all Properties associated with Tag 'sdk'
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 4 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementProperty -Context $apimContext -PropertyId $propertyId
+
+ Gets the Property associated to the PropertyId.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureRmApiManagementLogger
+
+ Creates a new Logger.
+
+
+
+
+ New
+ AzureRmApiManagementLogger
+
+
+
+ Creates a new Logger.
+
+
+
+ New-AzureRmApiManagementLogger
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ LoggerId
+
+ Identifier of new logger. This parameter is optional. If not specified will be generated.
+
+ String
+
+
+ Name
+
+ Event hub entity name from Azure classic portal. This parameter is required.
+
+ String
+
+
+ ConnectionString
+
+ EventHub Connection String starting with "Endpoint=endpoint and key from Azure classic portal". The connection string should have Key with Send Rights configured. This parameter is required.
+
+ String
+
+
+ Description
+
+ Logger description. This parameter is optional.
+
+ String
+
+
+ IsBuffered
+
+ Determines whether the records in the logger are buffered before publishing. This property is optional and the default value is true for higher throughput. When records are buffered, they are sent to the Event hub every 15 seconds, or whenever the buffer receives 256kb of messages
+
+ Nullable`1[Boolean]
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ LoggerId
+
+ Identifier of new logger. This parameter is optional. If not specified will be generated.
+
+ String
+
+ String
+
+
+
+
+
+ Description
+
+ Logger description. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ IsBuffered
+
+ Determines whether the records in the logger are buffered before publishing. This property is optional and the default value is true for higher throughput. When records are buffered, they are sent to the Event hub every 15 seconds, or whenever the buffer receives 256kb of messages
+
+ Nullable`1[Boolean]
+
+ Nullable`1[Boolean]
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Event hub entity name from Azure classic portal. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ ConnectionString
+
+ EventHub Connection String starting with "Endpoint=endpoint and key from Azure classic portal". The connection string should have Key with Send Rights configured. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ New-AzureRmApiManagementLogger -Context $apimContext -LoggerId 123 -Name sdkeventhub -ConnectionString "Endpoint=sb://sdkeventhubNamespace.servicebus.windows.net/;SharedAccessKeyName=SendKey;SharedAccessKey=<key>" -Description "sdk eventhub logger"
+
+ Creates a new Logger.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureRmApiManagementProperty
+
+ Creates a new Property.
+
+
+
+
+ New
+ AzureRmApiManagementProperty
+
+
+
+ Creates a new Property.
+
+
+
+ New-AzureRmApiManagementProperty
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ PropertyId
+
+ Identifier of new property. This parameter is optional. If not specified will be generated. Maximum length is 256 characters.
+
+ String
+
+
+ Name
+
+ Name of the property. Maximum length is 100 characters. It may contain only letters, digits, period, dash, and underscore characters. This parameter is required.
+
+ String
+
+
+ Value
+
+ Value of the property. Can contain policy expressions. Maximum length is 1000 characters. It may not be empty or consist only of whitespace. This parameter is required.
+
+ String
+
+
+ Secret
+
+ Determines whether the value is a secret and should be encrypted or not. This parameter is optional. Default Value is not Secret.
+
+ SwitchParameter
+
+
+ Tags
+
+ Tags to be associated with Property. This parameter is optional.
+
+ String[]
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ PropertyId
+
+ Identifier of new property. This parameter is optional. If not specified will be generated. Maximum length is 256 characters.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Name of the property. Maximum length is 100 characters. It may contain only letters, digits, period, dash, and underscore characters. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Value
+
+ Value of the property. Can contain policy expressions. Maximum length is 1000 characters. It may not be empty or consist only of whitespace. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+ Secret
+
+ Determines whether the value is a secret and should be encrypted or not. This parameter is optional. Default Value is not Secret.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Tags
+
+ Tags to be associated with Property. This parameter is optional.
+
+ String[]
+
+ String[]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProperty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ $tags = 'sdk', 'powershell'
+New-AzureRmApiManagementProperty -Context $apimContext -PropertyId 123 -Name propertyName -Value propertyValue -Tags $tags
+
+ Creates a Property with Two Tags associated to it.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ New-AzureRmApiManagementProperty -Context $apimContext -PropertyId 345 -Name secretProperty -Value secretPropertyValue -Secret
+
+ Creates a Property whose value is Encrypted.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementLogger
+
+ Deletes existing Logger.
+
+
+
+
+ Remove
+ AzureRmApiManagementLogger
+
+
+
+ Deletes existing Logger.
+
+
+
+ Remove-AzureRmApiManagementLogger
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ LoggerId
+
+ Identifier of existing logger. This parameter is required.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ LoggerId
+
+ Identifier of existing logger. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementLogger -Context $apimContext -LoggerId 123 -Force
+
+ Removes Logger.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementProperty
+
+ Removes a Property.
+
+
+
+
+ Remove
+ AzureRmApiManagementProperty
+
+
+
+ Removes a Property.
+
+
+
+ Remove-AzureRmApiManagementProperty
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ PropertyId
+
+ Identifier of existing property. This parameter is required.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ PropertyId
+
+ Identifier of existing property. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementProperty -Context $apimContext -PropertyId 123 -PassThru
+
+ Removes a property.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementLogger
+
+ Set Logger details.
+
+
+
+
+ Set
+ AzureRmApiManagementLogger
+
+
+
+ Set Logger details.
+
+
+
+ Set-AzureRmApiManagementLogger
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ LoggerId
+
+ Identifier of logger to update. This parameter is mandatory.
+
+ String
+
+
+ Name
+
+ Event hub name from Azure classic portal. This parameter is optional.
+
+ String
+
+
+ ConnectionString
+
+ EventHub Connection String with Send Policy Rights. This parameter is optional.
+
+ String
+
+
+ Description
+
+ Description of the Logger. This parameter is optional.
+
+ String
+
+
+ IsBuffered
+
+ Determines whether the records in the logger are buffered before publishing. This property is optional and the default value is true.
+
+ SwitchParameter
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger type representing the modified logger.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ LoggerId
+
+ Identifier of logger to update. This parameter is mandatory.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Event hub name from Azure classic portal. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ ConnectionString
+
+ EventHub Connection String with Send Policy Rights. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ IsBuffered
+
+ Determines whether the records in the logger are buffered before publishing. This property is optional and the default value is true.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Description
+
+ Description of the Logger. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger type representing the modified logger.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Set-AzureRmApiManagementLogger -Context $apimContext -LoggerId 123 -Name sdkeventhub -ConnectionString "Endpoint=sb://sdkeventhubNamespace.servicebus.windows.net/;SharedAccessKeyName=SendKey;SharedAccessKey=<key>" -Description "updated sdk eventhub logger" -PassThru
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementProperty
+
+ Set Property details.
+
+
+
+
+ Set
+ AzureRmApiManagementProperty
+
+
+
+ Set Property details.
+
+
+
+ Set-AzureRmApiManagementProperty
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ PropertyId
+
+ Identifier of property to update. This parameter is mandatory.
+
+ String
+
+
+ Name
+
+ Name of the property. Maximum length is 100 characters. It may contain only letters, digits, period, dash, and underscore characters. This parameter is optional
+
+ String
+
+
+ Value
+
+ Value of the property. Can contain policy expressions. Maximum length is 1000 characters. It may not be empty or consist only of whitespace. This parameter is optional.
+
+ String
+
+
+ Secret
+
+ Determines whether the value is a secret and should be encrypted or not. This parameters is optional.
+
+ Nullable`1[Boolean]
+
+
+ Tags
+
+ Optional tags that when provided can be used to filter the property list.
+
+ String[]
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProperty type representing the modified property.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ PropertyId
+
+ Identifier of property to update. This parameter is mandatory.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Name of the property. Maximum length is 100 characters. It may contain only letters, digits, period, dash, and underscore characters. This parameter is optional
+
+ String
+
+ String
+
+
+
+
+
+ Value
+
+ Value of the property. Can contain policy expressions. Maximum length is 1000 characters. It may not be empty or consist only of whitespace. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ Secret
+
+ Determines whether the value is a secret and should be encrypted or not. This parameters is optional.
+
+ Nullable`1[Boolean]
+
+ Nullable`1[Boolean]
+
+
+
+
+
+ Tags
+
+ Optional tags that when provided can be used to filter the property list.
+
+ String[]
+
+ String[]
+
+
+
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProperty type representing the modified property.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProperty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ $tags = 'sdk', 'powershell'
+Set-AzureRmApiManagementProperty -Context $apimContext -PropertyId 123 -Tags $tags -PassThru
+
+ Sets tags on an Existing Property
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ Set-AzureRmApiManagementProperty -Context $apimContext -PropertyId 123 -Secret $true -PassThru
+
+ Sets the Property Value to be Encrypted.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementOpenIdConnectProvider
+
+ Gets the details of the OpenID Connect Provider.
+
+
+
+
+ Get
+ AzureRmApiManagementOpenIdConnectProvider
+
+
+
+ Gets the details of the OpenID Connect Provider.
+
+
+
+ Get-AzureRmApiManagementOpenIdConnectProvider
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementOpenIdConnectProvider
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ OpenIdConnectProviderId
+
+ Identifier of a OpenID Connect Provider. If specified will try to find openId Connect Provider by the identifier. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ Get-AzureRmApiManagementOpenIdConnectProvider
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Name
+
+ OpenID Connect Provider friendly name. If specified will try to find openID Connect Provider by the name. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+ OpenIdConnectProviderId
+
+ Identifier of a OpenID Connect Provider. If specified will try to find openId Connect Provider by the identifier. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ OpenID Connect Provider friendly name. If specified will try to find openID Connect Provider by the name. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOpenIdConnectProvider>
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger.PsApiManagementOpenIdConnectProvider
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementOpenIdConnectProvider -Context $apimContext
+
+ Gets details of all OpenID Connect Providers.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementOpenIdConnectProvider -Context $apimContext -OpenIdConnectProviderId $openIdConnectProviderId
+
+ Gets the details of the OpenID connect Provider by Identifier
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementOpenIdConnectProvider -Context $apimContext -Name $openIdConnectProviderName
+
+ Gets the OpenID Connect Provider by Friendly Name.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureRmApiManagementOpenIdConnectProvider
+
+ Creates a new OpenID connect Provider.
+
+
+
+
+ New
+ AzureRmApiManagementOpenIdConnectProvider
+
+
+
+ Creates a new OpenID connect Provider.
+
+
+
+ New-AzureRmApiManagementOpenIdConnectProvider
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ OpenIdConnectProviderId
+
+ Identifier of new openIdConnectProvider. This parameter is optional. If not specified will be generated.
+
+ String
+
+
+ Name
+
+ OpenId Connect Provider User friendly name. This parameter is required.
+
+ String
+
+
+ MetadataEndpointUri
+
+ Metadata Endpoint URI of the OpenID Connect Provider. This parameter is required.
+
+ String
+
+
+ ClientId
+
+ ClientID of the developer console . This parameter is required.
+
+ String
+
+
+ ClientSecret
+
+ ClientSecret of the developer Console. This parameter is optional.
+
+ String
+
+
+ Description
+
+ OpenId Connect Provider user friendly description. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ OpenIdConnectProviderId
+
+ Identifier of new openIdConnectProvider. This parameter is optional. If not specified will be generated.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ OpenId Connect Provider User friendly name. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ MetadataEndpointUri
+
+ Metadata Endpoint URI of the OpenID Connect Provider. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ ClientId
+
+ ClientID of the developer console . This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ ClientSecret
+
+ ClientSecret of the developer Console. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ Description
+
+ OpenId Connect Provider user friendly description. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOpenIdConnectProvider
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ New-AzureRmApiManagementOpenIdConnectProvider -Context $apimContext -OpenIdConnectProviderId 123 -Name openIdConnectProviderName -MetadataEndpointUri https://openid.provider/configuration -ClientId 12432143 -Description openIdConnectProviderDescription
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remove-AzureRmApiManagementOpenIdConnectProvider
+
+ Removes a OpenID Connect Provider.
+
+
+
+
+ Remove
+ AzureRmApiManagementOpenIdConnectProvider
+
+
+
+ Removes a OpenID Connect Provider.
+
+
+
+ Remove-AzureRmApiManagementOpenIdConnectProvider
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ OpenIdConnectProviderId
+
+ Identifier of existing OpenID Connect Provider. This parameter is required.
+
+ String
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ OpenIdConnectProviderId
+
+ Identifier of existing OpenID Connect Provider. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified will write true in case operation succeeds. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ Force
+
+ Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Remove-AzureRmApiManagementOpenIdConnectProvider -Context $apimContext -OpenIdConnectProviderId 123 -PassThru
+
+ Removes an OpenID Connect Provider by ID.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementOpenIdConnectProvider
+
+ Sets the OpenID Connect Provider.
+
+
+
+
+ Set
+ AzureRmApiManagementOpenIdConnectProvider
+
+
+
+ Sets the OpenID Connect Provider.
+
+
+
+ Set-AzureRmApiManagementOpenIdConnectProvider
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ OpenIdConnectProviderId
+
+ Identifier of OpenID Connect Provider to update. This parameter is mandatory.
+
+ String
+
+
+ Name
+
+ OpenId Connect Provider User friendly name. This parameter is optional.
+
+ String
+
+
+ MetadataEndpointUri
+
+ Metadata Endpoint URI of the OpenID Connect Provider. This parameter is optional.
+
+ String
+
+
+ ClientId
+
+ ClientID of the developer console. This parameter is optional.
+
+ String
+
+
+ ClientSecret
+
+ ClientSecret of the developer Console. This parameter is optional.
+
+ String
+
+
+ Description
+
+ OpenId Connect Provider user friendly description. This parameter is optional.
+
+ String
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOpenIdConnectProvider type representing the modified
+OpenId Connect Provider.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ OpenIdConnectProviderId
+
+ Identifier of OpenID Connect Provider to update. This parameter is mandatory.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ OpenId Connect Provider User friendly name. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ MetadataEndpointUri
+
+ Metadata Endpoint URI of the OpenID Connect Provider. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ ClientId
+
+ ClientID of the developer console. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ ClientSecret
+
+ ClientSecret of the developer Console. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ Description
+
+ OpenId Connect Provider user friendly description. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOpenIdConnectProvider type representing the modified
+OpenId Connect Provider.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOpenIdConnectProvider
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Set-AzureRmApiManagementOpenIdConnectProvider -Context $apimContext -OpenIdConnectProviderId 123 -ClientSecret q2w3e43r45 -PassThru
+
+ Update the Client Secret of the OpenID Connect Provider.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementTenantGitAccess
+
+ Gets the Git access configuration for the Tenant.
+
+
+
+
+ Get
+ AzureRmApiManagementTenantGitAccess
+
+
+
+ Gets the Git access configuration for the Tenant.
+
+
+
+ Get-AzureRmApiManagementTenantGitAccess
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementAccessInformation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementTenantGitAccess -Context $apimContext
+
+ Gets the Git access configuration of the Tenant.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmApiManagementTenantSyncState
+
+ Gets the status of the most recent synchronization between the configuration database and the Git repository.
+
+
+
+
+ Get
+ AzureRmApiManagementTenantSyncState
+
+
+
+ Gets the status of the most recent synchronization between the configuration database and the Git repository.
+
+
+
+ Get-AzureRmApiManagementTenantSyncState
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementAccessInformation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Get-AzureRmApiManagementTenantSyncState -Context $apimContext
+
+ Gets the status of the most recent synchronization between the configuration database and the Git repository.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Publish-AzureRmApiManagementTenantGitConfiguration
+
+ Publishes the changes from the specified Git branch to the configuration database.
+
+
+
+
+ Publish
+ AzureRmApiManagementTenantGitConfiguration
+
+
+
+ Publishes the changes from the specified Git branch to the configuration database. The commandlet also has an option to just validate the changes in the specified Git branch against the configuration database.
+
+
+
+ Publish-AzureRmApiManagementTenantGitConfiguration
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Branch
+
+ Name of the Git branch from which the configuration is to be deployed to the configuration database. This parameter is required.
+
+ String
+
+
+ Force
+
+ Enforce deleting subscriptions to products that are deleted in this update. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ ValidateOnly
+
+ If specified will only validate the changes in the specified git Branch and not publish to the configuration database. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperationResult type representing the operation result.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ Branch
+
+ Name of the Git branch from which the configuration is to be deployed to the configuration database. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Force
+
+ Enforce deleting subscriptions to products that are deleted in this update. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ ValidateOnly
+
+ If specified will only validate the changes in the specified git Branch and not publish to the configuration database. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperationResult type representing the operation result.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperationResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Deploy Git changes --------------------------
+
+ PS C:\>
+
+ Publish-AzureRmApiManagementTenantGitConfiguration -Context $context -Branch 'master' -PassThru
+
+ Publishes the changes from the specified branch to the configuration database.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Validate Git changes --------------------------
+
+ PS C:\>
+
+ Publish-AzureRmApiManagementTenantGitConfiguration -Context $apimContext -Branch 'master' -ValidateOnly -PassThru
+
+ Validates the changes in the Git branch against the configuration database. Does not deploy.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Save-AzureRmApiManagementTenantGitConfiguration
+
+ Saves the changes by creating a commit with the current configuration snapshot to the specified branch in the repository.
+
+
+
+
+ Save
+ AzureRmApiManagementTenantGitConfiguration
+
+
+
+ Saves the changes by creating a commit with the current configuration snapshot to the specified branch in the repository.
+
+
+
+ Save-AzureRmApiManagementTenantGitConfiguration
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Branch
+
+ Name of the Git branch in which to commit the current configuration snapshot. This parameter is required.
+
+ String
+
+
+ Force
+
+ If true, the current configuration database is committed to the Git repository, even if the Git repository has newer changes that would be overwritten. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperationResult type representing the operation result.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ Branch
+
+ Name of the Git branch in which to commit the current configuration snapshot. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Force
+
+ If true, the current configuration database is committed to the Git repository, even if the Git repository has newer changes that would be overwritten. This parameter is optional. Default value is false.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperationResult type representing the operation result.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperationResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Save-AzureRmApiManagementTenantGitConfiguration -Context $apimContext -Branch 'master' -PassThru
+
+ Save the changes by creating a commit with the current configuration snapshot to the specified branch in the repository.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Set-AzureRmApiManagementTenantGitAccess
+
+ Sets the Git access configuration of the Tenant.
+
+
+
+
+ Set
+ AzureRmApiManagementTenantGitAccess
+
+
+
+ Sets the Git access configuration of the Tenant.
+
+
+
+ Set-AzureRmApiManagementTenantGitAccess
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+
+ Enabled
+
+ Enable Git access. Set to true for enabling and false for disabling. This parameter is required.
+
+ Boolean
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementAccessInformation type is returned.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ Context
+
+ Instance of PsApiManagementContext. This parameter is required.
+
+ PsApiManagementContext
+
+ PsApiManagementContext
+
+
+
+
+
+ Enabled
+
+ Enable Git access. Set to true for enabling and false for disabling. This parameter is required.
+
+ Boolean
+
+ Boolean
+
+
+
+
+
+ PassThru
+
+ If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementAccessInformation type is returned.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementAccessInformation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 --------------------------
+
+ PS C:\>
+
+ Set-AzureRmApiManagementTenantGitAccess -Context $apimContext -Enabled $true
+
+ Sets the Git access configuration to True.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/ErrorBody.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/ErrorBody.cs
new file mode 100644
index 000000000000..1ededdc8a365
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/ErrorBody.cs
@@ -0,0 +1,52 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+using System;
+using System.Linq;
+using Microsoft.Azure.Management.ApiManagement.SmapiModels;
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
+{
+ public class ErrorBody
+ {
+ public string Code { get; set; }
+
+ public string Message { get; set; }
+
+ public ErrorField[] Details { get; set; }
+
+ public ErrorBody()
+ {
+
+ }
+
+ public ErrorBody(ErrorBodyContract errorBody)
+ : this()
+ {
+ if (errorBody == null)
+ {
+ throw new ArgumentNullException("errorBody");
+ }
+
+ Code = errorBody.Code;
+ Message = errorBody.Message;
+ Details = errorBody
+ .Details
+ .Where(errorDetail => errorDetail != null)
+ .Select(errorDetail => new ErrorField(errorDetail))
+ .ToArray();
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/ErrorField.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/ErrorField.cs
new file mode 100644
index 000000000000..e409de84727c
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/ErrorField.cs
@@ -0,0 +1,46 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+using System;
+using Microsoft.Azure.Management.ApiManagement.SmapiModels;
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
+{
+ public class ErrorField
+ {
+ public string Code { get; set; }
+
+ public string Message { get; set; }
+
+ public string Target { get; set; }
+
+ public ErrorField()
+ {
+
+ }
+
+ public ErrorField(ErrorFieldContract errorField)
+ : this()
+ {
+ if (errorField == null)
+ {
+ throw new ArgumentNullException("errorField");
+ }
+
+ Message = errorField.Message;
+ Code = errorField.Code;
+ Target = errorField.Target;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementAccessInformation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementAccessInformation.cs
new file mode 100644
index 000000000000..1b799e59e483
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementAccessInformation.cs
@@ -0,0 +1,27 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
+{
+ public class PsApiManagementAccessInformation
+ {
+ public bool Enabled { get; set; }
+
+ public string Id { get; set; }
+
+ public string PrimaryKey { get; set; }
+
+ public string SecondaryKey { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementCertificate.cs
index 6317997cae06..cdc6b46958e6 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementCertificate.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementCertificate.cs
@@ -11,10 +11,11 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
+
+using System;
+
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
{
- using System;
-
public class PsApiManagementCertificate
{
public string CertificateId { get; set; }
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementContext.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementContext.cs
index 70c8ea15bfc8..c9e0b58568bb 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementContext.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementContext.cs
@@ -11,6 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
+
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
{
public class PsApiManagementContext
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementLogger.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementLogger.cs
new file mode 100644
index 000000000000..14760bf85db7
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementLogger.cs
@@ -0,0 +1,27 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
+{
+ public class PsApiManagementLogger
+ {
+ public string LoggerId { get; set; }
+
+ public string Description { get; set; }
+
+ public PsApiManagementLoggerType Type { get; set; }
+
+ public bool? IsBuffered { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementLoggerType.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementLoggerType.cs
new file mode 100644
index 000000000000..c1604907ca03
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementLoggerType.cs
@@ -0,0 +1,21 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
+{
+ public enum PsApiManagementLoggerType
+ {
+ AzureEventHub = 1
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementOAuth2AuthrozationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementOAuth2AuthrozationServer.cs
index c8a18000c134..13dd216dcdd8 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementOAuth2AuthrozationServer.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementOAuth2AuthrozationServer.cs
@@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+using System.Collections;
+
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
{
- using System.Collections;
-
public class PsApiManagementOAuth2AuthrozationServer
{
public string ServerId { get; internal set; }
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementOpenIdConnectProvider.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementOpenIdConnectProvider.cs
new file mode 100644
index 000000000000..a1ff6d86092a
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementOpenIdConnectProvider.cs
@@ -0,0 +1,31 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
+{
+ public class PsApiManagementOpenIdConnectProvider
+ {
+ public string OpenIdConnectProviderId { get; set; }
+
+ public string Name { get; set; }
+
+ public string ClientId { get; set; }
+
+ public string ClientSecret { get; set; }
+
+ public string Description { get; set; }
+
+ public string MetadataEndpoint { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementOperationResult.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementOperationResult.cs
new file mode 100644
index 000000000000..fcea312c654c
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementOperationResult.cs
@@ -0,0 +1,74 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+using System;
+using Microsoft.Azure.Management.ApiManagement.SmapiModels;
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
+{
+ public class PsApiManagementOperationResult
+ {
+ public string Id { get; set; }
+
+ public string ResultInfo { get; set; }
+
+ public TenantConfigurationState State { get; set; }
+
+ public DateTime Started { get; set; }
+
+ public DateTime Updated { get; set; }
+
+ public ErrorBody Error { get; set; }
+
+ public PsApiManagementOperationResult()
+ {
+
+ }
+
+ public PsApiManagementOperationResult(OperationResultContract operationResult)
+ : this()
+ {
+ if (operationResult == null)
+ {
+ throw new ArgumentNullException("operationResult");
+ }
+
+ Id = operationResult.IdPath;
+ Error = operationResult.Error != null ? new ErrorBody(operationResult.Error) : null;
+ ResultInfo = operationResult.ResultInfo;
+ Started = operationResult.Started;
+ Updated = operationResult.Updated;
+ State = ToTenantConfigurationState(operationResult.Status);
+ }
+
+ internal TenantConfigurationState ToTenantConfigurationState(AsyncOperationState state)
+ {
+ TenantConfigurationState tenantState;
+ switch (state)
+ {
+ case AsyncOperationState.Started: tenantState = TenantConfigurationState.Started;
+ break;
+ case AsyncOperationState.InProgress: tenantState = TenantConfigurationState.InProgress;
+ break;
+ case AsyncOperationState.Succeeded: tenantState = TenantConfigurationState.Succeeded;
+ break;
+ case AsyncOperationState.Failed: tenantState = TenantConfigurationState.Failed;
+ break;
+ default: throw new NotSupportedException("Invalid State :" + state);
+ }
+
+ return tenantState;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementProperty.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementProperty.cs
new file mode 100644
index 000000000000..7e365ff31b4c
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementProperty.cs
@@ -0,0 +1,29 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
+{
+ public class PsApiManagementProperty
+ {
+ public string PropertyId { get; set; }
+
+ public string Name { get; set; }
+
+ public string Value { get; set; }
+
+ public string[] Tags { get; set; }
+
+ public bool Secret { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementSubscription.cs
index 88ead0e1bf42..23a121e070e3 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementSubscription.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementSubscription.cs
@@ -11,10 +11,11 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
+
+using System;
+
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
{
- using System;
-
public class PsApiManagementSubscription
{
public string SubscriptionId { get; set; }
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementTenantConfiguration.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementTenantConfiguration.cs
new file mode 100644
index 000000000000..387e0e983019
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementTenantConfiguration.cs
@@ -0,0 +1,23 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
+{
+ public class PsApiManagementTenantConfiguration
+ {
+ public string Branch { get; set; }
+
+ public bool Force { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementTenantConfigurationSyncState.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementTenantConfigurationSyncState.cs
new file mode 100644
index 000000000000..93ee217b9f9e
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementTenantConfigurationSyncState.cs
@@ -0,0 +1,35 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+using System;
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
+{
+ public class PsApiManagementTenantConfigurationSyncState
+ {
+ public string Branch { get; set; }
+
+ public string CommitId { get; set; }
+
+ public bool IsExport { get; set; }
+
+ public bool IsSynced { get; set; }
+
+ public bool IsGitEnabled { get; set; }
+
+ public DateTime? SyncDate { get; set; }
+
+ public DateTime? ConfigurationChangeDate { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementUser.cs
index 6235146d451f..ebec79baae2c 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementUser.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementUser.cs
@@ -11,11 +11,12 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
+
+using System;
+using System.Collections.Generic;
+
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
{
- using System;
- using System.Collections.Generic;
-
public class PsApiManagementUser
{
public string UserId { get; set; }
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/TenantConfigurationLongRunningOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/TenantConfigurationLongRunningOperation.cs
new file mode 100644
index 000000000000..87fad1918131
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/TenantConfigurationLongRunningOperation.cs
@@ -0,0 +1,62 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+using System;
+using Microsoft.Azure.Management.ApiManagement.SmapiModels;
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
+{
+ public class TenantConfigurationLongRunningOperation
+ {
+ public string OperationName { get; private set; }
+
+ public OperationStatus Status { get; private set; }
+
+ public TimeSpan? RetryAfter { get; private set; }
+
+ public string OperationLink { get; set; }
+
+ public PsApiManagementOperationResult OperationResult { get; private set; }
+
+ internal static TenantConfigurationLongRunningOperation CreateLongRunningOperation(
+ string operationName,
+ TenantLongRunningOperationResponse longRunningResponse)
+ {
+ if (string.IsNullOrWhiteSpace(operationName))
+ {
+ throw new ArgumentNullException("operationName");
+ }
+
+ if (longRunningResponse == null)
+ {
+ throw new ArgumentNullException("longRunningResponse");
+ }
+
+ var result = new TenantConfigurationLongRunningOperation
+ {
+ OperationName = operationName,
+ OperationLink = longRunningResponse.OperationStatusLink ?? string.Empty,
+ RetryAfter = TimeSpan.FromSeconds(longRunningResponse.RetryAfter)
+ };
+
+ var tenantConfigurationLongRunningResponse = longRunningResponse as TenantConfigurationLongRunningOperationResponse;
+ if (tenantConfigurationLongRunningResponse != null && tenantConfigurationLongRunningResponse.OperationResult != null)
+ {
+ result.OperationResult = new PsApiManagementOperationResult(tenantConfigurationLongRunningResponse.OperationResult);
+ }
+
+ return result;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/TenantConfigurationState.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/TenantConfigurationState.cs
new file mode 100644
index 000000000000..64c00b7feacf
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/TenantConfigurationState.cs
@@ -0,0 +1,24 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
+{
+ public enum TenantConfigurationState
+ {
+ Started=1,
+ InProgress=2,
+ Succeeded=3,
+ Failed=4
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/Resources.Designer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/Resources.Designer.cs
index 642278f77583..c89a69f5e323 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/Resources.Designer.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/Resources.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.34014
+// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -150,6 +150,42 @@ internal static string GroupRemoveWarning {
}
}
+ ///
+ /// Looks up a localized string similar to Removing Logger "{0}".
+ ///
+ internal static string LoggerRemoveDescription {
+ get {
+ return ResourceManager.GetString("LoggerRemoveDescription", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Are you sure you want to remove Logger "{0}"?.
+ ///
+ internal static string LoggerRemoveWarning {
+ get {
+ return ResourceManager.GetString("LoggerRemoveWarning", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Removing OpenID Connect Provider "{0}"..
+ ///
+ internal static string OpenIdConnectProviderRemoveDescription {
+ get {
+ return ResourceManager.GetString("OpenIdConnectProviderRemoveDescription", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Are you sure you want to remove OpenID Connect Provider "{0}"?.
+ ///
+ internal static string OpenIdConnectProviderRemoveWarning {
+ get {
+ return ResourceManager.GetString("OpenIdConnectProviderRemoveWarning", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Removing Operation "{0}" of API "{1}"..
///
@@ -204,6 +240,42 @@ internal static string ProductRemoveWarning {
}
}
+ ///
+ /// Looks up a localized string similar to Removing Property "{0}".
+ ///
+ internal static string PropertyRemoveDescription {
+ get {
+ return ResourceManager.GetString("PropertyRemoveDescription", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Are you sure you want to remove Property "{0}"?.
+ ///
+ internal static string PropertyRemoveWarning {
+ get {
+ return ResourceManager.GetString("PropertyRemoveWarning", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Subscriptions to products which are deleted will be also be deleted..
+ ///
+ internal static string PublishTenantConfigurationDescription {
+ get {
+ return ResourceManager.GetString("PublishTenantConfigurationDescription", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Are you sure you want to enforce deleting subscriptions to products that are deleted in this update?.
+ ///
+ internal static string PublishTenantConfigurationWarning {
+ get {
+ return ResourceManager.GetString("PublishTenantConfigurationWarning", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Saving "{0}" policy to file "{1}"..
///
@@ -222,6 +294,24 @@ internal static string SavePolicyWarning {
}
}
+ ///
+ /// Looks up a localized string similar to Overwriting changes in Git repository "{0}" with Configuration Database..
+ ///
+ internal static string SaveTenantConfigurationDescription {
+ get {
+ return ResourceManager.GetString("SaveTenantConfigurationDescription", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Are you sure you want to overwrite your changes in Git repository "{0}" with Configuration Database?.
+ ///
+ internal static string SaveTenantConfigurationWarning {
+ get {
+ return ResourceManager.GetString("SaveTenantConfigurationWarning", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Confirm.
///
@@ -266,5 +356,14 @@ internal static string UserRemoveWarning {
return ResourceManager.GetString("UserRemoveWarning", resourceCulture);
}
}
+
+ ///
+ /// Looks up a localized string similar to Get operation state in '{0}'.
+ ///
+ internal static string VerboseGetOperationStateTimeoutMessage {
+ get {
+ return ResourceManager.GetString("VerboseGetOperationStateTimeoutMessage", resourceCulture);
+ }
+ }
}
}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/Resources.resx b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/Resources.resx
index 74c1cb46727f..278572d97cbe 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/Resources.resx
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/Resources.resx
@@ -157,6 +157,22 @@
Are you sure you want to remove Group "{0}"?
Process workflow
+
+ Removing Logger "{0}"
+ Process workflow
+
+
+ Are you sure you want to remove Logger "{0}"?
+ Process workflow
+
+
+ Removing OpenID Connect Provider "{0}".
+ Process workflow
+
+
+ Are you sure you want to remove OpenID Connect Provider "{0}"?
+ Process workflow
+
Removing Operation "{0}" of API "{1}".
Process workflow
@@ -181,6 +197,22 @@
Are you sure you want to remove Product "{0}"?
Process workflow
+
+ Removing Property "{0}"
+ Process workflow
+
+
+ Are you sure you want to remove Property "{0}"?
+ Process workflow
+
+
+ Subscriptions to products which are deleted will be also be deleted.
+ Process workflow
+
+
+ Are you sure you want to enforce deleting subscriptions to products that are deleted in this update?
+ Process workflow
+
Saving "{0}" policy to file "{1}".
Process workflow
@@ -189,6 +221,14 @@
File "{0}" already exists. Override?
Process workflow
+
+ Overwriting changes in Git repository "{0}" with Configuration Database.
+ Process workflow
+
+
+ Are you sure you want to overwrite your changes in Git repository "{0}" with Configuration Database?
+ Process workflow
+
Confirm
Process workflow
@@ -209,4 +249,8 @@
Are you sure you want to remove User "{0}"?
Process workflow
+
+ Get operation state in '{0}'
+ Process workflow
+
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/packages.config b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/packages.config
index 8dabe6aeca7b..13c84dbcddfe 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/packages.config
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/packages.config
@@ -5,7 +5,7 @@
-
+
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.csproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.csproj
index 8a2c30a83d2e..c1fa4d8ecb5a 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.csproj
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.csproj
@@ -53,7 +53,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Management.ApiManagement.2.0.1-preview\lib\net40\Microsoft.Azure.Management.ApiManagement.dll
+ ..\..\..\packages\Microsoft.Azure.Management.ApiManagement.2.0.2-preview\lib\net40\Microsoft.Azure.Management.ApiManagement.dll
False
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/packages.config b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/packages.config
index 0e458ab2ca02..8226a4f258a5 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/packages.config
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/packages.config
@@ -3,7 +3,7 @@
-
+
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj
index 88081d15e017..b09abab327dc 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj
@@ -64,7 +64,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Management.ApiManagement.2.0.1-preview\lib\net40\Microsoft.Azure.Management.ApiManagement.dll
+ ..\..\..\packages\Microsoft.Azure.Management.ApiManagement.2.0.2-preview\lib\net40\Microsoft.Azure.Management.ApiManagement.dll
False
@@ -188,6 +188,7 @@
ResXFileCodeGenerator
Resources.Designer.cs
+ Designer
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.psd1 b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.psd1
index b89a7636be8a..65202d80382c 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.psd1
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.psd1
@@ -60,7 +60,7 @@ TypesToProcess = @()
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
-NestedModules = '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\ApiManagement\Microsoft.Azure.Commands.ApiManagement.dll'
+NestedModules = '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.ApiManagement\Microsoft.Azure.Commands.ApiManagement.dll'
# Functions to export from this module
FunctionsToExport = '*'
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/packages.config b/src/ResourceManager/ApiManagement/Commands.ApiManagement/packages.config
index 8dabe6aeca7b..13c84dbcddfe 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/packages.config
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/packages.config
@@ -5,7 +5,7 @@
-
+
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.csproj b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.csproj
index 91c8dd087924..9317b8ae6c67 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.csproj
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.csproj
@@ -53,7 +53,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Management.ApiManagement.2.0.1-preview\lib\net40\Microsoft.Azure.Management.ApiManagement.dll
+ ..\..\..\packages\Microsoft.Azure.Management.ApiManagement.2.0.2-preview\lib\net40\Microsoft.Azure.Management.ApiManagement.dll
False
@@ -211,6 +211,12 @@
PreserveNewest
+
+ PreserveNewest
+
+
+ PreserveNewest
+
PreserveNewest
@@ -220,10 +226,13 @@
PreserveNewest
+
+ PreserveNewest
+
PreserveNewest
-
+
PreserveNewest
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.cs b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.cs
index 153541f6ac58..5e989b8b37af 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.cs
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.cs
@@ -162,6 +162,34 @@ public void AuthorizationServerCrudTest()
RunPowerShellTest("AuthorizationServer-CrudTest");
}
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void LoggerCrudTest()
+ {
+ RunPowerShellTest("Logger-CrudTest");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void PropertiesCrudTest()
+ {
+ RunPowerShellTest("Properties-CrudTest");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void OpenIdConnectProviderCrudTest()
+ {
+ RunPowerShellTest("OpenIdConnectProvider-CrudTest");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TenantGitConfigurationCrudTest()
+ {
+ RunPowerShellTest("TenantGitConfiguration-CrudTest");
+ }
+
private void RunPowerShellTest(params string[] scripts)
{
for (int i = 0; i < scripts.Length; i++)
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.ps1 b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.ps1
index 4f60dae06c6a..036260ae8f5d 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.ps1
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.ps1
@@ -1372,4 +1372,382 @@ Param($resourceGroupName, $serviceName)
Assert-Null $server
}
+}
+
+<#
+.SYNOPSIS
+Tests CRUD operations of Logger.
+#>
+function Logger-CrudTest
+{
+Param($resourceGroupName, $serviceName)
+
+ $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
+
+ # create logger
+ $loggerId = getAssetName
+ try
+ {
+ $newLoggerDescription = getAssetName
+ $eventHubName = "sdkeventhub"
+ $eventHubConnectionString = "TestConnectionString"
+
+ $logger = New-AzureRmApiManagementLogger -Context $context -LoggerId $loggerId -Name $eventHubName -ConnectionString $eventHubConnectionString -Description $newLoggerDescription
+
+ Assert-AreEqual $loggerId $logger.LoggerId
+ Assert-AreEqual $newLoggerDescription $logger.Description
+ Assert-AreEqual 'AzureEventHub' $logger.Type
+ Assert-AreEqual $true $logger.IsBuffered
+
+ # update logger to non-buffered
+ $newLoggerDescription = getAssetName
+
+ $logger = $null
+ $logger = Set-AzureRmApiManagementLogger -Context $context -LoggerId $loggerId -Description $newLoggerDescription -PassThru
+
+ Assert-AreEqual $loggerId $logger.LoggerId
+ Assert-AreEqual $newLoggerDescription $logger.Description
+ Assert-AreEqual 'AzureEventHub' $logger.Type
+ Assert-AreEqual $false $logger.IsBuffered
+
+ # get all Loggers
+ $loggers = Get-AzureRmApiManagementLogger -Context $context
+
+ Assert-NotNull $loggers
+ Assert-AreEqual 1 $loggers.Count
+
+ # get a specific logger
+ $logger = $null
+ $logger = Get-AzureRmApiManagementLogger -Context $context -LoggerId $loggerId
+ Assert-AreEqual $loggerId $logger.LoggerId
+ Assert-AreEqual $newLoggerDescription $logger.Description
+ Assert-AreEqual 'AzureEventHub' $logger.Type
+ Assert-AreEqual $false $logger.IsBuffered
+
+ }
+ finally
+ {
+ # remove created logger
+ $removed = Remove-AzureRmApiManagementLogger -Context $context -LoggerId $loggerId -Force -PassThru
+ Assert-True {$removed}
+
+ $logger = $null
+ try
+ {
+ # check it was removed
+ $logger = Get-AzureRmApiManagementLogger -Context $context -LoggerId $loggerId
+ }
+ catch
+ {
+ }
+
+ Assert-Null $logger
+ }
+}
+
+<#
+.SYNOPSIS
+Tests CRUD operations of OpenId Connect Provider.
+#>
+function OpenIdConnectProvider-CrudTest
+{
+Param($resourceGroupName, $serviceName)
+
+ $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
+
+ # create openIdConnectProvider with default parameters
+ $openIdConnectProviderId = getAssetName
+ try
+ {
+ $openIdConnectProviderName = getAssetName
+ $metadataEndpoint = "https://login.microsoftonline.com/contoso.onmicrosoft.com/v2.0/.well-known/openid-configuration"
+ $clientId = getAssetName
+ $openIdDescription = getAssetName
+
+ $openIdConectProvider = New-AzureRmApiManagementOpenIdConnectProvider -Context $context -OpenIdConnectProviderId $openIdConnectProviderId -Name $openIdConnectProviderName -MetadataEndpointUri $metadataEndpoint -ClientId $clientId -Description $openIdDescription
+
+ Assert-AreEqual $openIdConnectProviderId $openIdConectProvider.OpenIdConnectProviderId
+ Assert-AreEqual $openIdConnectProviderName $openIdConectProvider.Name
+ Assert-AreEqual $metadataEndpoint $openIdConectProvider.MetadataEndpoint
+ Assert-AreEqual $clientId $openIdConectProvider.ClientId
+ Assert-AreEqual $openIdDescription $openIdConectProvider.Description
+ Assert-Null $openIdConectProvider.ClientSecret
+
+ # get openIdConnectProvider using Name
+ $openIdConectProvider = $null
+ $openIdConectProvider = Get-AzureRmApiManagementOpenIdConnectProvider -Context $context -Name $openIdConnectProviderName
+
+ Assert-NotNull $openIdConectProvider
+ Assert-AreEqual $openIdConnectProviderId $openIdConectProvider.OpenIdConnectProviderId
+
+ # get OpenId Connect Provider using Id
+ $openIdConectProvider = Get-AzureRmApiManagementOpenIdConnectProvider -Context $context -OpenIdConnectProviderId $openIdConnectProviderId
+
+ Assert-NotNull $openIdConectProvider
+ Assert-AreEqual $openIdConnectProviderId $openIdConectProvider.OpenIdConnectProviderId
+
+ #get all openId Connect Providers
+ $openIdConectProviders = Get-AzureRmApiManagementOpenIdConnectProvider -Context $context
+ Assert-AreEqual 1 $openIdConectProviders.Count
+
+ Assert-NotNull $openIdConectProviders
+ Assert-AreEqual $openIdConnectProviderId $openIdConectProvider.OpenIdConnectProviderId
+
+ #update the provider with Secret
+ $clientSecret = getAssetName
+ $openIdConectProvider = Set-AzureRmApiManagementOpenIdConnectProvider -Context $context -OpenIdConnectProviderId $openIdConnectProviderId -ClientSecret $clientSecret -PassThru
+
+ Assert-AreEqual $openIdConnectProviderId $openIdConectProvider.OpenIdConnectProviderId
+ Assert-AreEqual $clientSecret $openIdConectProvider.ClientSecret
+ Assert-AreEqual $clientId $openIdConectProvider.ClientId
+ Assert-AreEqual $metadataEndpoint $openIdConectProvider.MetadataEndpoint
+ Assert-AreEqual $openIdConnectProviderName $openIdConectProvider.Name
+
+ #remove openIdConnectProvider
+ $removed = Remove-AzureRmApiManagementOpenIdConnectProvider -Context $context -OpenIdConnectProviderId $openIdConnectProviderId -PassThru
+ Assert-True {$removed}
+
+ $openIdConectProvider = $null
+ try
+ {
+ # check it was removed
+ $openIdConectProvider = Get-AzureRmApiManagementOpenIdConnectProvider -Context $context -OpenIdConnectProviderId $openIdConnectProviderId
+ }
+ catch
+ {
+ }
+
+ Assert-Null $openIdConectProvider
+ }
+ finally
+ {
+ $removed = Remove-AzureRmApiManagementOpenIdConnectProvider -Context $context -OpenIdConnectProviderId $openIdConnectProviderId -PassThru -Force
+ Assert-True {$removed}
+
+ $openIdConectProvider = $null
+ try
+ {
+ # check it was removed
+ $openIdConectProvider = Get-AzureRmApiManagementOpenIdConnectProvider -Context $context -OpenIdConnectProviderId $openIdConnectProviderId
+ }
+ catch
+ {
+ }
+
+ Assert-Null $openIdConectProvider
+ }
+}
+
+<#
+.SYNOPSIS
+Tests CRUD operations on Properties.
+#>
+function Properties-CrudTest
+{
+Param($resourceGroupName, $serviceName)
+
+ $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
+
+ # create non-Secret Property
+ $propertyId = getAssetName
+ $secretPropertyId = $null
+ try
+ {
+ $propertyName = getAssetName
+ $propertyValue = getAssetName
+ $tags = 'sdk', 'powershell'
+ $property = New-AzureRmApiManagementProperty -Context $context -PropertyId $propertyId -Name $propertyName -Value $propertyValue -Tags $tags
+
+ Assert-NotNull $property
+ Assert-AreEqual $propertyId $property.PropertyId
+ Assert-AreEqual $propertyName $property.Name
+ Assert-AreEqual $propertyValue $property.Value
+ Assert-AreEqual $false $property.Secret
+ Assert-AreEqual 2 $property.Tags.Count
+
+ #create Secret Property
+ $secretPropertyId = getAssetName
+ $secretPropertyName = getAssetName
+ $secretPropertyValue = getAssetName
+ $secretProperty = New-AzureRmApiManagementProperty -Context $context -PropertyId $secretPropertyId -Name $secretPropertyName -Value $secretPropertyValue -Secret
+
+ Assert-NotNull $secretProperty
+ Assert-AreEqual $secretPropertyId $secretProperty.PropertyId
+ Assert-AreEqual $secretPropertyName $secretProperty.Name
+ Assert-AreEqual $secretPropertyValue $secretProperty.Value
+ Assert-AreEqual $true $secretProperty.Secret
+ Assert-NotNull $secretProperty.Tags
+ Assert-AreEqual 0 $secretProperty.Tags.Count
+
+ # get all properties
+ $properties = Get-AzureRmApiManagementProperty -Context $context
+
+ Assert-NotNull $properties
+ # there should be 2 properties
+ Assert-AreEqual 2 $properties.Count
+
+ # get properties by name
+ $properties = $null
+ $properties = Get-AzureRmApiManagementProperty -Context $context -Name 'onesdk'
+
+ Assert-NotNull $properties
+ # both the properties created start with 'onesdk'
+ Assert-AreEqual 2 $properties.Count
+
+ # get properties by tag
+ $properties = $null
+ $properties = Get-AzureRmApiManagementProperty -Context $context -Tag 'sdk'
+
+ Assert-NotNull $property
+ Assert-AreEqual 1 $properties.Count
+
+ # get property by Id
+ $secretProperty = $null
+ $secretProperty = Get-AzureRmApiManagementProperty -Context $context -PropertyId $secretPropertyId
+
+ Assert-NotNull $secretProperty
+ Assert-AreEqual $secretPropertyId $secretProperty.PropertyId
+ Assert-AreEqual $secretPropertyName $secretProperty.Name
+ Assert-AreEqual $secretPropertyValue $secretProperty.Value
+ Assert-AreEqual $true $secretProperty.Secret
+ Assert-NotNull $secretProperty.Tags
+ Assert-AreEqual 0 $secretProperty.Tags.Count
+
+ # update the secret property with a tag
+ $secretProperty = $null
+ $secretProperty = Set-AzureRmApiManagementProperty -Context $context -PropertyId $secretPropertyId -Tags $tags -PassThru
+
+ Assert-NotNull $secretProperty
+ Assert-AreEqual $secretPropertyId $secretProperty.PropertyId
+ Assert-AreEqual $secretPropertyName $secretProperty.Name
+ Assert-AreEqual $secretPropertyValue $secretProperty.Value
+ Assert-AreEqual $true $secretProperty.Secret
+ Assert-NotNull $secretProperty.Tags
+ Assert-AreEqual 2 $secretProperty.Tags.Count
+
+ #convert a non secret property to secret
+ $property = $null
+ $property = Set-AzureRmApiManagementProperty -Context $context -PropertyId $propertyId -Secret $true -PassThru
+
+ Assert-NotNull $property
+ Assert-AreEqual $propertyId $property.PropertyId
+ Assert-AreEqual $propertyName $property.Name
+ Assert-AreEqual $propertyValue $property.Value
+ Assert-AreEqual $true $property.Secret
+ Assert-NotNull $property.Tags
+ Assert-AreEqual 2 $property.Tags.Count
+
+ #remove secret property
+ $removed = Remove-AzureRmApiManagementProperty -Context $context -PropertyId $secretPropertyId -PassThru
+ Assert-True {$removed}
+
+ $secretProperty = $null
+ try
+ {
+ # check it was removed
+ $secretProperty = Get-AzureRmApiManagementProperty -Context $context -PropertyId $secretPropertyId
+ }
+ catch
+ {
+ }
+
+ Assert-Null $secretProperty
+ }
+ finally
+ {
+ $removed = Remove-AzureRmApiManagementProperty -Context $context -PropertyId $propertyId -PassThru -Force
+ Assert-True {$removed}
+
+ $property = $null
+ try
+ {
+ # check it was removed
+ $property = Get-AzureRmApiManagementProperty -Context $context -PropertyId $propertyId
+ }
+ catch
+ {
+ }
+
+ Assert-Null $property
+
+ # cleanup other Property
+ try
+ {
+ Remove-AzureRmApiManagementProperty -Context $context -PropertyId $secretPropertyId -PassThru -Force
+ }
+ catch
+ {
+ }
+ }
+}
+
+<#
+.SYNOPSIS
+Tests CRUD operations on Properties.
+#>
+function TenantGitConfiguration-CrudTest
+{
+Param($resourceGroupName, $serviceName)
+
+ $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
+
+ try
+ {
+ $tenantGitAccess = Get-AzureRmApiManagementTenantGitAccess -Context $context
+
+ Assert-NotNull $tenantGitAccess
+ Assert-AreEqual $false $tenantGitAccess.Enabled
+
+ #enable Tenant Git Access
+ $tenantGitAccess = $null
+ $tenantGitAccess = Set-AzureRmApiManagementTenantGitAccess -Context $context -Enabled $true -PassThru
+
+ Assert-NotNull $tenantGitAccess
+ Assert-AreEqual $true $tenantGitAccess.Enabled
+
+ #get Tenant Sync state
+ $tenantSyncState = Get-AzureRmApiManagementTenantSyncState -Context $context
+ Assert-NotNull $tenantSyncState
+ Assert-AreEqual $true $tenantSyncState.IsGitEnabled
+
+ # Do a initial Save to populate the master Branch with current state of Configuration database
+ $saveResponse = Save-AzureRmApiManagementTenantGitConfiguration -Context $context -Branch 'master' -PassThru
+
+ Assert-NotNull $saveResponse
+ Assert-AreEqual "Succeeded" $saveResponse.State
+ Assert-Null $saveResponse.Error
+
+ #get Tenant Sync state after Save
+ $tenantSyncState = $null
+ $tenantSyncState = Get-AzureRmApiManagementTenantSyncState -Context $context
+ Assert-NotNull $tenantSyncState
+ Assert-AreEqual $true $tenantSyncState.IsGitEnabled
+ Assert-AreEqual "master" $tenantSyncState.Branch
+
+ # Do a Validate to populate the master Branch with current state of Configuration database
+ $validateResponse = Publish-AzureRmApiManagementTenantGitConfiguration -Context $context -Branch 'master' -ValidateOnly -PassThru
+
+ Assert-NotNull $validateResponse
+ Assert-AreEqual "Succeeded" $validateResponse.State
+ Assert-Null $validateResponse.Error
+
+ # Do a Deploy to populate the master Branch with current state of Configuration database
+ $deployResponse = Publish-AzureRmApiManagementTenantGitConfiguration -Context $context -Branch 'master' -PassThru
+
+ Assert-NotNull $deployResponse
+ Assert-AreEqual "Succeeded" $deployResponse.State
+ Assert-Null $deployResponse.Error
+
+ #get Tenant Sync state after Publish
+ $tenantSyncState = $null
+ $tenantSyncState = Get-AzureRmApiManagementTenantSyncState -Context $context
+ Assert-NotNull $tenantSyncState
+ Assert-AreEqual $true $tenantSyncState.IsGitEnabled
+ Assert-AreEqual "master" $tenantSyncState.Branch
+ Assert-AreEqual $true $tenantSyncState.IsSynced
+ }
+ finally
+ {
+ Set-AzureRmApiManagementTenantGitAccess -Context $context -Enabled $false -PassThru
+ }
}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/TestsFixture.cs b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/TestsFixture.cs
index 5f7ee3fbe111..1738fda2ce12 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/TestsFixture.cs
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/TestsFixture.cs
@@ -23,11 +23,11 @@ public TestsFixture()
//Environment.SetEnvironmentVariable(
// "TEST_CSM_ORGID_AUTHENTICATION",
- // "SubscriptionId=;Environment=;AADTenant=");
+ // "SubscriptionId=;Environment=Prod");
//Environment.SetEnvironmentVariable(
// "TEST_ORGID_AUTHENTICATION",
- // "SubscriptionId=;Environment=");
+ // "SubscriptionId=;Environment=Prod");
#endif
TestUtilities.StartTest();
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/ApiManagementTests/CreateApiManagementService.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/ApiManagementTests/CreateApiManagementService.json
index 81ac1fdf45ec..d37f9c8e7a25 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/ApiManagementTests/CreateApiManagementService.json
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/ApiManagementTests/CreateApiManagementService.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourcegroups?api-version=2014-04-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlZ3JvdXBzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourcegroups?api-version=2016-02-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlZ3JvdXBzP2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -10,10 +10,10 @@
"Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528\",\r\n \"name\": \"Api-Default4528\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default71\",\r\n \"name\": \"Api-Default71\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default8998\",\r\n \"name\": \"Api-Default8998\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default9929\",\r\n \"name\": \"Api-Default9929\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-Australia-Southeast\",\r\n \"name\": \"Api-Default-Australia-Southeast\",\r\n \"location\": \"australiasoutheast\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-Central-US\",\r\n \"name\": \"Api-Default-Central-US\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-East-US\",\r\n \"name\": \"Api-Default-East-US\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-East-US-2\",\r\n \"name\": \"Api-Default-East-US-2\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-North-Central-US\",\r\n \"name\": \"Api-Default-North-Central-US\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-North-Europe\",\r\n \"name\": \"Api-Default-North-Europe\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-South-Central-US\",\r\n \"name\": \"Api-Default-South-Central-US\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-Southeast-Asia\",\r\n \"name\": \"Api-Default-Southeast-Asia\",\r\n \"location\": \"southeastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-West-Europe\",\r\n \"name\": \"Api-Default-West-Europe\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-West-US\",\r\n \"name\": \"Api-Default-West-US\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"department\": \"apimgmt\",\r\n \"owner\": \"kjoshi\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/apictheastus\",\r\n \"name\": \"apictheastus\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/apim-central-us-stamp\",\r\n \"name\": \"apim-central-us-stamp\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Media-EastUS\",\r\n \"name\": \"Default-Media-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"southeastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-SQL-EastUS\",\r\n \"name\": \"Default-SQL-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-SQL-NorthEurope\",\r\n \"name\": \"Default-SQL-NorthEurope\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Storage-CentralUS\",\r\n \"name\": \"Default-Storage-CentralUS\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Storage-EastUS\",\r\n \"name\": \"Default-Storage-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Storage-EastUS2\",\r\n \"name\": \"Default-Storage-EastUS2\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Storage-SouthCentralUS\",\r\n \"name\": \"Default-Storage-SouthCentralUS\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Web-NorthEurope\",\r\n \"name\": \"Default-Web-NorthEurope\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/dl-apimgmt-cdb1\",\r\n \"name\": \"dl-apimgmt-cdb1\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/dl-apimgmt-cdb2\",\r\n \"name\": \"dl-apimgmt-cdb2\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/IisArrTest\",\r\n \"name\": \"IisArrTest\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/iistest\",\r\n \"name\": \"iistest\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/rlloadtest\",\r\n \"name\": \"rlloadtest\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/rlloadtestbe\",\r\n \"name\": \"rlloadtestbe\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/rlloadtestbeeast\",\r\n \"name\": \"rlloadtestbeeast\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/rlloadtestbene\",\r\n \"name\": \"rlloadtestbene\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/testbackendapi\",\r\n \"name\": \"testbackendapi\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528\",\r\n \"name\": \"Api-Default4528\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default71\",\r\n \"name\": \"Api-Default71\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default8998\",\r\n \"name\": \"Api-Default8998\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default9929\",\r\n \"name\": \"Api-Default9929\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-Australia-Southeast\",\r\n \"name\": \"Api-Default-Australia-Southeast\",\r\n \"location\": \"australiasoutheast\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-Central-US\",\r\n \"name\": \"Api-Default-Central-US\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-East-US\",\r\n \"name\": \"Api-Default-East-US\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-East-US-2\",\r\n \"name\": \"Api-Default-East-US-2\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-North-Central-US\",\r\n \"name\": \"Api-Default-North-Central-US\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-North-Europe\",\r\n \"name\": \"Api-Default-North-Europe\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-South-Central-US\",\r\n \"name\": \"Api-Default-South-Central-US\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-Southeast-Asia\",\r\n \"name\": \"Api-Default-Southeast-Asia\",\r\n \"location\": \"southeastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-West-Europe\",\r\n \"name\": \"Api-Default-West-Europe\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-West-US\",\r\n \"name\": \"Api-Default-West-US\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/apictheastus\",\r\n \"name\": \"apictheastus\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/apim-central-us-stamp\",\r\n \"name\": \"apim-central-us-stamp\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Media-EastUS\",\r\n \"name\": \"Default-Media-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"southeastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-NotificationHubs-NorthEurope\",\r\n \"name\": \"Default-NotificationHubs-NorthEurope\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-ServiceBus-CentralUS\",\r\n \"name\": \"Default-ServiceBus-CentralUS\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-ServiceBus-NorthCentralUS\",\r\n \"name\": \"Default-ServiceBus-NorthCentralUS\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-ServiceBus-WestUS\",\r\n \"name\": \"Default-ServiceBus-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-SQL-EastUS\",\r\n \"name\": \"Default-SQL-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-SQL-NorthEurope\",\r\n \"name\": \"Default-SQL-NorthEurope\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Storage-CentralUS\",\r\n \"name\": \"Default-Storage-CentralUS\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Storage-EastUS\",\r\n \"name\": \"Default-Storage-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Storage-EastUS2\",\r\n \"name\": \"Default-Storage-EastUS2\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Storage-SouthCentralUS\",\r\n \"name\": \"Default-Storage-SouthCentralUS\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Web-NorthEurope\",\r\n \"name\": \"Default-Web-NorthEurope\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/dfgfdgsdfg\",\r\n \"name\": \"dfgfdgsdfg\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/dl-apimgmt-cdb1\",\r\n \"name\": \"dl-apimgmt-cdb1\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/dl-apimgmt-cdb2\",\r\n \"name\": \"dl-apimgmt-cdb2\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/foo234\",\r\n \"name\": \"foo234\",\r\n \"location\": \"centralindia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/IisArrTest\",\r\n \"name\": \"IisArrTest\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/iistest\",\r\n \"name\": \"iistest\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/rlloadtest\",\r\n \"name\": \"rlloadtest\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/rlloadtestbe\",\r\n \"name\": \"rlloadtestbe\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/rlloadtestbeeast\",\r\n \"name\": \"rlloadtestbeeast\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/rlloadtestbene\",\r\n \"name\": \"rlloadtestbene\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/sdfdsf\",\r\n \"name\": \"sdfdsf\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/tempextension\",\r\n \"name\": \"tempextension\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/testbackendapi\",\r\n \"name\": \"testbackendapi\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "7485"
+ "9020"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -25,16 +25,16 @@
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14995"
+ "14999"
],
"x-ms-request-id": [
- "e4007402-9e80-4ae4-ad01-d81377a3a4c0"
+ "7ad33147-248c-4608-8848-c9ddaf1d4ec1"
],
"x-ms-correlation-request-id": [
- "e4007402-9e80-4ae4-ad01-d81377a3a4c0"
+ "7ad33147-248c-4608-8848-c9ddaf1d4ec1"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T191305Z:e4007402-9e80-4ae4-ad01-d81377a3a4c0"
+ "CENTRALUS:20160426T132633Z:7ad33147-248c-4608-8848-c9ddaf1d4ec1"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -43,14 +43,14 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:13:05 GMT"
+ "Tue, 26 Apr 2016 13:26:32 GMT"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3ND9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxND9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"publisherEmail\": \"foo@live.com\",\r\n \"publisherName\": \"apimgmt\",\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"createdAtUtc\": \"0001-01-01T00:00:00\",\r\n \"addresserEmail\": \"foo@live.com\",\r\n \"hostnameConfigurations\": []\r\n }\r\n}",
"RequestHeaders": {
@@ -64,10 +64,13 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914\",\r\n \"tags\": {},\r\n \"location\": \"West US\",\r\n \"etag\": \"AAAAAABB8rw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"foo@live.com\",\r\n \"publisherName\": \"apimgmt\",\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2016-04-25T23:22:17.9243043Z\",\r\n \"runtimeUrl\": \"https://hydraapimservice9914.azure-api.net\",\r\n \"portalUrl\": \"https://hydraapimservice9914.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://hydraapimservice9914.management.azure-api.net\",\r\n \"scmUrl\": \"https://hydraapimservice9914.scm.azure-api.net\",\r\n \"addresserEmail\": \"foo@live.com\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIPs\": [\r\n \"138.91.251.146\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"vpnconfiguration\": null,\r\n \"customProperties\": null\r\n },\r\n \"name\": \"hydraapimservice9914\",\r\n \"type\": \"Microsoft.ApiManagement/service\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "0"
+ "919"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
],
"Expires": [
"-1"
@@ -75,252 +78,18 @@
"Pragma": [
"no-cache"
],
- "Retry-After": [
- "60"
- ],
- "Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operations/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk"
- ],
"x-ms-request-id": [
- "deb0d8c0-768f-4fb5-8774-2251b4e72d67",
- "7871f761-d94e-4a30-b0a7-e86b326b22b5"
+ "1d8883dc-c363-4b81-8882-ad2986b2c788",
+ "4059a37a-f93c-4a37-a77c-4a445976c636"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1199"
],
"x-ms-correlation-request-id": [
- "b21e01c1-1f91-45dd-8cb0-445e75d3b25d"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T191308Z:b21e01c1-1f91-45dd-8cb0-445e75d3b25d"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:13:07 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "b3f0226a-8028-49a8-83c3-ff526c4c1637"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14999"
- ],
- "x-ms-correlation-request-id": [
- "563402d9-f6e0-457b-a2ea-de9c05998a3f"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T191308Z:563402d9-f6e0-457b-a2ea-de9c05998a3f"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:13:07 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "0c2c3dee-86da-4381-9ffa-6a89d1d0dcd8"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14998"
- ],
- "x-ms-correlation-request-id": [
- "04f7b564-b402-4967-bce1-3c4133c9a0a0"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T191408Z:04f7b564-b402-4967-bce1-3c4133c9a0a0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:14:07 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "9e1805cd-94ea-4718-a43b-1bc8f21c55a2"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14997"
- ],
- "x-ms-correlation-request-id": [
- "c10ce75b-a619-44b0-867d-f7b70725db52"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T191508Z:c10ce75b-a619-44b0-867d-f7b70725db52"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:15:08 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "951dcac1-be3f-4103-93bd-d5af56b2285c"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14996"
- ],
- "x-ms-correlation-request-id": [
- "3efa0e04-8d9e-47cd-b3d6-c61823345964"
+ "cc23523d-2681-42d1-8c86-647077c204c0"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T191609Z:3efa0e04-8d9e-47cd-b3d6-c61823345964"
+ "CENTRALUS:20160426T132640Z:cc23523d-2681-42d1-8c86-647077c204c0"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -329,91 +98,34 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:16:09 GMT"
+ "Tue, 26 Apr 2016 13:26:39 GMT"
],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
+ "ETag": [
+ "\"AAAAAABB8rw=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
]
},
- "StatusCode": 202
+ "StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxND9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
"User-Agent": [
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914\",\r\n \"tags\": {},\r\n \"location\": \"West US\",\r\n \"etag\": \"AAAAAABB8rw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"foo@live.com\",\r\n \"publisherName\": \"apimgmt\",\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2016-04-25T23:22:17.9243043Z\",\r\n \"runtimeUrl\": \"https://hydraapimservice9914.azure-api.net\",\r\n \"portalUrl\": \"https://hydraapimservice9914.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://hydraapimservice9914.management.azure-api.net\",\r\n \"scmUrl\": \"https://hydraapimservice9914.scm.azure-api.net\",\r\n \"addresserEmail\": \"foo@live.com\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIPs\": [\r\n \"138.91.251.146\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"vpnconfiguration\": null,\r\n \"customProperties\": null\r\n },\r\n \"name\": \"hydraapimservice9914\",\r\n \"type\": \"Microsoft.ApiManagement/service\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "6d525d8a-7994-4d2d-84f4-2ea8b61bd40e"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14995"
- ],
- "x-ms-correlation-request-id": [
- "4ebffbd6-edf9-4d23-a722-b6f196ddfc0d"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T191709Z:4ebffbd6-edf9-4d23-a722-b6f196ddfc0d"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+ "919"
],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:17:09 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
+ "Content-Type": [
+ "application/json; charset=utf-8"
],
"Expires": [
"-1"
@@ -421,1211 +133,17 @@
"Pragma": [
"no-cache"
],
- "Retry-After": [
- "60"
- ],
"x-ms-request-id": [
- "cd9ecd10-c9fd-41a8-9f37-c0cee8d83da0"
+ "933a786b-bc84-460a-a72b-e4764ae4c517"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14994"
- ],
- "x-ms-correlation-request-id": [
- "264c6486-a51a-4ed2-a992-fc8a60d23e49"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T191810Z:264c6486-a51a-4ed2-a992-fc8a60d23e49"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:18:09 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "2858479c-6326-4fa2-b7f4-4c5e6fb11cb0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14993"
- ],
- "x-ms-correlation-request-id": [
- "d7afd2df-8eac-45a9-8923-1de06af573ba"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T191910Z:d7afd2df-8eac-45a9-8923-1de06af573ba"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:19:09 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "18bd78c6-4fb6-4492-8576-3ab7679b92f1"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14992"
- ],
- "x-ms-correlation-request-id": [
- "d072feda-f92f-4919-b976-e13e3c708f79"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T192011Z:d072feda-f92f-4919-b976-e13e3c708f79"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:20:10 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "0b171f0d-88cc-4626-8fc7-6f644274bc47"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14991"
- ],
- "x-ms-correlation-request-id": [
- "2e78b18d-8421-44a1-bcb5-258e2c5dae35"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T192111Z:2e78b18d-8421-44a1-bcb5-258e2c5dae35"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:21:11 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "d9d13c5b-2f47-4bbc-8fae-c4ee948a5ad5"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14990"
- ],
- "x-ms-correlation-request-id": [
- "c76bfe40-aba4-46b5-8caa-233073e3b36e"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T192212Z:c76bfe40-aba4-46b5-8caa-233073e3b36e"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:22:11 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "a06c61f2-594c-49be-84a7-9cc8a70c92ff"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14989"
- ],
- "x-ms-correlation-request-id": [
- "3420bc4a-8933-434f-8af9-62b02ef1f548"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T192313Z:3420bc4a-8933-434f-8af9-62b02ef1f548"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:23:12 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "c78d4c4d-a9e0-4cfc-88d2-c4d177da8c59"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14988"
- ],
- "x-ms-correlation-request-id": [
- "091cf249-dca0-499a-852d-4fe04d5d90ac"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T192413Z:091cf249-dca0-499a-852d-4fe04d5d90ac"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:24:13 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "c84daf9d-5f83-4c07-b8e5-1b91ba915c8a"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14987"
- ],
- "x-ms-correlation-request-id": [
- "718f344c-8cd6-417d-93c3-2fc4627f3fff"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T192513Z:718f344c-8cd6-417d-93c3-2fc4627f3fff"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:25:13 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "b2ef65d5-ef86-416a-ba3c-cb395d581cd3"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14986"
- ],
- "x-ms-correlation-request-id": [
- "8c24f8ad-da90-4703-8b88-e7bfd80fd17c"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T192614Z:8c24f8ad-da90-4703-8b88-e7bfd80fd17c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:26:13 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "44267418-458e-4e0c-b36f-f1e0b40c37ca"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14985"
- ],
- "x-ms-correlation-request-id": [
- "fa5e9543-7a07-479f-b2fd-c5bb3b5afe6c"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T192714Z:fa5e9543-7a07-479f-b2fd-c5bb3b5afe6c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:27:14 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "e7b6f299-4b8f-4e80-9ad0-ca260ce40ebe"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14984"
- ],
- "x-ms-correlation-request-id": [
- "6cf5b614-fc00-4880-9dc1-d2b868a105c0"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T192815Z:6cf5b614-fc00-4880-9dc1-d2b868a105c0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:28:15 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "c75ea59e-846a-4ab0-8967-6c55d1a2cb3c"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14983"
- ],
- "x-ms-correlation-request-id": [
- "923ee9d3-390a-4bb7-94fc-e5a6d32e8c6f"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T192916Z:923ee9d3-390a-4bb7-94fc-e5a6d32e8c6f"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:29:15 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "e767b9a2-4c59-4135-8344-1dd1c9ac43ae"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14982"
- ],
- "x-ms-correlation-request-id": [
- "59e98bc8-5ef4-4111-9062-0518c6fa8758"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T193016Z:59e98bc8-5ef4-4111-9062-0518c6fa8758"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:30:15 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "eb7cfdb6-e9a0-460c-859a-a56b2574003a"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14981"
- ],
- "x-ms-correlation-request-id": [
- "2090fbbc-02f9-4936-b877-6cc6739312d7"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T193117Z:2090fbbc-02f9-4936-b877-6cc6739312d7"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:31:16 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "fe3777ed-0f02-4e2e-b63c-336d08e2dac4"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14980"
- ],
- "x-ms-correlation-request-id": [
- "ee67fc2c-78b4-4bf4-8c10-c3699b6921a3"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T193217Z:ee67fc2c-78b4-4bf4-8c10-c3699b6921a3"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:32:16 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "51ed1af7-284c-45af-9e00-2adefd2cb618"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14979"
- ],
- "x-ms-correlation-request-id": [
- "e9963478-095b-44d1-aa5a-edee7e206714"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T193318Z:e9963478-095b-44d1-aa5a-edee7e206714"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:33:18 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "8ba17c4c-22bc-4256-b860-592c245f1724"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14978"
- ],
- "x-ms-correlation-request-id": [
- "75a288e9-8cb1-45c3-afb8-22f6942e3ab0"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T193419Z:75a288e9-8cb1-45c3-afb8-22f6942e3ab0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:34:18 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "5ceb9812-bc15-4918-a173-03ec676ba478"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14977"
- ],
- "x-ms-correlation-request-id": [
- "9a183070-abd2-41d9-a346-a0324eb4f070"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T193519Z:9a183070-abd2-41d9-a346-a0324eb4f070"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:35:19 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "596e69f1-e10b-4a55-ab1f-a50f3299f5c8"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14976"
- ],
- "x-ms-correlation-request-id": [
- "153d42ef-726c-4de7-8bb6-ad3c732f8960"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T193619Z:153d42ef-726c-4de7-8bb6-ad3c732f8960"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:36:19 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "60"
- ],
- "x-ms-request-id": [
- "39f56516-06e1-4f13-8384-ba24ae71ac74"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14975"
- ],
- "x-ms-correlation-request-id": [
- "98d6ed38-bbbd-4f8c-9479-3d85d27e8ce5"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T193720Z:98d6ed38-bbbd-4f8c-9479-3d85d27e8ce5"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:37:19 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/operationresults/aHlkcmFhcGltc2VydmljZTQxNzRfQWN0Xzk3ZDE1ODRk?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9vcGVyYXRpb25yZXN1bHRzL2FIbGtjbUZoY0dsdGMyVnlkbWxqWlRReE56UmZRV04wWHprM1pERTFPRFJrP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-version": [
- "2014-02-14"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174\",\r\n \"tags\": {},\r\n \"location\": \"West US\",\r\n \"etag\": \"AAAAAAApaHE=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"foo@live.com\",\r\n \"publisherName\": \"apimgmt\",\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2015-10-23T19:13:08.2576608Z\",\r\n \"runtimeUrl\": \"https://hydraapimservice4174.azure-api.net\",\r\n \"portalUrl\": \"https://hydraapimservice4174.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://hydraapimservice4174.management.azure-api.net\",\r\n \"scmUrl\": \"https://hydraapimservice4174.scm.azure-api.net\",\r\n \"addresserEmail\": \"foo@live.com\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIPs\": [\r\n \"40.112.140.52\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"vpnconfiguration\": null,\r\n \"customProperties\": null\r\n },\r\n \"name\": \"hydraapimservice4174\",\r\n \"type\": \"Microsoft.ApiManagement/service\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "918"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "ce195c15-2244-49f4-9ad9-fbba95e17006"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14974"
- ],
- "x-ms-correlation-request-id": [
- "f5b596a3-7a14-4d93-bce7-f74fedf268dc"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20151023T193820Z:f5b596a3-7a14-4d93-bce7-f74fedf268dc"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 23 Oct 2015 19:38:20 GMT"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3ND9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174\",\r\n \"tags\": {},\r\n \"location\": \"West US\",\r\n \"etag\": \"AAAAAAApaHE=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"foo@live.com\",\r\n \"publisherName\": \"apimgmt\",\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2015-10-23T19:13:08.2576608Z\",\r\n \"runtimeUrl\": \"https://hydraapimservice4174.azure-api.net\",\r\n \"portalUrl\": \"https://hydraapimservice4174.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://hydraapimservice4174.management.azure-api.net\",\r\n \"scmUrl\": \"https://hydraapimservice4174.scm.azure-api.net\",\r\n \"addresserEmail\": \"foo@live.com\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIPs\": [\r\n \"40.112.140.52\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"vpnconfiguration\": null,\r\n \"customProperties\": null\r\n },\r\n \"name\": \"hydraapimservice4174\",\r\n \"type\": \"Microsoft.ApiManagement/service\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "918"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "d35fde83-23e1-4781-92e2-babdc369e3df"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14973"
+ "14999"
],
"x-ms-correlation-request-id": [
- "a13dc199-0c5c-4c9f-841d-bd4b44212b7e"
+ "e613e360-b8d7-465e-8e2c-e8d636445125"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193821Z:a13dc199-0c5c-4c9f-841d-bd4b44212b7e"
+ "CENTRALUS:20160426T132640Z:e613e360-b8d7-465e-8e2c-e8d636445125"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1634,10 +152,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:38:20 GMT"
+ "Tue, 26 Apr 2016 13:26:39 GMT"
],
"ETag": [
- "\"AAAAAAApaHE=\""
+ "\"AAAAAABB8rw=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1648,7 +166,7 @@
],
"Names": {
".ctor": [
- "hydraapimservice4174"
+ "hydraapimservice9914"
]
},
"Variables": {
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiCrudTest.json
index b49278db8cca..563c7011beb0 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiCrudTest.json
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiCrudTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -10,7 +10,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"264"
@@ -25,16 +25,16 @@
"no-cache"
],
"x-ms-request-id": [
- "797143bc-be59-4c69-a0bd-c157d3f0e8fe"
+ "5ae83feb-c27a-42b8-83e5-bd4e5e1428c2"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14999"
],
"x-ms-correlation-request-id": [
- "01a102e8-aeaa-448c-9420-f2cfde925391"
+ "a6c4f75a-ccff-4902-9565-1def56dfc610"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193931Z:01a102e8-aeaa-448c-9420-f2cfde925391"
+ "CENTRALUS:20160427T232608Z:a6c4f75a-ccff-4902-9565-1def56dfc610"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -43,7 +43,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:31 GMT"
+ "Wed, 27 Apr 2016 23:26:07 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -52,8 +52,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -64,10 +64,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/apis/562a882512bfbd0424040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/apis/571ea82900710f0345040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "298"
+ "312"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -79,16 +79,16 @@
"no-cache"
],
"x-ms-request-id": [
- "4076d4dc-d606-4331-8445-41442d4b4429"
+ "1e3bcb61-e3d9-4cfa-809c-191efe76378a"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14998"
],
"x-ms-correlation-request-id": [
- "60965c76-a47d-4e72-a880-53288c22eba4"
+ "9becf32f-bb1a-4209-9a91-b975c57fa729"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193932Z:60965c76-a47d-4e72-a880-53288c22eba4"
+ "CENTRALUS:20160427T232608Z:9becf32f-bb1a-4209-9a91-b975c57fa729"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -97,10 +97,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:31 GMT"
+ "Wed, 27 Apr 2016 23:26:07 GMT"
],
"ETag": [
- "\"AAAAAAAACAo=\""
+ "\"AAAAAAAACJw=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -109,8 +109,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis?api-version=2014-02-14&$filter=name%20eq%20'Echo%20API'",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQmJGZpbHRlcj1uYW1lJTIwZXElMjAlMjdFY2hvJTIwQVBJJTI3",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis?api-version=2014-02-14&$filter=name%20eq%20'Echo%20API'",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQmJGZpbHRlcj1uYW1lJTIwZXElMjAlMjdFY2hvJTIwQVBJJTI3",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -118,7 +118,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"264"
@@ -133,16 +133,16 @@
"no-cache"
],
"x-ms-request-id": [
- "bef494a5-750a-4422-aa24-509bb5914b51"
+ "7be1b352-f08c-4128-947b-13acb270c280"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14997"
],
"x-ms-correlation-request-id": [
- "58b96292-62aa-4863-a179-e9b2bec172ef"
+ "e5c94021-6189-48ba-9cd2-369b7860e78f"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193932Z:58b96292-62aa-4863-a179-e9b2bec172ef"
+ "CENTRALUS:20160427T232608Z:e5c94021-6189-48ba-9cd2-369b7860e78f"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -151,7 +151,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:31 GMT"
+ "Wed, 27 Apr 2016 23:26:07 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -160,10 +160,10 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/onesdk9745?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzL29uZXNkazk3NDU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/onesdk3726?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzL29uZXNkazM3MjY/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"name\": \"onesdk4172\",\r\n \"description\": \"onesdk9469\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapi\",\r\n \"path\": \"onesdk3839\",\r\n \"protocols\": [\r\n \"Http\",\r\n \"Https\"\r\n ],\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"onesdk1347\",\r\n \"query\": \"onesdk6825\"\r\n }\r\n}",
+ "RequestBody": "{\r\n \"name\": \"onesdk5113\",\r\n \"description\": \"onesdk1248\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapi\",\r\n \"path\": \"onesdk5189\",\r\n \"protocols\": [\r\n \"Http\",\r\n \"Https\"\r\n ],\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"onesdk1821\",\r\n \"query\": \"onesdk8034\"\r\n }\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json"
@@ -187,16 +187,16 @@
"no-cache"
],
"x-ms-request-id": [
- "e7d4a17e-6972-4f06-aada-f3a5e93366c4"
+ "a41fb888-c51f-461d-8ce1-16171bd9d3e4"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1199"
],
"x-ms-correlation-request-id": [
- "ee08742b-ab75-477d-b04a-993fed76e61f"
+ "8b40fc8a-ecc8-4523-a00f-104402f896c3"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193933Z:ee08742b-ab75-477d-b04a-993fed76e61f"
+ "CENTRALUS:20160427T232609Z:8b40fc8a-ecc8-4523-a00f-104402f896c3"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -205,7 +205,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:32 GMT"
+ "Wed, 27 Apr 2016 23:26:08 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -214,10 +214,10 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/onesdk9745?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzL29uZXNkazk3NDU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/onesdk3726?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzL29uZXNkazM3MjY/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"name\": \"onesdk9146\",\r\n \"description\": \"onesdk2005\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapinew\",\r\n \"path\": \"onesdk8823\",\r\n \"protocols\": [\r\n \"Https\"\r\n ],\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"onesdk4876\",\r\n \"query\": \"onesdk130\"\r\n }\r\n}",
+ "RequestBody": "{\r\n \"name\": \"onesdk7062\",\r\n \"description\": \"onesdk614\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapinew\",\r\n \"path\": \"onesdk5451\",\r\n \"protocols\": [\r\n \"Https\"\r\n ],\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"onesdk3837\",\r\n \"query\": \"onesdk6311\"\r\n }\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json"
@@ -244,16 +244,16 @@
"no-cache"
],
"x-ms-request-id": [
- "a320179e-0923-4fe1-8082-fc2c08fae84e"
+ "29d45d99-ad9b-4e89-9e0f-b83ff50c0315"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1198"
],
"x-ms-correlation-request-id": [
- "23147da6-ee2f-4d9d-8d37-93d6a9fc8eab"
+ "0892cb1b-4321-42b4-ac5e-3591cd1ef168"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193938Z:23147da6-ee2f-4d9d-8d37-93d6a9fc8eab"
+ "CENTRALUS:20160427T232614Z:0892cb1b-4321-42b4-ac5e-3591cd1ef168"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -262,7 +262,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:37 GMT"
+ "Wed, 27 Apr 2016 23:26:14 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -271,8 +271,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/onesdk9745?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzL29uZXNkazk3NDU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/onesdk3726?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzL29uZXNkazM3MjY/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -283,10 +283,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/apis/onesdk9745\",\r\n \"name\": \"onesdk4172\",\r\n \"description\": \"onesdk9469\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapi\",\r\n \"path\": \"onesdk3839\",\r\n \"protocols\": [\r\n \"http\",\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"onesdk1347\",\r\n \"query\": \"onesdk6825\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/apis/onesdk3726\",\r\n \"name\": \"onesdk5113\",\r\n \"description\": \"onesdk1248\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapi\",\r\n \"path\": \"onesdk5189\",\r\n \"protocols\": [\r\n \"http\",\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"onesdk1821\",\r\n \"query\": \"onesdk8034\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "292"
+ "306"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -298,16 +298,16 @@
"no-cache"
],
"x-ms-request-id": [
- "f249a9c0-c641-41f8-be1a-5f1111f7e9fc"
+ "5634d052-c114-4e90-9df1-0b360ff1d9ad"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14996"
],
"x-ms-correlation-request-id": [
- "d8b798bf-b8f3-4139-9a8f-7539d2c7863f"
+ "b2576694-6d85-4657-9ca0-895cdc8c8df7"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193933Z:d8b798bf-b8f3-4139-9a8f-7539d2c7863f"
+ "CENTRALUS:20160427T232609Z:b2576694-6d85-4657-9ca0-895cdc8c8df7"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -316,10 +316,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:33 GMT"
+ "Wed, 27 Apr 2016 23:26:08 GMT"
],
"ETag": [
- "\"AAAAAAAACCU=\""
+ "\"AAAAAAAACM0=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -328,8 +328,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/onesdk9745?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzL29uZXNkazk3NDU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/onesdk3726?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzL29uZXNkazM3MjY/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -340,10 +340,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/apis/onesdk9745\",\r\n \"name\": \"onesdk9146\",\r\n \"description\": \"onesdk2005\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapinew\",\r\n \"path\": \"onesdk8823\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"onesdk4876\",\r\n \"query\": \"onesdk130\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/apis/onesdk3726\",\r\n \"name\": \"onesdk7062\",\r\n \"description\": \"onesdk614\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapinew\",\r\n \"path\": \"onesdk5451\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"onesdk3837\",\r\n \"query\": \"onesdk6311\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "287"
+ "301"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -355,16 +355,16 @@
"no-cache"
],
"x-ms-request-id": [
- "1f89113a-356d-4e0e-b2e2-a63f888d1d0d"
+ "336768f6-db19-4b35-b489-bd668b27737d"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14995"
],
"x-ms-correlation-request-id": [
- "992cb5fa-92b9-4ea1-85ef-5a2562f7ea67"
+ "904d3aa7-ee1b-44da-99dc-697ca16da219"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193938Z:992cb5fa-92b9-4ea1-85ef-5a2562f7ea67"
+ "CENTRALUS:20160427T232614Z:904d3aa7-ee1b-44da-99dc-697ca16da219"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -373,10 +373,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:37 GMT"
+ "Wed, 27 Apr 2016 23:26:14 GMT"
],
"ETag": [
- "\"AAAAAAAACCc=\""
+ "\"AAAAAAAACM8=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -385,8 +385,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -394,10 +394,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/products/562a882512bfbd0424060001\",\r\n \"name\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n },\r\n {\r\n \"id\": \"/products/562a882512bfbd0424060002\",\r\n \"name\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/products/571ea82900710f0345060001\",\r\n \"name\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 100,\r\n \"state\": \"published\"\r\n },\r\n {\r\n \"id\": \"/products/571ea82900710f0345060002\",\r\n \"name\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "583"
+ "585"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -409,16 +409,16 @@
"no-cache"
],
"x-ms-request-id": [
- "a4406bc2-8703-4e75-bd1f-0f763dc8a189"
+ "39c54d0a-3f36-4cd8-aec7-6b9182d96929"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14994"
],
"x-ms-correlation-request-id": [
- "33f93471-cd8d-4328-91dd-4dba05a2fb83"
+ "7b01c252-6f63-49da-a2d1-af7a8c104291"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193938Z:33f93471-cd8d-4328-91dd-4dba05a2fb83"
+ "CENTRALUS:20160427T232614Z:7b01c252-6f63-49da-a2d1-af7a8c104291"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -427,7 +427,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:37 GMT"
+ "Wed, 27 Apr 2016 23:26:14 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -436,8 +436,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060001/apis/onesdk9745?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDEvYXBpcy9vbmVzZGs5NzQ1P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060001/apis/onesdk3726?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDEvYXBpcy9vbmVzZGszNzI2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "PUT",
"RequestBody": "",
"RequestHeaders": {
@@ -457,16 +457,16 @@
"no-cache"
],
"x-ms-request-id": [
- "98fb67eb-3920-4164-aff7-cb2b4da42825"
+ "a25d73df-3565-457d-800b-933b14ec427b"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1197"
],
"x-ms-correlation-request-id": [
- "2d07f822-23a2-4850-83d5-e8ccd90b6129"
+ "165c66a8-db32-485c-a4e6-ff7c073287d3"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193939Z:2d07f822-23a2-4850-83d5-e8ccd90b6129"
+ "CENTRALUS:20160427T232615Z:165c66a8-db32-485c-a4e6-ff7c073287d3"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -475,7 +475,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:38 GMT"
+ "Wed, 27 Apr 2016 23:26:15 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -484,8 +484,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060001/apis?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDEvYXBpcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060001/apis?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDEvYXBpcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -493,10 +493,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n },\r\n {\r\n \"id\": \"/apis/onesdk9745\",\r\n \"name\": \"onesdk9146\",\r\n \"description\": \"onesdk2005\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapinew\",\r\n \"path\": \"onesdk8823\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n },\r\n {\r\n \"id\": \"/apis/onesdk3726\",\r\n \"name\": \"onesdk7062\",\r\n \"description\": \"onesdk614\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapinew\",\r\n \"path\": \"onesdk5451\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "502"
+ "501"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -508,16 +508,16 @@
"no-cache"
],
"x-ms-request-id": [
- "3f8aa443-a0cb-4109-96f8-b4bf1e095cfa"
+ "0bd62a66-5a0a-4190-80e7-c25ec6680888"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14993"
],
"x-ms-correlation-request-id": [
- "86336ae9-7fd8-4980-8c32-002ff9aea91d"
+ "afea9610-ad4a-44a5-98ca-d972b4ebb5fe"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193939Z:86336ae9-7fd8-4980-8c32-002ff9aea91d"
+ "CENTRALUS:20160427T232615Z:afea9610-ad4a-44a5-98ca-d972b4ebb5fe"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -526,7 +526,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:39 GMT"
+ "Wed, 27 Apr 2016 23:26:15 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -535,8 +535,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060001/apis?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDEvYXBpcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060001/apis?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDEvYXBpcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -544,7 +544,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"264"
@@ -559,16 +559,16 @@
"no-cache"
],
"x-ms-request-id": [
- "d557743b-f7c4-4019-a565-ec97510eeed0"
+ "772b5f00-b71a-4448-b75b-4ca259333ec4"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14992"
],
"x-ms-correlation-request-id": [
- "b3f71af5-12df-4772-a67d-1ed4eccdac51"
+ "a783f19c-714f-48f3-b5c0-b92c84331a9c"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193940Z:b3f71af5-12df-4772-a67d-1ed4eccdac51"
+ "CENTRALUS:20160427T232616Z:a783f19c-714f-48f3-b5c0-b92c84331a9c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -577,7 +577,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:39 GMT"
+ "Wed, 27 Apr 2016 23:26:16 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -586,8 +586,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060001/apis/onesdk9745?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDEvYXBpcy9vbmVzZGs5NzQ1P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060001/apis/onesdk3726?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDEvYXBpcy9vbmVzZGszNzI2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -607,16 +607,16 @@
"no-cache"
],
"x-ms-request-id": [
- "b60ad609-71ff-40fb-ad4b-c39db7dddad7"
+ "649c3005-0724-4ebf-988c-96949b6a6e0b"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1196"
],
"x-ms-correlation-request-id": [
- "4bc4b711-f32d-4d51-a845-de722df29088"
+ "948b218b-0663-4d2f-9238-0c96c29bc143"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193940Z:4bc4b711-f32d-4d51-a845-de722df29088"
+ "CENTRALUS:20160427T232616Z:948b218b-0663-4d2f-9238-0c96c29bc143"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -625,7 +625,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:39 GMT"
+ "Wed, 27 Apr 2016 23:26:15 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -634,8 +634,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/onesdk9745?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzL29uZXNkazk3NDU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/onesdk3726?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzL29uZXNkazM3MjY/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -658,16 +658,16 @@
"no-cache"
],
"x-ms-request-id": [
- "5e7f0a48-b8b0-441a-a80f-926e7a91b945"
+ "d8e8dcb0-7326-40d9-9524-c397a49eac2a"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1195"
],
"x-ms-correlation-request-id": [
- "ab7585ea-c768-4c04-9c91-d21a3599fdce"
+ "b2c3c03d-f3d8-46d1-8fac-b9d7a3a6f18a"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193946Z:ab7585ea-c768-4c04-9c91-d21a3599fdce"
+ "CENTRALUS:20160427T232616Z:b2c3c03d-f3d8-46d1-8fac-b9d7a3a6f18a"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -676,7 +676,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:45 GMT"
+ "Wed, 27 Apr 2016 23:26:16 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -687,17 +687,17 @@
],
"Names": {
"": [
- "onesdk9745",
- "onesdk4172",
- "onesdk9469",
- "onesdk3839",
- "onesdk1347",
- "onesdk6825",
- "onesdk9146",
- "onesdk2005",
- "onesdk8823",
- "onesdk4876",
- "onesdk130"
+ "onesdk3726",
+ "onesdk5113",
+ "onesdk1248",
+ "onesdk5189",
+ "onesdk1821",
+ "onesdk8034",
+ "onesdk7062",
+ "onesdk614",
+ "onesdk5451",
+ "onesdk3837",
+ "onesdk6311"
]
},
"Variables": {
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiImportExportTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiImportExportTest.json
index 78a1a3b26cd2..01d707b1ff16 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiImportExportTest.json
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiImportExportTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/onesdk319?api-version=2014-02-14&path=wadlapi",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzL29uZXNkazMxOT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0JnBhdGg9d2FkbGFwaQ==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/onesdk426?api-version=2014-02-14&path=wadlapi",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzL29uZXNkazQyNj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0JnBhdGg9d2FkbGFwaQ==",
"RequestMethod": "PUT",
"RequestBody": "\r\n Yahoo News Search API\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n",
"RequestHeaders": {
@@ -31,16 +31,16 @@
"no-cache"
],
"x-ms-request-id": [
- "d5ba8f53-4dc8-49d5-ada9-c2ca7566f7f2"
+ "0d09c5b8-8719-4def-a36c-bf2fce45d9ba"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1199"
],
"x-ms-correlation-request-id": [
- "7b48ab22-4657-4eb7-8579-24f2c6a21245"
+ "20e4cab1-8aa7-461f-9e64-f030841d6abf"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194020Z:7b48ab22-4657-4eb7-8579-24f2c6a21245"
+ "WESTUS:20160427T232425Z:20e4cab1-8aa7-461f-9e64-f030841d6abf"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -49,7 +49,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:19 GMT"
+ "Wed, 27 Apr 2016 23:24:24 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -58,8 +58,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/onesdk319?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzL29uZXNkazMxOT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/onesdk426?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzL29uZXNkazQyNj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -70,10 +70,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/apis/onesdk319\",\r\n \"name\": \"Yahoo News Search\",\r\n \"description\": \"Yahoo News Search API\",\r\n \"serviceUrl\": \"http://api.search.yahoo.com/NewsSearchService/V1/\",\r\n \"path\": \"wadlapi\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/apis/onesdk426\",\r\n \"name\": \"Yahoo News Search\",\r\n \"description\": \"Yahoo News Search API\",\r\n \"serviceUrl\": \"http://api.search.yahoo.com/NewsSearchService/V1/\",\r\n \"path\": \"wadlapi\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "332"
+ "346"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -85,16 +85,16 @@
"no-cache"
],
"x-ms-request-id": [
- "5007f0e7-9d31-4f4a-8e3b-31b6a1c7499a"
+ "401020df-8bae-4ac7-9a17-9d9b2a9f4b69"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14999"
],
"x-ms-correlation-request-id": [
- "08c0928f-0c12-47ce-b4c2-40d561ffce7b"
+ "7dc2cd2f-2fa9-4079-8d77-73dd9b39c22c"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194020Z:08c0928f-0c12-47ce-b4c2-40d561ffce7b"
+ "WESTUS:20160427T232425Z:7dc2cd2f-2fa9-4079-8d77-73dd9b39c22c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -103,10 +103,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:19 GMT"
+ "Wed, 27 Apr 2016 23:24:25 GMT"
],
"ETag": [
- "\"AAAAAAAACC0=\""
+ "\"AAAAAAAACMg=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -115,8 +115,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/onesdk319?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzL29uZXNkazMxOT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/onesdk426?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzL29uZXNkazQyNj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -127,7 +127,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "\r\n Yahoo News Search API\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n",
+ "ResponseBody": "\r\n Yahoo News Search API\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n",
"ResponseHeaders": {
"Content-Length": [
"3836"
@@ -142,16 +142,16 @@
"no-cache"
],
"x-ms-request-id": [
- "c6d7d77d-ad78-46b7-812a-bf96dc7e51aa"
+ "9f1314ae-068c-4557-814b-53146f55e07d"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14998"
],
"x-ms-correlation-request-id": [
- "f81c304c-5f4d-4d89-9401-c1b62d9b0577"
+ "1bcc2b86-4015-4f93-9a9c-0c973f4f7a3c"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194021Z:f81c304c-5f4d-4d89-9401-c1b62d9b0577"
+ "WESTUS:20160427T232426Z:1bcc2b86-4015-4f93-9a9c-0c973f4f7a3c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -160,10 +160,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:20 GMT"
+ "Wed, 27 Apr 2016 23:24:25 GMT"
],
"ETag": [
- "\"AAAAAAAACC0=\""
+ "\"AAAAAAAACMg=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -172,8 +172,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/onesdk319?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzL29uZXNkazMxOT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/onesdk426?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzL29uZXNkazQyNj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -196,16 +196,16 @@
"no-cache"
],
"x-ms-request-id": [
- "10c57cde-fee8-4a83-a3c7-2404608ace90"
+ "092aa125-60e4-4b34-8f53-541b1d14fe48"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1198"
],
"x-ms-correlation-request-id": [
- "1f945b99-923c-49d5-9b20-666057860452"
+ "f6158e6c-bc36-4c0a-afe0-ef0d7d09b4b6"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194021Z:1f945b99-923c-49d5-9b20-666057860452"
+ "WESTUS:20160427T232432Z:f6158e6c-bc36-4c0a-afe0-ef0d7d09b4b6"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -214,7 +214,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:21 GMT"
+ "Wed, 27 Apr 2016 23:24:31 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -225,7 +225,7 @@
],
"Names": {
"": [
- "onesdk319"
+ "onesdk426"
]
},
"Variables": {
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/AuthorizationServerCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/AuthorizationServerCrudTest.json
index 2cb93df64b04..494fd78c7323 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/AuthorizationServerCrudTest.json
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/AuthorizationServerCrudTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/authorizationServers?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hdXRob3JpemF0aW9uU2VydmVycz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/authorizationServers?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hdXRob3JpemF0aW9uU2VydmVycz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -25,16 +25,16 @@
"no-cache"
],
"x-ms-request-id": [
- "58c2319e-d390-496e-9fb0-85e13025b37b"
+ "8e0deba3-3177-4d35-b067-86fb86afe2ff"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14999"
+ "14967"
],
"x-ms-correlation-request-id": [
- "67ad9f4d-3d88-4c87-9875-584c20190d08"
+ "4dc038a9-82c7-472b-a314-3c6387c2d2ea"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193904Z:67ad9f4d-3d88-4c87-9875-584c20190d08"
+ "WESTUS:20160427T232149Z:4dc038a9-82c7-472b-a314-3c6387c2d2ea"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -43,7 +43,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:03 GMT"
+ "Wed, 27 Apr 2016 23:21:48 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -52,16 +52,16 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/authorizationServers/onesdk2015?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hdXRob3JpemF0aW9uU2VydmVycy9vbmVzZGsyMDE1P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/authorizationServers/onesdk8796?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hdXRob3JpemF0aW9uU2VydmVycy9vbmVzZGs4Nzk2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"name\": \"onesdk9148\",\r\n \"description\": \"onesdk400\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname\",\r\n \"value\": \"tokenvalue\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"onesdk5727\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"onesdk7025\",\r\n \"clientSecret\": \"onesdk9873\",\r\n \"resourceOwnerUsername\": \"onesdk9890\",\r\n \"resourceOwnerPassword\": \"onesdk4463\"\r\n}",
+ "RequestBody": "{\r\n \"name\": \"onesdk2952\",\r\n \"description\": \"onesdk3347\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname\",\r\n \"value\": \"tokenvalue\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"onesdk7969\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"onesdk3418\",\r\n \"clientSecret\": \"onesdk5466\",\r\n \"resourceOwnerUsername\": \"onesdk7966\",\r\n \"resourceOwnerPassword\": \"onesdk7185\"\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json"
],
"Content-Length": [
- "832"
+ "833"
],
"User-Agent": [
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
@@ -79,16 +79,16 @@
"no-cache"
],
"x-ms-request-id": [
- "bc53cf51-c3c0-4068-902d-1e67cb8ded9a"
+ "2f32b0d3-d9b1-474d-85c7-022f24ddf2bb"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1199"
],
"x-ms-correlation-request-id": [
- "258bd187-8c4a-4f00-95a2-9a76a985a331"
+ "89de37d3-885e-4c07-b0ac-4706049e42a5"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193905Z:258bd187-8c4a-4f00-95a2-9a76a985a331"
+ "WESTUS:20160427T232149Z:89de37d3-885e-4c07-b0ac-4706049e42a5"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -97,7 +97,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:04 GMT"
+ "Wed, 27 Apr 2016 23:21:49 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -106,8 +106,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/authorizationServers/onesdk2015?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hdXRob3JpemF0aW9uU2VydmVycy9vbmVzZGsyMDE1P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/authorizationServers/onesdk8796?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hdXRob3JpemF0aW9uU2VydmVycy9vbmVzZGs4Nzk2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -115,10 +115,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/authorizationServers/onesdk2015\",\r\n \"name\": \"onesdk9148\",\r\n \"description\": \"onesdk400\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname\",\r\n \"value\": \"tokenvalue\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"onesdk5727\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"onesdk7025\",\r\n \"clientSecret\": \"onesdk9873\",\r\n \"resourceOwnerUsername\": \"onesdk9890\",\r\n \"resourceOwnerPassword\": \"onesdk4463\"\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/authorizationServers/onesdk8796\",\r\n \"name\": \"onesdk2952\",\r\n \"description\": \"onesdk3347\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname\",\r\n \"value\": \"tokenvalue\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"onesdk7969\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"onesdk3418\",\r\n \"clientSecret\": \"onesdk5466\",\r\n \"resourceOwnerUsername\": \"onesdk7966\",\r\n \"resourceOwnerPassword\": \"onesdk7185\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "692"
+ "693"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -130,16 +130,16 @@
"no-cache"
],
"x-ms-request-id": [
- "c21d673e-747c-4568-91ff-c53af4dec19a"
+ "c5a5447e-0115-40c7-b240-5c1aa2ab9157"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14998"
+ "14966"
],
"x-ms-correlation-request-id": [
- "b8d79a1a-f61c-473a-8de5-f008a17f8b3a"
+ "9008e147-67dc-4c53-8ee1-907e4d395fe2"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193905Z:b8d79a1a-f61c-473a-8de5-f008a17f8b3a"
+ "WESTUS:20160427T232150Z:9008e147-67dc-4c53-8ee1-907e4d395fe2"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -148,10 +148,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:05 GMT"
+ "Wed, 27 Apr 2016 23:21:49 GMT"
],
"ETag": [
- "\"AAAAAAAACCM=\""
+ "\"AAAAAAAACL8=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -160,8 +160,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/authorizationServers/onesdk2015?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hdXRob3JpemF0aW9uU2VydmVycy9vbmVzZGsyMDE1P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/authorizationServers/onesdk8796?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hdXRob3JpemF0aW9uU2VydmVycy9vbmVzZGs4Nzk2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -169,10 +169,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/authorizationServers/onesdk2015\",\r\n \"name\": \"onesdk9148\",\r\n \"description\": \"onesdk400\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname\",\r\n \"value\": \"tokenvalue\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"onesdk5727\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"onesdk7025\",\r\n \"clientSecret\": \"onesdk9873\",\r\n \"resourceOwnerUsername\": \"onesdk9890\",\r\n \"resourceOwnerPassword\": \"onesdk4463\"\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/authorizationServers/onesdk8796\",\r\n \"name\": \"onesdk2952\",\r\n \"description\": \"onesdk3347\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname\",\r\n \"value\": \"tokenvalue\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"onesdk7969\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"onesdk3418\",\r\n \"clientSecret\": \"onesdk5466\",\r\n \"resourceOwnerUsername\": \"onesdk7966\",\r\n \"resourceOwnerPassword\": \"onesdk7185\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "692"
+ "693"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -184,16 +184,16 @@
"no-cache"
],
"x-ms-request-id": [
- "7aa35c0b-1f93-4adc-8e4d-1597e20c9560"
+ "8fd41802-39c8-47e7-ae7d-510953bfa6d1"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14997"
+ "14965"
],
"x-ms-correlation-request-id": [
- "738dfe95-e50b-4ec8-b661-d22fe07d02c5"
+ "0b06628a-bda7-44db-9f17-ef8ac0e6a505"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193905Z:738dfe95-e50b-4ec8-b661-d22fe07d02c5"
+ "WESTUS:20160427T232150Z:0b06628a-bda7-44db-9f17-ef8ac0e6a505"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -202,10 +202,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:05 GMT"
+ "Wed, 27 Apr 2016 23:21:50 GMT"
],
"ETag": [
- "\"AAAAAAAACCM=\""
+ "\"AAAAAAAACL8=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -214,8 +214,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/authorizationServers/onesdk2015?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hdXRob3JpemF0aW9uU2VydmVycy9vbmVzZGsyMDE1P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/authorizationServers/onesdk8796?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hdXRob3JpemF0aW9uU2VydmVycy9vbmVzZGs4Nzk2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -223,10 +223,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/authorizationServers/onesdk2015\",\r\n \"name\": \"onesdk215\",\r\n \"description\": \"onesdk8878\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/regv2\",\r\n \"authorizationEndpoint\": \"https://contoso.com/authv2\",\r\n \"authorizationMethods\": [\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname1\",\r\n \"value\": \"tokenvalue1\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/tokenv2\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"onesdk6801\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"clientCredentials\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\"\r\n ],\r\n \"clientId\": \"onesdk734\",\r\n \"clientSecret\": \"onesdk1806\",\r\n \"resourceOwnerUsername\": \"onesdk9890\",\r\n \"resourceOwnerPassword\": \"onesdk4463\"\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/authorizationServers/onesdk8796\",\r\n \"name\": \"onesdk6077\",\r\n \"description\": \"onesdk9117\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/regv2\",\r\n \"authorizationEndpoint\": \"https://contoso.com/authv2\",\r\n \"authorizationMethods\": [\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname1\",\r\n \"value\": \"tokenvalue1\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/tokenv2\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"onesdk1247\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"clientCredentials\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\"\r\n ],\r\n \"clientId\": \"onesdk645\",\r\n \"clientSecret\": \"onesdk11\",\r\n \"resourceOwnerUsername\": \"onesdk7966\",\r\n \"resourceOwnerPassword\": \"onesdk7185\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "681"
+ "680"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -238,16 +238,16 @@
"no-cache"
],
"x-ms-request-id": [
- "9203b149-cf33-4f1b-9c48-f8c4609f76a4"
+ "44e5191d-482e-4ec4-b1ea-5f8ed4b42483"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14996"
+ "14964"
],
"x-ms-correlation-request-id": [
- "2f48ade9-8b04-4b7d-85b0-eada2d6aaab1"
+ "88686e7c-9121-41ab-81f3-a6f43495588b"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193906Z:2f48ade9-8b04-4b7d-85b0-eada2d6aaab1"
+ "WESTUS:20160427T232151Z:88686e7c-9121-41ab-81f3-a6f43495588b"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -256,10 +256,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:06 GMT"
+ "Wed, 27 Apr 2016 23:21:50 GMT"
],
"ETag": [
- "\"AAAAAAAACCQ=\""
+ "\"AAAAAAAACMA=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -268,8 +268,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/authorizationServers/onesdk2015?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hdXRob3JpemF0aW9uU2VydmVycy9vbmVzZGsyMDE1P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/authorizationServers/onesdk8796?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hdXRob3JpemF0aW9uU2VydmVycy9vbmVzZGs4Nzk2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -277,10 +277,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/authorizationServers/onesdk2015\",\r\n \"name\": \"onesdk215\",\r\n \"description\": \"onesdk8878\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/regv2\",\r\n \"authorizationEndpoint\": \"https://contoso.com/authv2\",\r\n \"authorizationMethods\": [\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname1\",\r\n \"value\": \"tokenvalue1\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/tokenv2\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"onesdk6801\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"clientCredentials\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\"\r\n ],\r\n \"clientId\": \"onesdk734\",\r\n \"clientSecret\": \"onesdk1806\",\r\n \"resourceOwnerUsername\": \"onesdk9890\",\r\n \"resourceOwnerPassword\": \"onesdk4463\"\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/authorizationServers/onesdk8796\",\r\n \"name\": \"onesdk6077\",\r\n \"description\": \"onesdk9117\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/regv2\",\r\n \"authorizationEndpoint\": \"https://contoso.com/authv2\",\r\n \"authorizationMethods\": [\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname1\",\r\n \"value\": \"tokenvalue1\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/tokenv2\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"onesdk1247\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"clientCredentials\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\"\r\n ],\r\n \"clientId\": \"onesdk645\",\r\n \"clientSecret\": \"onesdk11\",\r\n \"resourceOwnerUsername\": \"onesdk7966\",\r\n \"resourceOwnerPassword\": \"onesdk7185\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "681"
+ "680"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -292,16 +292,16 @@
"no-cache"
],
"x-ms-request-id": [
- "2db0d7b1-7358-4f62-a008-8dfe27480deb"
+ "ba3611ae-40cd-48ef-9eb2-bb916d4f5920"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14995"
+ "14963"
],
"x-ms-correlation-request-id": [
- "e75368c4-6c87-46cb-b7ed-c5cf3f3fe919"
+ "4d8f777a-878e-483c-af23-c1f5dc33fcaf"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193906Z:e75368c4-6c87-46cb-b7ed-c5cf3f3fe919"
+ "WESTUS:20160427T232151Z:4d8f777a-878e-483c-af23-c1f5dc33fcaf"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -310,10 +310,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:06 GMT"
+ "Wed, 27 Apr 2016 23:21:50 GMT"
],
"ETag": [
- "\"AAAAAAAACCQ=\""
+ "\"AAAAAAAACMA=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -322,8 +322,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/authorizationServers/onesdk2015?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hdXRob3JpemF0aW9uU2VydmVycy9vbmVzZGsyMDE1P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/authorizationServers/onesdk8796?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hdXRob3JpemF0aW9uU2VydmVycy9vbmVzZGs4Nzk2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -346,16 +346,16 @@
"no-cache"
],
"x-ms-request-id": [
- "ce324598-e70f-4d78-be60-597ee4290366"
+ "a2ee2406-44ed-4056-890c-d6d7558f3a8a"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14994"
+ "14962"
],
"x-ms-correlation-request-id": [
- "fbff840f-e74b-4217-bbdb-6f2407cd7b78"
+ "5528c795-c711-4c75-b6d5-45809ac7b8ab"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193907Z:fbff840f-e74b-4217-bbdb-6f2407cd7b78"
+ "WESTUS:20160427T232153Z:5528c795-c711-4c75-b6d5-45809ac7b8ab"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -364,7 +364,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:07 GMT"
+ "Wed, 27 Apr 2016 23:21:52 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -373,16 +373,16 @@
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/authorizationServers/onesdk2015?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hdXRob3JpemF0aW9uU2VydmVycy9vbmVzZGsyMDE1P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/authorizationServers/onesdk8796?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hdXRob3JpemF0aW9uU2VydmVycy9vbmVzZGs4Nzk2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "PATCH",
- "RequestBody": "{\r\n \"name\": \"onesdk215\",\r\n \"description\": \"onesdk8878\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/regv2\",\r\n \"authorizationEndpoint\": \"https://contoso.com/authv2\",\r\n \"authorizationMethods\": [\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname1\",\r\n \"value\": \"tokenvalue1\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/tokenv2\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"onesdk6801\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"clientCredentials\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\"\r\n ],\r\n \"clientId\": \"onesdk734\",\r\n \"clientSecret\": \"onesdk1806\"\r\n}",
+ "RequestBody": "{\r\n \"name\": \"onesdk6077\",\r\n \"description\": \"onesdk9117\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/regv2\",\r\n \"authorizationEndpoint\": \"https://contoso.com/authv2\",\r\n \"authorizationMethods\": [\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname1\",\r\n \"value\": \"tokenvalue1\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/tokenv2\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"onesdk1247\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"clientCredentials\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\"\r\n ],\r\n \"clientId\": \"onesdk645\",\r\n \"clientSecret\": \"onesdk11\"\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json"
],
"Content-Length": [
- "725"
+ "724"
],
"If-Match": [
"*"
@@ -403,16 +403,16 @@
"no-cache"
],
"x-ms-request-id": [
- "e4b92bcb-edd9-4c9e-a3ca-bbc1112cd3d5"
+ "efb69067-393f-487b-afe2-d72ec8b65fae"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1198"
],
"x-ms-correlation-request-id": [
- "f97a8778-4d48-4436-a8d9-8989722c396d"
+ "c5112f2a-0e29-4fec-b5ff-6ae8537b66fe"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193906Z:f97a8778-4d48-4436-a8d9-8989722c396d"
+ "WESTUS:20160427T232150Z:c5112f2a-0e29-4fec-b5ff-6ae8537b66fe"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -421,7 +421,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:06 GMT"
+ "Wed, 27 Apr 2016 23:21:50 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -430,8 +430,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/authorizationServers/onesdk2015?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hdXRob3JpemF0aW9uU2VydmVycy9vbmVzZGsyMDE1P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/authorizationServers/onesdk8796?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hdXRob3JpemF0aW9uU2VydmVycy9vbmVzZGs4Nzk2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -454,16 +454,16 @@
"no-cache"
],
"x-ms-request-id": [
- "d73da059-2dbb-4b27-b830-bea434832aed"
+ "278bb824-02b7-4423-958e-29b2d867ccfe"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1197"
],
"x-ms-correlation-request-id": [
- "bc19d96d-111f-4d0f-94c2-edcd32902088"
+ "98235d43-ad34-40c7-b765-e8c3efe758e7"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193907Z:bc19d96d-111f-4d0f-94c2-edcd32902088"
+ "WESTUS:20160427T232151Z:98235d43-ad34-40c7-b765-e8c3efe758e7"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -472,7 +472,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:06 GMT"
+ "Wed, 27 Apr 2016 23:21:51 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -483,19 +483,19 @@
],
"Names": {
"": [
- "onesdk2015",
- "onesdk9148",
- "onesdk5727",
- "onesdk7025",
- "onesdk400",
- "onesdk9873",
- "onesdk4463",
- "onesdk9890",
- "onesdk215",
- "onesdk6801",
- "onesdk734",
- "onesdk8878",
- "onesdk1806"
+ "onesdk8796",
+ "onesdk2952",
+ "onesdk7969",
+ "onesdk3418",
+ "onesdk3347",
+ "onesdk5466",
+ "onesdk7185",
+ "onesdk7966",
+ "onesdk6077",
+ "onesdk1247",
+ "onesdk645",
+ "onesdk9117",
+ "onesdk11"
]
},
"Variables": {
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/CertificateCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/CertificateCrudTest.json
index 811a3b617e52..c3bfe8897f72 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/CertificateCrudTest.json
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/CertificateCrudTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/certificates?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9jZXJ0aWZpY2F0ZXM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/certificates?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9jZXJ0aWZpY2F0ZXM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -25,16 +25,16 @@
"no-cache"
],
"x-ms-request-id": [
- "06e33837-254e-4779-b6b0-29dbb5d5820e"
+ "0755f86e-acd9-4faa-9499-3fac6d21dcf6"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14999"
],
"x-ms-correlation-request-id": [
- "5e80db41-2a09-4ef8-986b-9e64d001d25d"
+ "2378e09a-ffd1-42cb-ae6d-c931541102c8"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194128Z:5e80db41-2a09-4ef8-986b-9e64d001d25d"
+ "WESTUS:20160427T232519Z:2378e09a-ffd1-42cb-ae6d-c931541102c8"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -43,7 +43,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:27 GMT"
+ "Wed, 27 Apr 2016 23:25:18 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -52,8 +52,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/certificates?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9jZXJ0aWZpY2F0ZXM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/certificates?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9jZXJ0aWZpY2F0ZXM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -61,7 +61,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/certificates/onesdk3501\",\r\n \"subject\": \"CN=ailn.redmond.corp.microsoft.com\",\r\n \"thumbprint\": \"51A702569BADEDB90A75141B070F2D4B5DDFA447\",\r\n \"expirationDate\": \"2016-04-24T00:00:00\"\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/certificates/onesdk3742\",\r\n \"subject\": \"CN=ailn.redmond.corp.microsoft.com\",\r\n \"thumbprint\": \"51A702569BADEDB90A75141B070F2D4B5DDFA447\",\r\n \"expirationDate\": \"2016-04-24T00:00:00\"\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"213"
@@ -76,16 +76,16 @@
"no-cache"
],
"x-ms-request-id": [
- "ab1e882b-cdc6-42e4-8b97-e335e10c1a14"
+ "fc8c6cff-a882-423a-8f2f-99cad13ce0e4"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14995"
],
"x-ms-correlation-request-id": [
- "bb0ae024-36ad-410a-8415-c1101e2022e1"
+ "7060fbb5-b872-4e2b-a316-e4736010dc59"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194131Z:bb0ae024-36ad-410a-8415-c1101e2022e1"
+ "WESTUS:20160427T232522Z:7060fbb5-b872-4e2b-a316-e4736010dc59"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -94,7 +94,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:31 GMT"
+ "Wed, 27 Apr 2016 23:25:22 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -103,8 +103,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/certificates/onesdk3501?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9jZXJ0aWZpY2F0ZXMvb25lc2RrMzUwMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/certificates/onesdk3742?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9jZXJ0aWZpY2F0ZXMvb25lc2RrMzc0Mj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"data\": \"MIIKPwIBAzCCCfsGCSqGSIb3DQEHAaCCCewEggnoMIIJ5DCCBg0GCSqGSIb3DQEHAaCCBf4EggX6MIIF9jCCBfIGCyqGSIb3DQEMCgECoIIE9jCCBPIwHAYKKoZIhvcNAQwBAzAOBAh8tMrWWNG0qgICB9AEggTQPNY9J/eCePYdalr1arTcenKpUWZoT0pnYjcG7VG2C+Sxh+uCr4ugSx3l5tQy1XHWgsOheqPNILvSeS6WZJbyorDJIdD6vDueWSz7Qxge/WdwIoHkFq2w7GP6a1AnuSYDjt6u4gcfQHL9zHckHQvOYaJbKKgJcHEyUPmPSX7pmP6HOxGorklkcJQ6dTnMkQLzkd8ZhT9Mo1s5ClnmPOTfwQzsrYIhTcGHQQ5t0WV27dqrg5uuE5+NZGcv02e0xR+i24Ix/rEjjds6A6spt0FCdYznbSyoUCd6xWMRU+mDXy/xe38UY4GYFySDhkNxUwA2/dCybu+84OinuaJScjhK7XPqA9JsujdB9zOMNdnArQuYjlKrjOaWvYPijQojOu+j9zAdaZUgcpuR4/hjUcPAh0WyDiIl3rX3WigSnpzZXa3+QUnnEHHsoLMKllO2J9mBQCW4X3osEdC+twjl9uGnMNt83iq6BdXrFXqwLI1LGDprPAzQij8LlmkAHH41gzKFp5d1GkHwwcuQWTAvPymSOK60ETgIH+56TOXXyDF4L+w56a8c7IM7EBeOJrpKBKUDypBUMg4StG17xwdvCEb5nEi92EkhNZzN+q/sve2JeWS7t+80nJctVkANrHbyEwXXAy8VozpxRFT7PZpobnA/zuzi5lwzec8mSr2mbKl4MzDEqPiOx71N2LGFlH/JQyxM8whtKz+i0W9wvuGsWJtSn6SMjIiH9gY+RNIQdFEtkZ3ULWjbmrJxeriBEL1dpsgMSgUykL9nruwP7fYlV1a5CIS1K2FlEI9lKw5tjhXLpbEbS59HrfpQhWMLmslozKI0oyN+jHQn3QA4bo6A8vtOoI2jRFtkymnomquqLl4a71FenXJ7uP5Eg9ecgAWdHaUynW3a2G56ZHkYOw0Lqq58A7JAPTmdQWlmfpQue56LtbrP0bzVAmDjltCHe3sto4+atCm4VaHrCig4MjqStvy0UX0KoKTyl+H5oAcqxgh2bjHLX0ydamuci8nNj1vrULla8aHKZJT+IArjyPJxpMvpWdFYYJCwwXuzIXUoNMIUhwSkvA3X0e9RZ9HQUjFNXIOGyEWb3kJZGdlV23GzacuZT7bHskRSAGM185SV6IvC0onKdf5HqRYNpmoSCEu04A80mlSIsD7n981273NrW2DG1OuRtuL3BVFO3ltXlaFPNLytd7LmXUBwgjVu3Ie69O4Rf81SN+zV1YgDp3W8PpSRFISfvXckBnzfEmJk6QrVtpcom8ilvic3Eocahm3ut0TRFMGvy9lvxr+stt6TdiXMHqaRvXjSw8jNYhcdxdQfMw3hWrsGW+DSLhHl7EKpDHxWJsT8qaxuV1rp8n9kEIL7ObI2maWtN8kBnkQXpY/Y7rOS9gXSFUjDXVabWLQuWE1FV0b5n+SjeeC1gXXU06KW/QvhKXqKv9O/Li4HGJKH2QvLMF3uU9FpF7zfMQxPSe4rDIn77/SF41DcL9Vq8oro62wzcP66dU5irqGHj3JiFayD62nnbYHwIKXNWYFNUUEYsaFMnyYhQHAWkBxWGUqpB7AJNJCHgUcS22enbJyXwwx/m1Oht9Zu1Bqwtr/V4/8leuaLe5IlEt9G/8BJIJxXSYZ6NI8K08Q335WjBEUeyswxgegwDQYJKwYBBAGCNxECMQAwEwYJKoZIhvcNAQkVMQYEBAEAAAAwVwYJKoZIhvcNAQkUMUoeSABhADkAYQBhADcAZQBiADIALQA5AGQANAA1AC0ANAAzADgAZQAtAGIAOAAxADMALQAxADIAMwAzADcANQA0AGYAYwBkAGIANTBpBgkrBgEEAYI3EQExXB5aAE0AaQBjAHIAbwBzAG8AZgB0ACAAUgBTAEEAIABTAEMAaABhAG4AbgBlAGwAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByMIIDzwYJKoZIhvcNAQcGoIIDwDCCA7wCAQAwggO1BgkqhkiG9w0BBwEwHAYKKoZIhvcNAQwBBjAOBAiNxfT2nlChFwICB9CAggOIfXLvh2I2PwA5h2mDwz9hMby2vDuhonXgj+UtWFf33Pd2ZAq/+JWf3j0W1ldJzzFg2L8s6PGabAFCkIHnaYcGuHcbf4uSZZ/Q3JZGxszZqi0+tqg/qHBljPthJK0izZ1esoaIeYLT6AYXZ4UqQiPbjSJkdMHONSE6sv5g8OvIxy+pNsdy2pDg2pl6/xE779tzxGgX+P+86p1p36EzmfDqq7zCUDF4uKVUCmTqjrMHKyqQIEcvw6clIxPFng0PPrr9ZjWYcmsHEvfzfTlGgQ5oLNQ2zPheGzU0RMzSFL0CHy9v9ppxXqhDLpnnpaJiHQgTtU1a1aLE/P9Z2K9DPNEAGlR2+TPojtLN8cnk+jgKiZRwxGCXWTU7MnkBxedwak1ygMS4sODhkKVsmXgNXHqYQK10aTLA3BAaXq3QmDEUZBWLudEaoT5hZLSTcaT/dDShoxezeQhx+6IMLtgpfURWX+rcZTt1kvXCSOE0tC57OD5AFbnu54qvegxLtdL7lN12Wq8mVXoeP51G7kpsSqc0xNhONl4snS4lqVV2PZAKyQx312CeFkabs9aducWGoNRaRS4EalsNg2UBgpcms16tsHznGa6KX7nZmRDIdSf70xQuC0ifol5hnNfml814LmtwfTufq6VWCod3wcfEbQa32QA4witO9o/UxOwtu1Wsm/+R4fBsEfkiJbgSYNBto/MvpfQqrWUOElQAkqlTVbp1c4Vz4q1jJv5TlaK5YQonsUvGDaYA+1mHlBE6jsiM9TVlLYW3ehVdQWUDslj+M67vETgGZDTJtZPdlK1Je2x1GQcUwfDYv4+GK+M/0Clur4JVO6wHq7RA5PG9IZVrcUq7XTw2GK+uRL0eNHV5fxlAcljymqpSvuH3wDY1fxFxw+n24O154tReemGi5a8WsHmY8xP8IUqDtt9frbZALetsiz1UTPjydGFciy/z/n9mU72XJae347bS3Iy1k7PjsUH0EbL9i07+gmUImShNoO/5BjFJhrULSPMd/x34jLIog1VU1t1rYe2EZI94ussb8Mvr/ma/nul/u5bIab+pCUshcbumrRP6/uZ3i2CobHdE+r6kbQ/FrLbbiNQY5vorhLjE81I7MVXhZCiNaW2Ze/PEO7PjQ5FZ6uvZ4O5E8pj37RGZWe5SxNURdyTHuHQ7dWRtOOBTD7K3xkfNOBoYbTybua/D1vC/rI78gzA7MB8wBwYFKw4DAhoEFBfuUWxdGOn/eKJwUaUSAkWzPL8SBBQMQ2N/ac3j2YRQXIiAskcAj0J58AICB9A=\",\r\n \"password\": \"powershelltest\"\r\n}",
"RequestHeaders": {
@@ -130,16 +130,16 @@
"no-cache"
],
"x-ms-request-id": [
- "0325e8dd-8498-4f83-ad98-b04dd9cb7542"
+ "aa66cf27-b470-4038-8930-e98d76a2f69e"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1199"
],
"x-ms-correlation-request-id": [
- "220aa4e5-8d3a-4da5-9c22-11b3c773a01c"
+ "f200f96c-e622-4bcb-839b-0532a496fc9c"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194129Z:220aa4e5-8d3a-4da5-9c22-11b3c773a01c"
+ "WESTUS:20160427T232520Z:f200f96c-e622-4bcb-839b-0532a496fc9c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -148,7 +148,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:29 GMT"
+ "Wed, 27 Apr 2016 23:25:19 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -157,8 +157,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/certificates/onesdk3501?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9jZXJ0aWZpY2F0ZXMvb25lc2RrMzUwMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/certificates/onesdk3742?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9jZXJ0aWZpY2F0ZXMvb25lc2RrMzc0Mj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"data\": \"MIIKPwIBAzCCCfsGCSqGSIb3DQEHAaCCCewEggnoMIIJ5DCCBg0GCSqGSIb3DQEHAaCCBf4EggX6MIIF9jCCBfIGCyqGSIb3DQEMCgECoIIE9jCCBPIwHAYKKoZIhvcNAQwBAzAOBAh8tMrWWNG0qgICB9AEggTQPNY9J/eCePYdalr1arTcenKpUWZoT0pnYjcG7VG2C+Sxh+uCr4ugSx3l5tQy1XHWgsOheqPNILvSeS6WZJbyorDJIdD6vDueWSz7Qxge/WdwIoHkFq2w7GP6a1AnuSYDjt6u4gcfQHL9zHckHQvOYaJbKKgJcHEyUPmPSX7pmP6HOxGorklkcJQ6dTnMkQLzkd8ZhT9Mo1s5ClnmPOTfwQzsrYIhTcGHQQ5t0WV27dqrg5uuE5+NZGcv02e0xR+i24Ix/rEjjds6A6spt0FCdYznbSyoUCd6xWMRU+mDXy/xe38UY4GYFySDhkNxUwA2/dCybu+84OinuaJScjhK7XPqA9JsujdB9zOMNdnArQuYjlKrjOaWvYPijQojOu+j9zAdaZUgcpuR4/hjUcPAh0WyDiIl3rX3WigSnpzZXa3+QUnnEHHsoLMKllO2J9mBQCW4X3osEdC+twjl9uGnMNt83iq6BdXrFXqwLI1LGDprPAzQij8LlmkAHH41gzKFp5d1GkHwwcuQWTAvPymSOK60ETgIH+56TOXXyDF4L+w56a8c7IM7EBeOJrpKBKUDypBUMg4StG17xwdvCEb5nEi92EkhNZzN+q/sve2JeWS7t+80nJctVkANrHbyEwXXAy8VozpxRFT7PZpobnA/zuzi5lwzec8mSr2mbKl4MzDEqPiOx71N2LGFlH/JQyxM8whtKz+i0W9wvuGsWJtSn6SMjIiH9gY+RNIQdFEtkZ3ULWjbmrJxeriBEL1dpsgMSgUykL9nruwP7fYlV1a5CIS1K2FlEI9lKw5tjhXLpbEbS59HrfpQhWMLmslozKI0oyN+jHQn3QA4bo6A8vtOoI2jRFtkymnomquqLl4a71FenXJ7uP5Eg9ecgAWdHaUynW3a2G56ZHkYOw0Lqq58A7JAPTmdQWlmfpQue56LtbrP0bzVAmDjltCHe3sto4+atCm4VaHrCig4MjqStvy0UX0KoKTyl+H5oAcqxgh2bjHLX0ydamuci8nNj1vrULla8aHKZJT+IArjyPJxpMvpWdFYYJCwwXuzIXUoNMIUhwSkvA3X0e9RZ9HQUjFNXIOGyEWb3kJZGdlV23GzacuZT7bHskRSAGM185SV6IvC0onKdf5HqRYNpmoSCEu04A80mlSIsD7n981273NrW2DG1OuRtuL3BVFO3ltXlaFPNLytd7LmXUBwgjVu3Ie69O4Rf81SN+zV1YgDp3W8PpSRFISfvXckBnzfEmJk6QrVtpcom8ilvic3Eocahm3ut0TRFMGvy9lvxr+stt6TdiXMHqaRvXjSw8jNYhcdxdQfMw3hWrsGW+DSLhHl7EKpDHxWJsT8qaxuV1rp8n9kEIL7ObI2maWtN8kBnkQXpY/Y7rOS9gXSFUjDXVabWLQuWE1FV0b5n+SjeeC1gXXU06KW/QvhKXqKv9O/Li4HGJKH2QvLMF3uU9FpF7zfMQxPSe4rDIn77/SF41DcL9Vq8oro62wzcP66dU5irqGHj3JiFayD62nnbYHwIKXNWYFNUUEYsaFMnyYhQHAWkBxWGUqpB7AJNJCHgUcS22enbJyXwwx/m1Oht9Zu1Bqwtr/V4/8leuaLe5IlEt9G/8BJIJxXSYZ6NI8K08Q335WjBEUeyswxgegwDQYJKwYBBAGCNxECMQAwEwYJKoZIhvcNAQkVMQYEBAEAAAAwVwYJKoZIhvcNAQkUMUoeSABhADkAYQBhADcAZQBiADIALQA5AGQANAA1AC0ANAAzADgAZQAtAGIAOAAxADMALQAxADIAMwAzADcANQA0AGYAYwBkAGIANTBpBgkrBgEEAYI3EQExXB5aAE0AaQBjAHIAbwBzAG8AZgB0ACAAUgBTAEEAIABTAEMAaABhAG4AbgBlAGwAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByMIIDzwYJKoZIhvcNAQcGoIIDwDCCA7wCAQAwggO1BgkqhkiG9w0BBwEwHAYKKoZIhvcNAQwBBjAOBAiNxfT2nlChFwICB9CAggOIfXLvh2I2PwA5h2mDwz9hMby2vDuhonXgj+UtWFf33Pd2ZAq/+JWf3j0W1ldJzzFg2L8s6PGabAFCkIHnaYcGuHcbf4uSZZ/Q3JZGxszZqi0+tqg/qHBljPthJK0izZ1esoaIeYLT6AYXZ4UqQiPbjSJkdMHONSE6sv5g8OvIxy+pNsdy2pDg2pl6/xE779tzxGgX+P+86p1p36EzmfDqq7zCUDF4uKVUCmTqjrMHKyqQIEcvw6clIxPFng0PPrr9ZjWYcmsHEvfzfTlGgQ5oLNQ2zPheGzU0RMzSFL0CHy9v9ppxXqhDLpnnpaJiHQgTtU1a1aLE/P9Z2K9DPNEAGlR2+TPojtLN8cnk+jgKiZRwxGCXWTU7MnkBxedwak1ygMS4sODhkKVsmXgNXHqYQK10aTLA3BAaXq3QmDEUZBWLudEaoT5hZLSTcaT/dDShoxezeQhx+6IMLtgpfURWX+rcZTt1kvXCSOE0tC57OD5AFbnu54qvegxLtdL7lN12Wq8mVXoeP51G7kpsSqc0xNhONl4snS4lqVV2PZAKyQx312CeFkabs9aducWGoNRaRS4EalsNg2UBgpcms16tsHznGa6KX7nZmRDIdSf70xQuC0ifol5hnNfml814LmtwfTufq6VWCod3wcfEbQa32QA4witO9o/UxOwtu1Wsm/+R4fBsEfkiJbgSYNBto/MvpfQqrWUOElQAkqlTVbp1c4Vz4q1jJv5TlaK5YQonsUvGDaYA+1mHlBE6jsiM9TVlLYW3ehVdQWUDslj+M67vETgGZDTJtZPdlK1Je2x1GQcUwfDYv4+GK+M/0Clur4JVO6wHq7RA5PG9IZVrcUq7XTw2GK+uRL0eNHV5fxlAcljymqpSvuH3wDY1fxFxw+n24O154tReemGi5a8WsHmY8xP8IUqDtt9frbZALetsiz1UTPjydGFciy/z/n9mU72XJae347bS3Iy1k7PjsUH0EbL9i07+gmUImShNoO/5BjFJhrULSPMd/x34jLIog1VU1t1rYe2EZI94ussb8Mvr/ma/nul/u5bIab+pCUshcbumrRP6/uZ3i2CobHdE+r6kbQ/FrLbbiNQY5vorhLjE81I7MVXhZCiNaW2Ze/PEO7PjQ5FZ6uvZ4O5E8pj37RGZWe5SxNURdyTHuHQ7dWRtOOBTD7K3xkfNOBoYbTybua/D1vC/rI78gzA7MB8wBwYFKw4DAhoEFBfuUWxdGOn/eKJwUaUSAkWzPL8SBBQMQ2N/ac3j2YRQXIiAskcAj0J58AICB9A=\",\r\n \"password\": \"powershelltest\"\r\n}",
"RequestHeaders": {
@@ -187,16 +187,16 @@
"no-cache"
],
"x-ms-request-id": [
- "c0d00564-000a-4288-8786-12507dd7f83b"
+ "2cf11359-387e-4227-9c94-4a70224bb776"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1198"
],
"x-ms-correlation-request-id": [
- "1eba6071-5c75-4f1f-b339-ed1ff839628d"
+ "f7167bef-1ac8-4a39-9196-8868e8a88240"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194130Z:1eba6071-5c75-4f1f-b339-ed1ff839628d"
+ "WESTUS:20160427T232521Z:f7167bef-1ac8-4a39-9196-8868e8a88240"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -205,7 +205,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:30 GMT"
+ "Wed, 27 Apr 2016 23:25:21 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -214,8 +214,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/certificates/onesdk3501?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9jZXJ0aWZpY2F0ZXMvb25lc2RrMzUwMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/certificates/onesdk3742?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9jZXJ0aWZpY2F0ZXMvb25lc2RrMzc0Mj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -223,7 +223,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/certificates/onesdk3501\",\r\n \"subject\": \"CN=ailn.redmond.corp.microsoft.com\",\r\n \"thumbprint\": \"51A702569BADEDB90A75141B070F2D4B5DDFA447\",\r\n \"expirationDate\": \"2016-04-24T00:00:00\"\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/certificates/onesdk3742\",\r\n \"subject\": \"CN=ailn.redmond.corp.microsoft.com\",\r\n \"thumbprint\": \"51A702569BADEDB90A75141B070F2D4B5DDFA447\",\r\n \"expirationDate\": \"2016-04-24T00:00:00\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
"175"
@@ -238,16 +238,16 @@
"no-cache"
],
"x-ms-request-id": [
- "5c01a8c9-fd0f-4bae-9ebd-493aada5965f"
+ "ef36621e-c2e6-4914-8728-82087360859e"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14998"
],
"x-ms-correlation-request-id": [
- "a053872e-c640-4a14-88fa-7f6fc2512178"
+ "f28ff0d4-9041-4279-a121-fbb679c09038"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194129Z:a053872e-c640-4a14-88fa-7f6fc2512178"
+ "WESTUS:20160427T232520Z:f28ff0d4-9041-4279-a121-fbb679c09038"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -256,10 +256,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:29 GMT"
+ "Wed, 27 Apr 2016 23:25:19 GMT"
],
"ETag": [
- "\"AAAAAAAACDs=\""
+ "\"AAAAAAAACMw=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -268,8 +268,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/certificates/onesdk3501?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9jZXJ0aWZpY2F0ZXMvb25lc2RrMzUwMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/certificates/onesdk3742?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9jZXJ0aWZpY2F0ZXMvb25lc2RrMzc0Mj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -277,7 +277,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/certificates/onesdk3501\",\r\n \"subject\": \"CN=ailn.redmond.corp.microsoft.com\",\r\n \"thumbprint\": \"51A702569BADEDB90A75141B070F2D4B5DDFA447\",\r\n \"expirationDate\": \"2016-04-24T00:00:00\"\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/certificates/onesdk3742\",\r\n \"subject\": \"CN=ailn.redmond.corp.microsoft.com\",\r\n \"thumbprint\": \"51A702569BADEDB90A75141B070F2D4B5DDFA447\",\r\n \"expirationDate\": \"2016-04-24T00:00:00\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
"175"
@@ -292,16 +292,16 @@
"no-cache"
],
"x-ms-request-id": [
- "6a2655fe-57da-4f6c-88ba-8943af5782cf"
+ "e0997779-cd28-4386-bcd4-15281dc964a5"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14997"
],
"x-ms-correlation-request-id": [
- "3d5fb21a-2c97-495c-af1a-6ce6e1adb573"
+ "5a46c12d-bc30-4a90-bc67-f9b564aa2b39"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194130Z:3d5fb21a-2c97-495c-af1a-6ce6e1adb573"
+ "WESTUS:20160427T232521Z:5a46c12d-bc30-4a90-bc67-f9b564aa2b39"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -310,10 +310,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:29 GMT"
+ "Wed, 27 Apr 2016 23:25:21 GMT"
],
"ETag": [
- "\"AAAAAAAACDs=\""
+ "\"AAAAAAAACMw=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -322,8 +322,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/certificates/onesdk3501?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9jZXJ0aWZpY2F0ZXMvb25lc2RrMzUwMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/certificates/onesdk3742?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9jZXJ0aWZpY2F0ZXMvb25lc2RrMzc0Mj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -331,7 +331,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/certificates/onesdk3501\",\r\n \"subject\": \"CN=ailn.redmond.corp.microsoft.com\",\r\n \"thumbprint\": \"51A702569BADEDB90A75141B070F2D4B5DDFA447\",\r\n \"expirationDate\": \"2016-04-24T00:00:00\"\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/certificates/onesdk3742\",\r\n \"subject\": \"CN=ailn.redmond.corp.microsoft.com\",\r\n \"thumbprint\": \"51A702569BADEDB90A75141B070F2D4B5DDFA447\",\r\n \"expirationDate\": \"2016-04-24T00:00:00\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
"175"
@@ -346,16 +346,16 @@
"no-cache"
],
"x-ms-request-id": [
- "13aa0d42-bf48-4b53-9404-914fc1582f79"
+ "0774e16b-067d-4dc9-9d15-26124e49cbd9"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14996"
],
"x-ms-correlation-request-id": [
- "a9f26e33-5b5e-4f34-b61a-85a7b27fde59"
+ "d76423bf-b83f-41d9-83a5-221a892603fe"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194131Z:a9f26e33-5b5e-4f34-b61a-85a7b27fde59"
+ "WESTUS:20160427T232521Z:d76423bf-b83f-41d9-83a5-221a892603fe"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -364,10 +364,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:30 GMT"
+ "Wed, 27 Apr 2016 23:25:21 GMT"
],
"ETag": [
- "\"AAAAAAAACDs=\""
+ "\"AAAAAAAACMw=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -376,8 +376,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/certificates/onesdk3501?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9jZXJ0aWZpY2F0ZXMvb25lc2RrMzUwMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/certificates/onesdk3742?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9jZXJ0aWZpY2F0ZXMvb25lc2RrMzc0Mj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -400,16 +400,16 @@
"no-cache"
],
"x-ms-request-id": [
- "b7e7180e-0dad-4633-9e12-21eee0d6b6df"
+ "b2031d2a-8811-4a24-aca6-5836b53927f2"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14994"
],
"x-ms-correlation-request-id": [
- "ec7e6abd-05b5-4d54-8320-e093d85ba437"
+ "61193f22-1801-4993-925e-fbf697f1fc7e"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194132Z:ec7e6abd-05b5-4d54-8320-e093d85ba437"
+ "WESTUS:20160427T232522Z:61193f22-1801-4993-925e-fbf697f1fc7e"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -418,7 +418,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:31 GMT"
+ "Wed, 27 Apr 2016 23:25:22 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -427,8 +427,8 @@
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/certificates/onesdk3501?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9jZXJ0aWZpY2F0ZXMvb25lc2RrMzUwMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/certificates/onesdk3742?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9jZXJ0aWZpY2F0ZXMvb25lc2RrMzc0Mj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -451,16 +451,16 @@
"no-cache"
],
"x-ms-request-id": [
- "dd59e976-b473-402e-9cd6-80aa933776f4"
+ "ac8d669c-4d34-4ac4-8f98-0467686e306b"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1197"
],
"x-ms-correlation-request-id": [
- "abb76bd1-fac8-4858-af5e-9b9e99a11408"
+ "25893cad-a6d5-4c9a-b0f3-ca110eeae030"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194132Z:abb76bd1-fac8-4858-af5e-9b9e99a11408"
+ "WESTUS:20160427T232522Z:25893cad-a6d5-4c9a-b0f3-ca110eeae030"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -469,7 +469,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:31 GMT"
+ "Wed, 27 Apr 2016 23:25:22 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -480,7 +480,7 @@
],
"Names": {
"": [
- "onesdk3501"
+ "onesdk3742"
]
},
"Variables": {
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/GroupCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/GroupCrudTest.json
index 3265aa2b6a6b..94cef54f6349 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/GroupCrudTest.json
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/GroupCrudTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/groups?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9ncm91cHM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/groups?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9ncm91cHM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -10,7 +10,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/groups/562a882412bfbd0424020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/562a882412bfbd0424020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/562a882412bfbd0424020003\",\r\n \"name\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"count\": 3,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/groups/571ea82900710f0345020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/571ea82900710f0345020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/571ea82900710f0345020003\",\r\n \"name\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"count\": 3,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"815"
@@ -25,16 +25,16 @@
"no-cache"
],
"x-ms-request-id": [
- "21e738f3-5950-4cc6-9950-574645ccce0b"
+ "6c0d4083-187a-4fd6-8c8c-cbc3240ed870"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14997"
+ "14999"
],
"x-ms-correlation-request-id": [
- "f722f5fa-94c8-4f23-b33d-f33db2713308"
+ "8a61330c-9912-4c4d-afa2-727cfd40ecf8"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194148Z:f722f5fa-94c8-4f23-b33d-f33db2713308"
+ "CENTRALUS:20160427T232044Z:8a61330c-9912-4c4d-afa2-727cfd40ecf8"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -43,7 +43,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:47 GMT"
+ "Wed, 27 Apr 2016 23:20:44 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -52,8 +52,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/groups/562a882412bfbd0424020001?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9ncm91cHMvNTYyYTg4MjQxMmJmYmQwNDI0MDIwMDAxP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/groups/571ea82900710f0345020001?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9ncm91cHMvNTcxZWE4MjkwMDcxMGYwMzQ1MDIwMDAxP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -61,7 +61,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/groups/562a882412bfbd0424020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/groups/571ea82900710f0345020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"273"
@@ -76,16 +76,16 @@
"no-cache"
],
"x-ms-request-id": [
- "0e86d9c2-9690-41b7-8624-3036554763c6"
+ "159e7bad-93e9-419a-9801-96f741af027d"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14996"
+ "14998"
],
"x-ms-correlation-request-id": [
- "d1ba8aeb-8709-4950-b2aa-eb87af4d1485"
+ "793f8829-fab5-463b-bc5c-38c768022d9c"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194148Z:d1ba8aeb-8709-4950-b2aa-eb87af4d1485"
+ "CENTRALUS:20160427T232045Z:793f8829-fab5-463b-bc5c-38c768022d9c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -94,7 +94,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:48 GMT"
+ "Wed, 27 Apr 2016 23:20:44 GMT"
],
"ETag": [
"\"AAAAAAAAB+A=\""
@@ -106,8 +106,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/groups/562a882412bfbd0424020002?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9ncm91cHMvNTYyYTg4MjQxMmJmYmQwNDI0MDIwMDAyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/groups/571ea82900710f0345020002?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9ncm91cHMvNTcxZWE4MjkwMDcxMGYwMzQ1MDIwMDAyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -115,7 +115,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/groups/562a882412bfbd0424020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/groups/571ea82900710f0345020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"237"
@@ -130,16 +130,16 @@
"no-cache"
],
"x-ms-request-id": [
- "4753d70f-e2e5-4b3c-81c1-316a9f1492de"
+ "9660dd33-9ee1-473e-bc20-be8c6f425066"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14995"
+ "14997"
],
"x-ms-correlation-request-id": [
- "3efe263d-2ff0-4435-8373-702013d642b0"
+ "28027cdd-85cf-45cf-80b8-74885dd2e5bf"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194148Z:3efe263d-2ff0-4435-8373-702013d642b0"
+ "CENTRALUS:20160427T232045Z:28027cdd-85cf-45cf-80b8-74885dd2e5bf"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -148,7 +148,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:48 GMT"
+ "Wed, 27 Apr 2016 23:20:44 GMT"
],
"ETag": [
"\"AAAAAAAAB+E=\""
@@ -160,8 +160,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/groups/562a882412bfbd0424020003?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9ncm91cHMvNTYyYTg4MjQxMmJmYmQwNDI0MDIwMDAzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/groups/571ea82900710f0345020003?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9ncm91cHMvNTcxZWE4MjkwMDcxMGYwMzQ1MDIwMDAzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -169,7 +169,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/groups/562a882412bfbd0424020003\",\r\n \"name\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/groups/571ea82900710f0345020003\",\r\n \"name\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"265"
@@ -184,16 +184,16 @@
"no-cache"
],
"x-ms-request-id": [
- "c72077c4-49ce-418b-898e-0f7679eceeba"
+ "09ee9bec-b079-4d65-b6a0-3bbe865ff6fb"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14994"
+ "14996"
],
"x-ms-correlation-request-id": [
- "9f319a64-42fc-4f45-8ab0-616337c5b876"
+ "f28896bf-0568-472f-8891-c81cd1ded489"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194148Z:9f319a64-42fc-4f45-8ab0-616337c5b876"
+ "CENTRALUS:20160427T232045Z:f28896bf-0568-472f-8891-c81cd1ded489"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -202,7 +202,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:48 GMT"
+ "Wed, 27 Apr 2016 23:20:44 GMT"
],
"ETag": [
"\"AAAAAAAAB+I=\""
@@ -214,16 +214,16 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/groups/onesdk2214?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9ncm91cHMvb25lc2RrMjIxND9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/groups/onesdk8786?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9ncm91cHMvb25lc2RrODc4Nj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"name\": \"onesdk5811\",\r\n \"description\": \"onesdk5676\"\r\n}",
+ "RequestBody": "{\r\n \"name\": \"onesdk477\",\r\n \"description\": \"onesdk1625\"\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json"
],
"Content-Length": [
- "60"
+ "59"
],
"User-Agent": [
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
@@ -241,16 +241,16 @@
"no-cache"
],
"x-ms-request-id": [
- "a7aad207-d1a6-4f38-9bdf-fba557433911"
+ "176bd2b9-6e26-4c65-8634-49ca18e1d489"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
+ "1199"
],
"x-ms-correlation-request-id": [
- "cb63cbb9-f4a0-4201-b478-432e2f5dffc4"
+ "f3f1ee03-ffb4-4bb6-892c-73c6cfb0c586"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194149Z:cb63cbb9-f4a0-4201-b478-432e2f5dffc4"
+ "CENTRALUS:20160427T232046Z:f3f1ee03-ffb4-4bb6-892c-73c6cfb0c586"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -259,7 +259,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:48 GMT"
+ "Wed, 27 Apr 2016 23:20:45 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -268,8 +268,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/groups/onesdk2214?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9ncm91cHMvb25lc2RrMjIxND9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/groups/onesdk8786?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9ncm91cHMvb25lc2RrODc4Nj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -277,10 +277,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/groups/onesdk2214\",\r\n \"name\": \"onesdk5811\",\r\n \"description\": \"onesdk5676\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/groups/onesdk8786\",\r\n \"name\": \"onesdk477\",\r\n \"description\": \"onesdk1625\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "124"
+ "123"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -292,16 +292,16 @@
"no-cache"
],
"x-ms-request-id": [
- "82b8b4f4-2e89-4ce0-be62-f1b91a91f203"
+ "0393adfc-dd0b-4297-86d3-e2f27d0941f0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14993"
+ "14995"
],
"x-ms-correlation-request-id": [
- "6a852d5a-b3e9-4d04-9ecc-1268c5748fa6"
+ "b9df44c0-b701-4e07-88c1-1dda4df85291"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194149Z:6a852d5a-b3e9-4d04-9ecc-1268c5748fa6"
+ "CENTRALUS:20160427T232046Z:b9df44c0-b701-4e07-88c1-1dda4df85291"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -310,10 +310,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:49 GMT"
+ "Wed, 27 Apr 2016 23:20:46 GMT"
],
"ETag": [
- "\"AAAAAAAACDw=\""
+ "\"AAAAAAAACL0=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -322,8 +322,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/groups/onesdk2214?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9ncm91cHMvb25lc2RrMjIxND9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/groups/onesdk8786?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9ncm91cHMvb25lc2RrODc4Nj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -331,7 +331,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/groups/onesdk2214\",\r\n \"name\": \"onesdk4276\",\r\n \"description\": \"onesdk2110\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/groups/onesdk8786\",\r\n \"name\": \"onesdk5602\",\r\n \"description\": \"onesdk8391\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"124"
@@ -346,16 +346,16 @@
"no-cache"
],
"x-ms-request-id": [
- "8fa479ad-e405-4fe6-a0dd-1e19e91e03ef"
+ "ba6823b5-86fc-4bba-8259-28012d1af038"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14992"
+ "14994"
],
"x-ms-correlation-request-id": [
- "9d57741c-1540-48ac-bcc0-7737ce1539e7"
+ "49921c15-6e1d-426e-99bf-cf6277381b1b"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194150Z:9d57741c-1540-48ac-bcc0-7737ce1539e7"
+ "CENTRALUS:20160427T232047Z:49921c15-6e1d-426e-99bf-cf6277381b1b"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -364,10 +364,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:49 GMT"
+ "Wed, 27 Apr 2016 23:20:46 GMT"
],
"ETag": [
- "\"AAAAAAAACD0=\""
+ "\"AAAAAAAACL4=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -376,8 +376,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/groups/onesdk2214?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9ncm91cHMvb25lc2RrMjIxND9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/groups/onesdk8786?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9ncm91cHMvb25lc2RrODc4Nj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -400,16 +400,16 @@
"no-cache"
],
"x-ms-request-id": [
- "91b8034d-4c17-410a-8162-050beef7cc58"
+ "621de3b5-b286-4627-bbc1-b43a6b422ef2"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14985"
+ "14987"
],
"x-ms-correlation-request-id": [
- "110b4422-6254-4096-ad87-c5d3c0d52597"
+ "b001eafa-95c1-4030-8919-f23133b3e12b"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194155Z:110b4422-6254-4096-ad87-c5d3c0d52597"
+ "CENTRALUS:20160427T232053Z:b001eafa-95c1-4030-8919-f23133b3e12b"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -418,7 +418,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:54 GMT"
+ "Wed, 27 Apr 2016 23:20:53 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -427,10 +427,10 @@
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/groups/onesdk2214?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9ncm91cHMvb25lc2RrMjIxND9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/groups/onesdk8786?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9ncm91cHMvb25lc2RrODc4Nj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "PATCH",
- "RequestBody": "{\r\n \"name\": \"onesdk4276\",\r\n \"description\": \"onesdk2110\"\r\n}",
+ "RequestBody": "{\r\n \"name\": \"onesdk5602\",\r\n \"description\": \"onesdk8391\"\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json"
@@ -457,16 +457,16 @@
"no-cache"
],
"x-ms-request-id": [
- "fdca71d3-ee26-4346-a618-8454c32cf50e"
+ "5a4c3e35-40d2-4659-9dea-5cc5128847aa"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
+ "1198"
],
"x-ms-correlation-request-id": [
- "a16a864b-a25b-49bf-a249-03d6dbba11d4"
+ "1e5565c1-4a9d-46a7-a8af-9bdd3618b88e"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194149Z:a16a864b-a25b-49bf-a249-03d6dbba11d4"
+ "CENTRALUS:20160427T232047Z:1e5565c1-4a9d-46a7-a8af-9bdd3618b88e"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -475,7 +475,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:49 GMT"
+ "Wed, 27 Apr 2016 23:20:46 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -484,8 +484,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -493,7 +493,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/products/562a882512bfbd0424060001\",\r\n \"name\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 100,\r\n \"state\": \"published\"\r\n },\r\n {\r\n \"id\": \"/products/562a882512bfbd0424060002\",\r\n \"name\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/products/571ea82900710f0345060001\",\r\n \"name\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 100,\r\n \"state\": \"published\"\r\n },\r\n {\r\n \"id\": \"/products/571ea82900710f0345060002\",\r\n \"name\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"585"
@@ -508,16 +508,16 @@
"no-cache"
],
"x-ms-request-id": [
- "fbcdc1f7-834d-4c55-b50d-eb4003dd7ffa"
+ "df62458e-f508-4e58-9a10-18ebf1854d54"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14991"
+ "14993"
],
"x-ms-correlation-request-id": [
- "a5a884e2-9e0a-4685-87fc-e7bd4afbe457"
+ "d5159d64-f4f6-417d-be51-bd3fe799a403"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194150Z:a5a884e2-9e0a-4685-87fc-e7bd4afbe457"
+ "CENTRALUS:20160427T232047Z:d5159d64-f4f6-417d-be51-bd3fe799a403"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -526,7 +526,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:50 GMT"
+ "Wed, 27 Apr 2016 23:20:47 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -535,8 +535,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060001/groups/onesdk2214?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDEvZ3JvdXBzL29uZXNkazIyMTQ/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060001/groups/onesdk8786?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDEvZ3JvdXBzL29uZXNkazg3ODY/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "PUT",
"RequestBody": "",
"RequestHeaders": {
@@ -556,16 +556,16 @@
"no-cache"
],
"x-ms-request-id": [
- "10096e26-c5f5-4fc0-9c2f-5d6ee17d27ba"
+ "3d2077be-43ad-4cb9-9e42-768cd87e6476"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1195"
+ "1197"
],
"x-ms-correlation-request-id": [
- "fc553391-dbff-45c3-a0d2-ec184f321a15"
+ "379f7175-0e8f-415d-af6d-3991b5ac16e9"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194150Z:fc553391-dbff-45c3-a0d2-ec184f321a15"
+ "CENTRALUS:20160427T232048Z:379f7175-0e8f-415d-af6d-3991b5ac16e9"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -574,7 +574,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:50 GMT"
+ "Wed, 27 Apr 2016 23:20:47 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -583,8 +583,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060001/groups?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDEvZ3JvdXBzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060001/groups?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDEvZ3JvdXBzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -592,7 +592,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/groups/562a882412bfbd0424020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/562a882412bfbd0424020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/562a882412bfbd0424020003\",\r\n \"name\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/onesdk2214\",\r\n \"name\": \"onesdk4276\",\r\n \"description\": \"onesdk2110\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"count\": 4,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/groups/571ea82900710f0345020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/571ea82900710f0345020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/571ea82900710f0345020003\",\r\n \"name\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/onesdk8786\",\r\n \"name\": \"onesdk5602\",\r\n \"description\": \"onesdk8391\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"count\": 4,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"940"
@@ -607,16 +607,16 @@
"no-cache"
],
"x-ms-request-id": [
- "14430d19-76d3-444b-b349-2d384c815131"
+ "257d0718-1c35-4ce9-976e-a6f755de435d"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14990"
+ "14992"
],
"x-ms-correlation-request-id": [
- "c9c7017c-0c1a-4323-aede-c6c8c2971ade"
+ "019e74e8-2edf-4ae4-8f6d-c15c217e25c9"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194150Z:c9c7017c-0c1a-4323-aede-c6c8c2971ade"
+ "CENTRALUS:20160427T232049Z:019e74e8-2edf-4ae4-8f6d-c15c217e25c9"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -625,7 +625,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:50 GMT"
+ "Wed, 27 Apr 2016 23:20:49 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -634,8 +634,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060001/groups?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDEvZ3JvdXBzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060001/groups?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDEvZ3JvdXBzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -643,7 +643,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/groups/562a882412bfbd0424020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/562a882412bfbd0424020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/562a882412bfbd0424020003\",\r\n \"name\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"count\": 3,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/groups/571ea82900710f0345020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/571ea82900710f0345020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/571ea82900710f0345020003\",\r\n \"name\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"count\": 3,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"815"
@@ -658,16 +658,16 @@
"no-cache"
],
"x-ms-request-id": [
- "d5a38f2d-1ade-41f3-b2a4-7f32f56b0def"
+ "6f30286f-91ad-4c55-98e0-4d51ce055991"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14989"
+ "14991"
],
"x-ms-correlation-request-id": [
- "ffd95a75-33be-4211-bb42-88ab8e144fb1"
+ "1ee95ad4-0898-483b-9038-722747e4aa62"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194151Z:ffd95a75-33be-4211-bb42-88ab8e144fb1"
+ "CENTRALUS:20160427T232050Z:1ee95ad4-0898-483b-9038-722747e4aa62"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -676,7 +676,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:51 GMT"
+ "Wed, 27 Apr 2016 23:20:50 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -685,8 +685,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060001/groups/onesdk2214?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDEvZ3JvdXBzL29uZXNkazIyMTQ/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060001/groups/onesdk8786?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDEvZ3JvdXBzL29uZXNkazg3ODY/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -706,16 +706,16 @@
"no-cache"
],
"x-ms-request-id": [
- "c82ae05f-c9f2-490b-864b-14e8b581fe75"
+ "5047bbb3-d0fe-4bcd-8c84-a26130dad222"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1194"
+ "1196"
],
"x-ms-correlation-request-id": [
- "02591d99-49af-4a49-8e40-42b5227ada90"
+ "9c20ff95-47d1-4720-bec9-312c6aa895a8"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194151Z:02591d99-49af-4a49-8e40-42b5227ada90"
+ "CENTRALUS:20160427T232049Z:9c20ff95-47d1-4720-bec9-312c6aa895a8"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -724,7 +724,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:50 GMT"
+ "Wed, 27 Apr 2016 23:20:49 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -733,8 +733,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/users?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC91c2Vycz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/users?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC91c2Vycz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -742,10 +742,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/users/1\",\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"foo@live.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2015-10-23T19:19:00.683\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"foo@live.com\"\r\n }\r\n ],\r\n \"applications\": []\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/users/1\",\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"foo@live.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2016-04-25T23:28:40.91\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"foo@live.com\"\r\n }\r\n ],\r\n \"applications\": []\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "268"
+ "267"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -757,16 +757,16 @@
"no-cache"
],
"x-ms-request-id": [
- "b8cb33a0-0435-4113-8703-d439bf9d3e5f"
+ "b2744dee-fb8c-4199-b2e8-c2a130557332"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14988"
+ "14990"
],
"x-ms-correlation-request-id": [
- "fd5c6336-1dd5-4de0-8fb3-7e7369e545e7"
+ "ffb75968-f067-4ae4-87cb-0800ec7a1d42"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194151Z:fd5c6336-1dd5-4de0-8fb3-7e7369e545e7"
+ "CENTRALUS:20160427T232050Z:ffb75968-f067-4ae4-87cb-0800ec7a1d42"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -775,7 +775,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:51 GMT"
+ "Wed, 27 Apr 2016 23:20:50 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -784,8 +784,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/groups/onesdk2214/users/1?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9ncm91cHMvb25lc2RrMjIxNC91c2Vycy8xP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/groups/onesdk8786/users/1?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9ncm91cHMvb25lc2RrODc4Ni91c2Vycy8xP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "PUT",
"RequestBody": "",
"RequestHeaders": {
@@ -805,16 +805,16 @@
"no-cache"
],
"x-ms-request-id": [
- "4602fa1e-1e7c-404b-ab79-924b78944107"
+ "0614d4b8-670b-4c7c-a4b8-8bcd3b679836"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1193"
+ "1195"
],
"x-ms-correlation-request-id": [
- "dc56fa44-5138-4475-af63-fe0d91beae80"
+ "fb4ecf37-547c-4e7f-9d74-ea916d73238a"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194152Z:dc56fa44-5138-4475-af63-fe0d91beae80"
+ "CENTRALUS:20160427T232051Z:fb4ecf37-547c-4e7f-9d74-ea916d73238a"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -823,7 +823,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:51 GMT"
+ "Wed, 27 Apr 2016 23:20:51 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -832,8 +832,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/users/1/groups?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC91c2Vycy8xL2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/users/1/groups?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC91c2Vycy8xL2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -841,7 +841,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/groups/562a882412bfbd0424020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/562a882412bfbd0424020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/onesdk2214\",\r\n \"name\": \"onesdk4276\",\r\n \"description\": \"onesdk2110\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"count\": 3,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/groups/571ea82900710f0345020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/571ea82900710f0345020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/onesdk8786\",\r\n \"name\": \"onesdk5602\",\r\n \"description\": \"onesdk8391\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"count\": 3,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"674"
@@ -856,16 +856,16 @@
"no-cache"
],
"x-ms-request-id": [
- "1aa10cb6-3df7-45a1-bac3-5f65f01b164e"
+ "ea7efb24-4814-40f5-b1c9-8b8acd382b6b"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14987"
+ "14989"
],
"x-ms-correlation-request-id": [
- "b3538bdf-2520-4353-bde6-35b61dd048b4"
+ "5bbbdf12-b72c-4d29-ba7a-ad0928b909f4"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194152Z:b3538bdf-2520-4353-bde6-35b61dd048b4"
+ "CENTRALUS:20160427T232051Z:5bbbdf12-b72c-4d29-ba7a-ad0928b909f4"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -874,7 +874,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:52 GMT"
+ "Wed, 27 Apr 2016 23:20:51 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -883,8 +883,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/users/1/groups?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC91c2Vycy8xL2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/users/1/groups?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC91c2Vycy8xL2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -892,7 +892,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/groups/562a882412bfbd0424020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/562a882412bfbd0424020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/groups/571ea82900710f0345020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/571ea82900710f0345020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"549"
@@ -907,16 +907,16 @@
"no-cache"
],
"x-ms-request-id": [
- "3c52ceb9-6874-4a72-ae1e-d4823d251e66"
+ "29d62ece-1b40-4497-9eaa-10637d7ceab4"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14986"
+ "14988"
],
"x-ms-correlation-request-id": [
- "48245c7e-a1cf-4053-8d75-a3863e9f9757"
+ "acdc0431-fe01-406a-836a-e0c42f5bc905"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194153Z:48245c7e-a1cf-4053-8d75-a3863e9f9757"
+ "CENTRALUS:20160427T232052Z:acdc0431-fe01-406a-836a-e0c42f5bc905"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -925,7 +925,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:53 GMT"
+ "Wed, 27 Apr 2016 23:20:52 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -934,8 +934,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/groups/onesdk2214/users/1?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9ncm91cHMvb25lc2RrMjIxNC91c2Vycy8xP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/groups/onesdk8786/users/1?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9ncm91cHMvb25lc2RrODc4Ni91c2Vycy8xP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -955,16 +955,16 @@
"no-cache"
],
"x-ms-request-id": [
- "b788236b-bddb-487b-b060-4cb248faf21f"
+ "8df64b29-85fa-453e-aca3-e94ef811b52f"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1192"
+ "1194"
],
"x-ms-correlation-request-id": [
- "56aaa9b6-7d79-442f-843d-01e28777dbb9"
+ "320aaa0f-55d2-490f-b1ba-c25f0696400e"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194153Z:56aaa9b6-7d79-442f-843d-01e28777dbb9"
+ "CENTRALUS:20160427T232051Z:320aaa0f-55d2-490f-b1ba-c25f0696400e"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -973,7 +973,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:53 GMT"
+ "Wed, 27 Apr 2016 23:20:51 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -982,8 +982,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/groups/onesdk2214?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9ncm91cHMvb25lc2RrMjIxND9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/groups/onesdk8786?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9ncm91cHMvb25lc2RrODc4Nj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -1006,16 +1006,16 @@
"no-cache"
],
"x-ms-request-id": [
- "c6097d3e-5a39-4c1b-aec8-15464603ca5e"
+ "c4515ff1-6a01-47b9-a134-269d49768673"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1191"
+ "1193"
],
"x-ms-correlation-request-id": [
- "fd5edecb-ee8c-4bd0-aaf7-ba0de4db6639"
+ "66bd49d3-387d-4042-8b01-e9523f96e73f"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194154Z:fd5edecb-ee8c-4bd0-aaf7-ba0de4db6639"
+ "CENTRALUS:20160427T232053Z:66bd49d3-387d-4042-8b01-e9523f96e73f"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1024,7 +1024,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:54 GMT"
+ "Wed, 27 Apr 2016 23:20:53 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1035,11 +1035,11 @@
],
"Names": {
"": [
- "onesdk2214",
- "onesdk5811",
- "onesdk5676",
- "onesdk4276",
- "onesdk2110"
+ "onesdk8786",
+ "onesdk477",
+ "onesdk1625",
+ "onesdk5602",
+ "onesdk8391"
]
},
"Variables": {
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/LoggerCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/LoggerCrudTest.json
new file mode 100644
index 000000000000..be98f8b843ba
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/LoggerCrudTest.json
@@ -0,0 +1,440 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/loggers/onesdk7080?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9sb2dnZXJzL29uZXNkazcwODA/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"type\": \"AzureEventHub\",\r\n \"description\": \"onesdk5405\",\r\n \"credentials\": {\r\n \"name\": \"sdkeventhub\",\r\n \"connectionString\": \"TestConnectionString\"\r\n },\r\n \"isBuffered\": true\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "311"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "090c0d5c-1f10-4f52-a3dd-08a6bca772a4"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "e3e46755-4476-480c-a80f-b062d6d8ed08"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231102Z:e3e46755-4476-480c-a80f-b062d6d8ed08"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:11:02 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/loggers/onesdk7080?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9sb2dnZXJzL29uZXNkazcwODA/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/loggers/onesdk7080\",\r\n \"type\": \"azureEventHub\",\r\n \"description\": \"onesdk5405\",\r\n \"isBuffered\": true\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "96"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "cf7f98f2-e24e-4193-80b5-bbd1515b1067"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "2249a4a4-8842-4fcd-b5d6-edc9cac927f8"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231103Z:2249a4a4-8842-4fcd-b5d6-edc9cac927f8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:11:02 GMT"
+ ],
+ "ETag": [
+ "\"AAAAAAAACKg=\""
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/loggers/onesdk7080?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9sb2dnZXJzL29uZXNkazcwODA/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/loggers/onesdk7080\",\r\n \"type\": \"azureEventHub\",\r\n \"description\": \"onesdk8770\",\r\n \"isBuffered\": false\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "97"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "0dfdf23c-c514-4d85-8e4a-3602f9ae5d5f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14998"
+ ],
+ "x-ms-correlation-request-id": [
+ "a9d5b7d8-51a6-4c22-b4aa-f8ca728dff2a"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231104Z:a9d5b7d8-51a6-4c22-b4aa-f8ca728dff2a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:11:03 GMT"
+ ],
+ "ETag": [
+ "\"AAAAAAAACKk=\""
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/loggers/onesdk7080?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9sb2dnZXJzL29uZXNkazcwODA/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/loggers/onesdk7080\",\r\n \"type\": \"azureEventHub\",\r\n \"description\": \"onesdk8770\",\r\n \"isBuffered\": false\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "97"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "fa56302b-004f-4d8f-8b88-c0507a3d5307"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14996"
+ ],
+ "x-ms-correlation-request-id": [
+ "7f7f81c5-53e9-40f6-a9e8-a9b650c3037e"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231104Z:7f7f81c5-53e9-40f6-a9e8-a9b650c3037e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:11:04 GMT"
+ ],
+ "ETag": [
+ "\"AAAAAAAACKk=\""
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/loggers/onesdk7080?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9sb2dnZXJzL29uZXNkazcwODA/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Logger not found.\",\r\n \"details\": null\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "82"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "bafd0801-5aac-44a4-bae2-9e57250d70f5"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14995"
+ ],
+ "x-ms-correlation-request-id": [
+ "86d40db3-0cf0-484b-a1a5-acadcef05aa8"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231105Z:86d40db3-0cf0-484b-a1a5-acadcef05aa8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:11:05 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/loggers/onesdk7080?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9sb2dnZXJzL29uZXNkazcwODA/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "PATCH",
+ "RequestBody": "{\r\n \"type\": \"AzureEventHub\",\r\n \"description\": \"onesdk8770\",\r\n \"isBuffered\": false\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "87"
+ ],
+ "If-Match": [
+ "*"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "9728814e-0980-49ce-9f7f-b78aa413bcf8"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "ea9bc306-cb08-444b-996e-fd7ae8292eb7"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231103Z:ea9bc306-cb08-444b-996e-fd7ae8292eb7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:11:03 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/loggers?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9sb2dnZXJzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/loggers/onesdk7080\",\r\n \"type\": \"azureEventHub\",\r\n \"description\": \"onesdk8770\",\r\n \"isBuffered\": false\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "135"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "1f613384-6f6c-4602-9ebd-01553f34a006"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14997"
+ ],
+ "x-ms-correlation-request-id": [
+ "eab7824b-4c84-435f-85ef-fac8707de2d5"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231104Z:eab7824b-4c84-435f-85ef-fac8707de2d5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:11:04 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/loggers/onesdk7080?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9sb2dnZXJzL29uZXNkazcwODA/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "If-Match": [
+ "*"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "69ca7c51-849d-455a-868a-18638414fca6"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-correlation-request-id": [
+ "985e2d2f-38f5-41e4-b88d-356d67f7eddf"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231105Z:985e2d2f-38f5-41e4-b88d-356d67f7eddf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:11:04 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ }
+ ],
+ "Names": {
+ "": [
+ "onesdk7080",
+ "onesdk5405",
+ "onesdk8770"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "a200340d-6b82-494d-9dbf-687ba6e33f9e"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/OpenIdConnectProviderCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/OpenIdConnectProviderCrudTest.json
new file mode 100644
index 000000000000..5a7371ff0ea3
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/OpenIdConnectProviderCrudTest.json
@@ -0,0 +1,595 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/openidProviders/onesdk2913?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9vcGVuaWRQcm92aWRlcnMvb25lc2RrMjkxMz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"onesdk9944\",\r\n \"description\": \"onesdk7999\",\r\n \"metadataEndpoint\": \"https://login.microsoftonline.com/contoso.onmicrosoft.com/v2.0/.well-known/openid-configuration\",\r\n \"clientId\": \"onesdk2329\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "211"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "633be2ec-44d0-4ddc-ac50-7b657693377c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1194"
+ ],
+ "x-ms-correlation-request-id": [
+ "06b16349-55bd-4548-b91c-3aa80a2660a3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160427T232336Z:06b16349-55bd-4548-b91c-3aa80a2660a3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:23:36 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/openidProviders/onesdk2913?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9vcGVuaWRQcm92aWRlcnMvb25lc2RrMjkxMz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/openidConnectProviders/onesdk2913\",\r\n \"name\": \"onesdk9944\",\r\n \"description\": \"onesdk7999\",\r\n \"metadataEndpoint\": \"https://login.microsoftonline.com/contoso.onmicrosoft.com/v2.0/.well-known/openid-configuration\",\r\n \"clientId\": \"onesdk2329\",\r\n \"clientSecret\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "251"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "1fc878a0-ecbb-445b-a3d9-d34c7cfef214"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14991"
+ ],
+ "x-ms-correlation-request-id": [
+ "6478801c-985d-4f26-9a5c-de8b3a81985d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160427T232337Z:6478801c-985d-4f26-9a5c-de8b3a81985d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:23:36 GMT"
+ ],
+ "ETag": [
+ "\"AAAAAAAACMY=\""
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/openidProviders/onesdk2913?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9vcGVuaWRQcm92aWRlcnMvb25lc2RrMjkxMz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/openidConnectProviders/onesdk2913\",\r\n \"name\": \"onesdk9944\",\r\n \"description\": \"onesdk7999\",\r\n \"metadataEndpoint\": \"https://login.microsoftonline.com/contoso.onmicrosoft.com/v2.0/.well-known/openid-configuration\",\r\n \"clientId\": \"onesdk2329\",\r\n \"clientSecret\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "251"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "3a8d2b7e-520d-40bf-8243-d065cab62353"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14989"
+ ],
+ "x-ms-correlation-request-id": [
+ "54e9d08b-c02b-451f-a560-f2a26e0afb72"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160427T232337Z:54e9d08b-c02b-451f-a560-f2a26e0afb72"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:23:36 GMT"
+ ],
+ "ETag": [
+ "\"AAAAAAAACMY=\""
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/openidProviders/onesdk2913?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9vcGVuaWRQcm92aWRlcnMvb25lc2RrMjkxMz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/openidConnectProviders/onesdk2913\",\r\n \"name\": \"onesdk9944\",\r\n \"description\": \"onesdk7999\",\r\n \"metadataEndpoint\": \"https://login.microsoftonline.com/contoso.onmicrosoft.com/v2.0/.well-known/openid-configuration\",\r\n \"clientId\": \"onesdk2329\",\r\n \"clientSecret\": \"onesdk7109\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "259"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "abcc472f-b259-41af-a8f2-a0000b14351f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14987"
+ ],
+ "x-ms-correlation-request-id": [
+ "72f57142-ea3f-4744-8836-1fff013fb37a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160427T232338Z:72f57142-ea3f-4744-8836-1fff013fb37a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:23:37 GMT"
+ ],
+ "ETag": [
+ "\"AAAAAAAACMc=\""
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/openidProviders/onesdk2913?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9vcGVuaWRQcm92aWRlcnMvb25lc2RrMjkxMz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"OpenidConnectProvider not found.\",\r\n \"details\": null\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "97"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "af709919-c6eb-49ff-beb9-78125f9b040c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14986"
+ ],
+ "x-ms-correlation-request-id": [
+ "69072f8f-7223-4f9b-b9ca-894ccf0ff82d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160427T232339Z:69072f8f-7223-4f9b-b9ca-894ccf0ff82d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:23:38 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/openidProviders/onesdk2913?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9vcGVuaWRQcm92aWRlcnMvb25lc2RrMjkxMz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"OpenidConnectProvider not found.\",\r\n \"details\": null\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "97"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "4e695535-5a3a-4d29-ba4f-801544e22978"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14985"
+ ],
+ "x-ms-correlation-request-id": [
+ "b827eed6-e960-407e-a345-0f36faaaf1d0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160427T232339Z:b827eed6-e960-407e-a345-0f36faaaf1d0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:23:38 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/openidProviders?api-version=2014-02-14&$filter=substringof('onesdk9944'%2Cname)",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9vcGVuaWRQcm92aWRlcnM/YXBpLXZlcnNpb249MjAxNC0wMi0xNCYkZmlsdGVyPXN1YnN0cmluZ29mJTI4JTI3b25lc2RrOTk0NCUyNyUyQ25hbWUlMjk=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/openidConnectProviders/onesdk2913\",\r\n \"name\": \"onesdk9944\",\r\n \"description\": \"onesdk7999\",\r\n \"metadataEndpoint\": \"https://login.microsoftonline.com/contoso.onmicrosoft.com/v2.0/.well-known/openid-configuration\",\r\n \"clientId\": \"onesdk2329\",\r\n \"clientSecret\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "289"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "dcc9e4bc-bd65-4578-a69b-e187e5f6528b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14990"
+ ],
+ "x-ms-correlation-request-id": [
+ "a7981312-6e28-4494-aa60-5ac91b26a183"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160427T232337Z:a7981312-6e28-4494-aa60-5ac91b26a183"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:23:36 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/openidProviders?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9vcGVuaWRQcm92aWRlcnM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/openidConnectProviders/onesdk2913\",\r\n \"name\": \"onesdk9944\",\r\n \"description\": \"onesdk7999\",\r\n \"metadataEndpoint\": \"https://login.microsoftonline.com/contoso.onmicrosoft.com/v2.0/.well-known/openid-configuration\",\r\n \"clientId\": \"onesdk2329\",\r\n \"clientSecret\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "289"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "3224a6b2-78cd-40c4-b60a-324f983052e4"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14988"
+ ],
+ "x-ms-correlation-request-id": [
+ "c19fbd70-6877-4e34-8483-27fc0ef1680a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160427T232337Z:c19fbd70-6877-4e34-8483-27fc0ef1680a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:23:37 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/openidProviders/onesdk2913?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9vcGVuaWRQcm92aWRlcnMvb25lc2RrMjkxMz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "PATCH",
+ "RequestBody": "{\r\n \"clientSecret\": \"onesdk7109\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "36"
+ ],
+ "If-Match": [
+ "*"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "d4ef1930-8f02-4c25-8786-b4d9e0bd4c86"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1193"
+ ],
+ "x-ms-correlation-request-id": [
+ "01516656-e03a-4378-a59a-e166883d2c4b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160427T232338Z:01516656-e03a-4378-a59a-e166883d2c4b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:23:37 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/openidProviders/onesdk2913?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9vcGVuaWRQcm92aWRlcnMvb25lc2RrMjkxMz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "If-Match": [
+ "*"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "032b66b9-bae0-4c09-be41-071ea7c689d8"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1192"
+ ],
+ "x-ms-correlation-request-id": [
+ "755914aa-786e-4900-8f21-83e287e0c2f9"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160427T232338Z:755914aa-786e-4900-8f21-83e287e0c2f9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:23:38 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/openidProviders/onesdk2913?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9vcGVuaWRQcm92aWRlcnMvb25lc2RrMjkxMz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "If-Match": [
+ "*"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "bed66c50-f190-47b1-842c-165c4bd9c885"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1191"
+ ],
+ "x-ms-correlation-request-id": [
+ "bab6c29e-424a-4995-97d3-b064a45a6082"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160427T232339Z:bab6c29e-424a-4995-97d3-b064a45a6082"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:23:38 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ }
+ ],
+ "Names": {
+ "": [
+ "onesdk2913",
+ "onesdk9944",
+ "onesdk2329",
+ "onesdk7999",
+ "onesdk7109"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "a200340d-6b82-494d-9dbf-687ba6e33f9e"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/OperationsCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/OperationsCrudTest.json
index d52576df5e90..9e23c2852449 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/OperationsCrudTest.json
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/OperationsCrudTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis?api-version=2014-02-14&$filter=name%20eq%20'Echo%20API'",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQmJGZpbHRlcj1uYW1lJTIwZXElMjAlMjdFY2hvJTIwQVBJJTI3",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis?api-version=2014-02-14&$filter=name%20eq%20'Echo%20API'",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQmJGZpbHRlcj1uYW1lJTIwZXElMjAlMjdFY2hvJTIwQVBJJTI3",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -10,7 +10,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"264"
@@ -25,16 +25,16 @@
"no-cache"
],
"x-ms-request-id": [
- "bc7ed8ab-d64e-4504-9a46-290f95dcddaf"
+ "6f36bf04-63c1-48de-9515-0bc610d4434f"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14999"
],
"x-ms-correlation-request-id": [
- "3cefcac5-4381-46ee-84e2-a1c50cf2041e"
+ "ada35920-b516-4266-befc-f3a33ade433c"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193839Z:3cefcac5-4381-46ee-84e2-a1c50cf2041e"
+ "CENTRALUS:20160427T231949Z:ada35920-b516-4266-befc-f3a33ade433c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -43,7 +43,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:38:39 GMT"
+ "Wed, 27 Apr 2016 23:19:49 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -52,8 +52,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -61,7 +61,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080004\",\r\n \"name\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\"\r\n },\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080003\",\r\n \"name\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\"\r\n },\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080005\",\r\n \"name\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\"\r\n },\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080006\",\r\n \"name\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\"\r\n },\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080001\",\r\n \"name\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\"\r\n },\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080002\",\r\n \"name\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\"\r\n }\r\n ],\r\n \"count\": 6,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080004\",\r\n \"name\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\"\r\n },\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82900710f0345080003\",\r\n \"name\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\"\r\n },\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080005\",\r\n \"name\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\"\r\n },\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080006\",\r\n \"name\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\"\r\n },\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82900710f0345080001\",\r\n \"name\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\"\r\n },\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82900710f0345080002\",\r\n \"name\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\"\r\n }\r\n ],\r\n \"count\": 6,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"2340"
@@ -76,16 +76,16 @@
"no-cache"
],
"x-ms-request-id": [
- "62d450e1-3499-48b5-ae14-8e8f7caf08e1"
+ "678593bf-894c-4803-bce0-5e79fbed0c04"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14998"
],
"x-ms-correlation-request-id": [
- "85502ce0-e058-4fd3-b874-7342589ae6c6"
+ "3528f9cb-9405-452b-a6a8-17c4497285f4"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193840Z:85502ce0-e058-4fd3-b874-7342589ae6c6"
+ "CENTRALUS:20160427T231950Z:3528f9cb-9405-452b-a6a8-17c4497285f4"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -94,7 +94,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:38:39 GMT"
+ "Wed, 27 Apr 2016 23:19:49 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -103,8 +103,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080004?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zLzU2MmE4ODI1MTJiZmJkMDQyNDA4MDAwND9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080004?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zLzU3MWVhODJhMDA3MTBmMDM0NTA4MDAwND9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -112,7 +112,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080004\",\r\n \"name\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n\\t\\\"vehicleType\\\": \\\"train\\\",\\r\\n\\t\\\"maxSpeed\\\": 125,\\r\\n\\t\\\"avgSpeed\\\": 90,\\r\\n\\t\\\"speedUnit\\\": \\\"mph\\\"\\r\\n\\t\\t}\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080004\",\r\n \"name\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n\\t\\\"vehicleType\\\": \\\"train\\\",\\r\\n\\t\\\"maxSpeed\\\": 125,\\r\\n\\t\\\"avgSpeed\\\": 90,\\r\\n\\t\\\"speedUnit\\\": \\\"mph\\\"\\r\\n\\t\\t}\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
"848"
@@ -127,16 +127,16 @@
"no-cache"
],
"x-ms-request-id": [
- "98c10132-56fd-4be9-8a28-308b6b0e3737"
+ "9927f66b-2ced-461f-bfb8-898c98e94745"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14997"
],
"x-ms-correlation-request-id": [
- "44f521d2-5b2a-4daf-8d00-aae1399fc0ce"
+ "12d2623e-76d8-4598-84ed-78459807d861"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193840Z:44f521d2-5b2a-4daf-8d00-aae1399fc0ce"
+ "CENTRALUS:20160427T231950Z:12d2623e-76d8-4598-84ed-78459807d861"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -145,10 +145,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:38:40 GMT"
+ "Wed, 27 Apr 2016 23:19:50 GMT"
],
"ETag": [
- "\"AAAAAAAACBY=\""
+ "\"AAAAAAAACJ8=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -157,8 +157,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080003?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zLzU2MmE4ODI1MTJiZmJkMDQyNDA4MDAwMz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/571ea82900710f0345080003?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zLzU3MWVhODI5MDA3MTBmMDM0NTA4MDAwMz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -166,7 +166,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080003\",\r\n \"name\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82900710f0345080003\",\r\n \"name\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
"521"
@@ -181,16 +181,16 @@
"no-cache"
],
"x-ms-request-id": [
- "77dadd6d-6294-4a64-8020-207ff7edbd8e"
+ "93e5ba15-cfd6-4502-8874-419c689cb644"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14996"
],
"x-ms-correlation-request-id": [
- "25e278d0-1f8f-491f-9551-54232b3bdc47"
+ "cc0b1acd-7f8f-4bf0-87ce-08f7fb94ea67"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193841Z:25e278d0-1f8f-491f-9551-54232b3bdc47"
+ "CENTRALUS:20160427T231950Z:cc0b1acd-7f8f-4bf0-87ce-08f7fb94ea67"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -199,10 +199,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:38:40 GMT"
+ "Wed, 27 Apr 2016 23:19:50 GMT"
],
"ETag": [
- "\"AAAAAAAACBQ=\""
+ "\"AAAAAAAACD4=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -211,8 +211,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080005?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zLzU2MmE4ODI1MTJiZmJkMDQyNDA4MDAwNT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080005?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zLzU3MWVhODJhMDA3MTBmMDM0NTA4MDAwNT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -220,7 +220,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080005\",\r\n \"name\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080005\",\r\n \"name\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
"531"
@@ -235,16 +235,16 @@
"no-cache"
],
"x-ms-request-id": [
- "6b14c427-97e3-461e-a3e9-0884fe4ed075"
+ "b3f4007f-f695-4ceb-b982-125ab37dbacd"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14995"
],
"x-ms-correlation-request-id": [
- "f61aa0b7-8c97-421e-8dea-4e9b020336a4"
+ "91667e89-7b2f-4b87-8f5f-e531b4c16d21"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193841Z:f61aa0b7-8c97-421e-8dea-4e9b020336a4"
+ "CENTRALUS:20160427T231951Z:91667e89-7b2f-4b87-8f5f-e531b4c16d21"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -253,10 +253,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:38:40 GMT"
+ "Wed, 27 Apr 2016 23:19:50 GMT"
],
"ETag": [
- "\"AAAAAAAACBc=\""
+ "\"AAAAAAAACEA=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -265,8 +265,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080006?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zLzU2MmE4ODI1MTJiZmJkMDQyNDA4MDAwNj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080006?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zLzU3MWVhODJhMDA3MTBmMDM0NTA4MDAwNj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -274,7 +274,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080006\",\r\n \"name\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080006\",\r\n \"name\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
"516"
@@ -289,16 +289,16 @@
"no-cache"
],
"x-ms-request-id": [
- "589aa277-2fd3-43fa-8a5a-31575f977a56"
+ "731664e8-78fe-4d6c-9af6-15067f4e8a9d"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14994"
],
"x-ms-correlation-request-id": [
- "7bac46c6-3703-424e-b485-a61f5a247383"
+ "183303d9-5f92-4cd5-8175-205ac238bf91"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193841Z:7bac46c6-3703-424e-b485-a61f5a247383"
+ "CENTRALUS:20160427T231951Z:183303d9-5f92-4cd5-8175-205ac238bf91"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -307,10 +307,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:38:41 GMT"
+ "Wed, 27 Apr 2016 23:19:51 GMT"
],
"ETag": [
- "\"AAAAAAAACBk=\""
+ "\"AAAAAAAACEE=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -319,8 +319,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080001?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zLzU2MmE4ODI1MTJiZmJkMDQyNDA4MDAwMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/571ea82900710f0345080001?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zLzU3MWVhODI5MDA3MTBmMDM0NTA4MDAwMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -328,7 +328,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080001\",\r\n \"name\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"param1\",\r\n \"description\": \"A sample parameter that is required and has a default value of \\\"sample\\\".\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"sample\",\r\n \"required\": true,\r\n \"values\": [\r\n \"sample\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param2\",\r\n \"description\": \"Another sample parameter, set to not required.\",\r\n \"type\": \"number\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"Returned in all cases.\",\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82900710f0345080001\",\r\n \"name\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"param1\",\r\n \"description\": \"A sample parameter that is required and has a default value of \\\"sample\\\".\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"sample\",\r\n \"required\": true,\r\n \"values\": [\r\n \"sample\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param2\",\r\n \"description\": \"Another sample parameter, set to not required.\",\r\n \"type\": \"number\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"Returned in all cases.\",\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
"904"
@@ -343,16 +343,16 @@
"no-cache"
],
"x-ms-request-id": [
- "ba038a90-3bb5-4e17-b942-9f6766fac3e4"
+ "00508b88-a0b0-446c-87e1-e3dfca8b4ea4"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14993"
],
"x-ms-correlation-request-id": [
- "ce4565e7-264b-4252-b11d-2c481e3e0d30"
+ "392a57fa-abc9-4a55-88ee-79c6d5a4292e"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193841Z:ce4565e7-264b-4252-b11d-2c481e3e0d30"
+ "CENTRALUS:20160427T231951Z:392a57fa-abc9-4a55-88ee-79c6d5a4292e"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -361,10 +361,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:38:41 GMT"
+ "Wed, 27 Apr 2016 23:19:51 GMT"
],
"ETag": [
- "\"AAAAAAAACBE=\""
+ "\"AAAAAAAACDw=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -373,8 +373,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080002?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zLzU2MmE4ODI1MTJiZmJkMDQyNDA4MDAwMj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/571ea82900710f0345080002?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zLzU3MWVhODI5MDA3MTBmMDM0NTA4MDAwMj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -382,7 +382,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080002\",\r\n \"name\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"param1\",\r\n \"description\": \"A sample parameter that is required and has a default value of \\\"sample\\\".\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"sample\",\r\n \"required\": true,\r\n \"values\": [\r\n \"sample\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param2\",\r\n \"description\": \"Another sample parameter, set to not required.\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82900710f0345080002\",\r\n \"name\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"param1\",\r\n \"description\": \"A sample parameter that is required and has a default value of \\\"sample\\\".\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"sample\",\r\n \"required\": true,\r\n \"values\": [\r\n \"sample\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param2\",\r\n \"description\": \"Another sample parameter, set to not required.\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
"997"
@@ -397,16 +397,16 @@
"no-cache"
],
"x-ms-request-id": [
- "194316a6-936f-4227-a4a5-cff6661cdcd7"
+ "9f96b779-df98-41ab-bfb9-a7276bc8da56"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14992"
],
"x-ms-correlation-request-id": [
- "bb7ae358-9809-4a05-97e8-6aeb1cef38ed"
+ "954f9c27-ca8a-483c-8da7-554ef77723fd"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193842Z:bb7ae358-9809-4a05-97e8-6aeb1cef38ed"
+ "CENTRALUS:20160427T231951Z:954f9c27-ca8a-483c-8da7-554ef77723fd"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -415,10 +415,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:38:41 GMT"
+ "Wed, 27 Apr 2016 23:19:51 GMT"
],
"ETag": [
- "\"AAAAAAAACBM=\""
+ "\"AAAAAAAACD0=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -427,16 +427,16 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/onesdk1218?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zL29uZXNkazEyMTg/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/onesdk1002?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zL29uZXNkazEwMDI/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"name\": \"onesdk7160\",\r\n \"method\": \"PATCH\",\r\n \"urlTemplate\": \"/resource/{rid}?q={query}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"rid\",\r\n \"description\": \"Resource identifier\",\r\n \"type\": \"string\",\r\n \"required\": false,\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"query\",\r\n \"description\": \"Query string\",\r\n \"type\": \"string\",\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"onesdk6588\",\r\n \"request\": {\r\n \"description\": \"Create/update resource request\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"onesdk9513\",\r\n \"description\": \"onesdk4769\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk7043\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk7043\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"onesdk8595\",\r\n \"description\": \"onesdk859\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk9874\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk9874\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"onesdk3598\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"onesdk1372\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"onesdk3589\",\r\n \"sample\": \"onesdk3044\"\r\n }\r\n ]\r\n }\r\n ]\r\n}",
+ "RequestBody": "{\r\n \"name\": \"onesdk6106\",\r\n \"method\": \"PATCH\",\r\n \"urlTemplate\": \"/resource/{rid}?q={query}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"rid\",\r\n \"description\": \"Resource identifier\",\r\n \"type\": \"string\",\r\n \"required\": false,\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"query\",\r\n \"description\": \"Query string\",\r\n \"type\": \"string\",\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"onesdk3850\",\r\n \"request\": {\r\n \"description\": \"Create/update resource request\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"onesdk5666\",\r\n \"description\": \"onesdk3447\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk3638\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk3638\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"onesdk4569\",\r\n \"description\": \"onesdk641\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk35\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk35\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"onesdk5455\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"onesdk9410\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"onesdk8404\",\r\n \"sample\": \"onesdk1808\"\r\n }\r\n ]\r\n }\r\n ]\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json"
],
"Content-Length": [
- "1436"
+ "1432"
],
"User-Agent": [
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
@@ -454,16 +454,16 @@
"no-cache"
],
"x-ms-request-id": [
- "99e91569-e825-452f-94de-d7755f654290"
+ "6a304c02-4876-41e0-9e64-7658f0e6cd58"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1199"
],
"x-ms-correlation-request-id": [
- "4097e7fb-1c83-4a6e-9df1-fa70b0d013a1"
+ "ad95388f-c271-44c0-a7f9-38693043613d"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193846Z:4097e7fb-1c83-4a6e-9df1-fa70b0d013a1"
+ "CENTRALUS:20160427T231953Z:ad95388f-c271-44c0-a7f9-38693043613d"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -472,7 +472,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:38:46 GMT"
+ "Wed, 27 Apr 2016 23:19:53 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -481,8 +481,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/onesdk1218?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zL29uZXNkazEyMTg/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/onesdk1002?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zL29uZXNkazEwMDI/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -490,10 +490,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/onesdk1218\",\r\n \"name\": \"onesdk7160\",\r\n \"method\": \"PATCH\",\r\n \"urlTemplate\": \"/resource/{rid}?q={query}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"rid\",\r\n \"description\": \"Resource identifier\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"query\",\r\n \"description\": \"Query string\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"onesdk6588\",\r\n \"request\": {\r\n \"description\": \"Create/update resource request\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"onesdk9513\",\r\n \"description\": \"onesdk4769\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk7043\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk7043\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"onesdk8595\",\r\n \"description\": \"onesdk859\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk9874\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk9874\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"onesdk3598\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"onesdk1372\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"onesdk3589\",\r\n \"sample\": \"onesdk3044\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/onesdk1002\",\r\n \"name\": \"onesdk6106\",\r\n \"method\": \"PATCH\",\r\n \"urlTemplate\": \"/resource/{rid}?q={query}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"rid\",\r\n \"description\": \"Resource identifier\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"query\",\r\n \"description\": \"Query string\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"onesdk3850\",\r\n \"request\": {\r\n \"description\": \"Create/update resource request\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"onesdk5666\",\r\n \"description\": \"onesdk3447\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk3638\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk3638\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"onesdk4569\",\r\n \"description\": \"onesdk641\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk35\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk35\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"onesdk5455\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"onesdk9410\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"onesdk8404\",\r\n \"sample\": \"onesdk1808\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "999"
+ "995"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -505,16 +505,16 @@
"no-cache"
],
"x-ms-request-id": [
- "9dd45390-02b1-4d91-bede-f780634ff103"
+ "9b754cc0-67c6-419b-a8e6-cb3bb9f17921"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14991"
],
"x-ms-correlation-request-id": [
- "a7f3bade-1972-4a96-a480-0bc042097ac2"
+ "354777d4-82f7-4fd9-a507-b5db34a8d4db"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193847Z:a7f3bade-1972-4a96-a480-0bc042097ac2"
+ "CENTRALUS:20160427T231953Z:354777d4-82f7-4fd9-a507-b5db34a8d4db"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -523,10 +523,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:38:46 GMT"
+ "Wed, 27 Apr 2016 23:19:53 GMT"
],
"ETag": [
- "\"AAAAAAAACBs=\""
+ "\"AAAAAAAACLs=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -535,8 +535,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/onesdk1218?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zL29uZXNkazEyMTg/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/onesdk1002?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zL29uZXNkazEwMDI/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -544,10 +544,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/onesdk1218\",\r\n \"name\": \"onesdk9657\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource/{xrid}?q={xquery}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"xrid\",\r\n \"description\": \"Resource identifier modified\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"xquery\",\r\n \"description\": \"Query string modified\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"onesdk8792\",\r\n \"request\": {\r\n \"description\": \"Create/update resource request modified\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"onesdk7674\",\r\n \"description\": \"onesdk1684\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk9651\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk9651\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"onesdk547\",\r\n \"description\": \"onesdk9568\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk6597\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk6597\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"onesdk7024\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"onesdk1102\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"onesdk1258\",\r\n \"sample\": \"onesdk858\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/onesdk1002\",\r\n \"name\": \"onesdk9730\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource/{xrid}?q={xquery}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"xrid\",\r\n \"description\": \"Resource identifier modified\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"xquery\",\r\n \"description\": \"Query string modified\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"onesdk9175\",\r\n \"request\": {\r\n \"description\": \"Create/update resource request modified\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"onesdk5838\",\r\n \"description\": \"onesdk3001\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk8996\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk8996\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"onesdk7750\",\r\n \"description\": \"onesdk5605\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk8534\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk8534\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"onesdk3424\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"onesdk8184\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"onesdk843\",\r\n \"sample\": \"onesdk5526\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "1027"
+ "1028"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -559,16 +559,16 @@
"no-cache"
],
"x-ms-request-id": [
- "3055cc75-0ee1-4d52-bc13-fdbcbc0d0693"
+ "6c7947e9-b76a-4f5e-9567-bd6ca068c08e"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14990"
],
"x-ms-correlation-request-id": [
- "0bff3782-d38f-4f02-92b4-3045cd4eaf66"
+ "149ae344-2b82-476f-9004-7d67ccde9aa6"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193848Z:0bff3782-d38f-4f02-92b4-3045cd4eaf66"
+ "CENTRALUS:20160427T231954Z:149ae344-2b82-476f-9004-7d67ccde9aa6"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -577,10 +577,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:38:48 GMT"
+ "Wed, 27 Apr 2016 23:19:54 GMT"
],
"ETag": [
- "\"AAAAAAAACCI=\""
+ "\"AAAAAAAACLw=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -589,8 +589,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/onesdk1218?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zL29uZXNkazEyMTg/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/onesdk1002?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zL29uZXNkazEwMDI/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -613,16 +613,16 @@
"no-cache"
],
"x-ms-request-id": [
- "290356f5-7a02-4251-8188-8cb78824f275"
+ "b7417d4f-edc1-492e-89a6-6ac036450851"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14989"
],
"x-ms-correlation-request-id": [
- "d7c96132-ac6d-4cd4-bae6-82f74a85c20c"
+ "b8396bee-aa33-42ad-b872-855bb472e9a9"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193850Z:d7c96132-ac6d-4cd4-bae6-82f74a85c20c"
+ "CENTRALUS:20160427T231957Z:b8396bee-aa33-42ad-b872-855bb472e9a9"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -631,7 +631,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:38:49 GMT"
+ "Wed, 27 Apr 2016 23:19:57 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -640,16 +640,16 @@
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/onesdk1218?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zL29uZXNkazEyMTg/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/onesdk1002?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zL29uZXNkazEwMDI/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "PATCH",
- "RequestBody": "{\r\n \"name\": \"onesdk9657\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource/{xrid}?q={xquery}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"xrid\",\r\n \"description\": \"Resource identifier modified\",\r\n \"type\": \"string\",\r\n \"required\": false,\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"xquery\",\r\n \"description\": \"Query string modified\",\r\n \"type\": \"string\",\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"onesdk8792\",\r\n \"request\": {\r\n \"description\": \"Create/update resource request modified\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"onesdk7674\",\r\n \"description\": \"onesdk1684\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk9651\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk9651\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"onesdk547\",\r\n \"description\": \"onesdk9568\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk6597\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk6597\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"onesdk7024\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"onesdk1102\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"onesdk1258\",\r\n \"sample\": \"onesdk858\"\r\n }\r\n ]\r\n }\r\n ]\r\n}",
+ "RequestBody": "{\r\n \"name\": \"onesdk9730\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource/{xrid}?q={xquery}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"xrid\",\r\n \"description\": \"Resource identifier modified\",\r\n \"type\": \"string\",\r\n \"required\": false,\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"xquery\",\r\n \"description\": \"Query string modified\",\r\n \"type\": \"string\",\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"onesdk9175\",\r\n \"request\": {\r\n \"description\": \"Create/update resource request modified\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"onesdk5838\",\r\n \"description\": \"onesdk3001\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk8996\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk8996\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"onesdk7750\",\r\n \"description\": \"onesdk5605\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk8534\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk8534\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"onesdk3424\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"onesdk8184\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"onesdk843\",\r\n \"sample\": \"onesdk5526\"\r\n }\r\n ]\r\n }\r\n ]\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json"
],
"Content-Length": [
- "1464"
+ "1465"
],
"If-Match": [
"*"
@@ -670,16 +670,16 @@
"no-cache"
],
"x-ms-request-id": [
- "b48af60a-b6dd-4b73-8f81-e24aa074909f"
+ "fab44d48-9fe4-4a02-97f0-dc34462e76df"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1198"
],
"x-ms-correlation-request-id": [
- "f0ad22a6-5337-4f5c-a281-3c110d69bd8d"
+ "ba6eba43-8a1b-4da1-830f-53ebe6d7a48f"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193848Z:f0ad22a6-5337-4f5c-a281-3c110d69bd8d"
+ "CENTRALUS:20160427T231954Z:ba6eba43-8a1b-4da1-830f-53ebe6d7a48f"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -688,7 +688,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:38:47 GMT"
+ "Wed, 27 Apr 2016 23:19:54 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -697,8 +697,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/onesdk1218?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zL29uZXNkazEyMTg/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/onesdk1002?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zL29uZXNkazEwMDI/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -721,16 +721,16 @@
"no-cache"
],
"x-ms-request-id": [
- "c70ea536-d255-4ff2-9e77-cb718c878c04"
+ "6b27c6aa-c992-4902-a70c-6c3a7ca3b500"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1197"
],
"x-ms-correlation-request-id": [
- "7edd110e-18ba-482f-bfd3-09879a4d1093"
+ "23c19829-9b02-4dbb-aa38-bc4f10c57d1e"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193850Z:7edd110e-18ba-482f-bfd3-09879a4d1093"
+ "CENTRALUS:20160427T231957Z:23c19829-9b02-4dbb-aa38-bc4f10c57d1e"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -739,7 +739,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:38:49 GMT"
+ "Wed, 27 Apr 2016 23:19:56 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -750,33 +750,33 @@
],
"Names": {
"": [
- "onesdk1218",
- "onesdk7160",
- "onesdk6588",
- "onesdk1421",
- "onesdk8595",
- "onesdk859",
- "onesdk9874",
- "onesdk9513",
- "onesdk4769",
- "onesdk7043",
- "onesdk3598",
- "onesdk1372",
- "onesdk3589",
- "onesdk3044",
- "onesdk9657",
- "onesdk8792",
- "onesdk210",
- "onesdk547",
- "onesdk9568",
- "onesdk6597",
- "onesdk7674",
- "onesdk1684",
- "onesdk9651",
- "onesdk7024",
- "onesdk1102",
- "onesdk1258",
- "onesdk858"
+ "onesdk1002",
+ "onesdk6106",
+ "onesdk3850",
+ "onesdk1927",
+ "onesdk4569",
+ "onesdk641",
+ "onesdk35",
+ "onesdk5666",
+ "onesdk3447",
+ "onesdk3638",
+ "onesdk5455",
+ "onesdk9410",
+ "onesdk8404",
+ "onesdk1808",
+ "onesdk9730",
+ "onesdk9175",
+ "onesdk7830",
+ "onesdk7750",
+ "onesdk5605",
+ "onesdk8534",
+ "onesdk5838",
+ "onesdk3001",
+ "onesdk8996",
+ "onesdk3424",
+ "onesdk8184",
+ "onesdk843",
+ "onesdk5526"
]
},
"Variables": {
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/PolicyCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/PolicyCrudTest.json
index 96dafad5f516..503568510154 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/PolicyCrudTest.json
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/PolicyCrudTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/tenant/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC90ZW5hbnQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "PUT",
"RequestBody": "\r\n \r\n \r\n \r\n bbyby\r\n \r\n \r\n \r\n xxbbcczc\r\n \r\n \r\n \r\n \r\n \r\n",
"RequestHeaders": {
@@ -31,16 +31,16 @@
"no-cache"
],
"x-ms-request-id": [
- "ba7c1df9-b311-4ce6-a6ca-19dd2ad7b077"
+ "db2e3356-6bab-458d-98be-525f22cdef48"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
+ "1198"
],
"x-ms-correlation-request-id": [
- "3c768897-b4c4-47b7-95ee-c2bbe0ea6bba"
+ "56955312-364b-4061-af19-5f42016140d7"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194210Z:3c768897-b4c4-47b7-95ee-c2bbe0ea6bba"
+ "CENTRALUS:20160427T232707Z:56955312-364b-4061-af19-5f42016140d7"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -49,17 +49,17 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:10 GMT"
+ "Wed, 27 Apr 2016 23:27:07 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
]
},
- "StatusCode": 204
+ "StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/tenant/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC90ZW5hbnQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "PUT",
"RequestBody": "\r\n \r\n \r\n \r\n bbyby\r\n \r\n \r\n \r\n xxbbcczc\r\n \r\n \r\n \r\n \r\n \r\n",
"RequestHeaders": {
@@ -88,16 +88,16 @@
"no-cache"
],
"x-ms-request-id": [
- "528a2c24-52a3-4bd7-a3d0-3ceaa7091e92"
+ "3a720cf2-877f-48ee-b499-8c3fd888916e"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1191"
+ "1190"
],
"x-ms-correlation-request-id": [
- "9bd8f2bf-59fc-47fb-9193-e9176f3630b9"
+ "8596891d-f4bd-4d25-88b0-2816124b996f"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194222Z:9bd8f2bf-59fc-47fb-9193-e9176f3630b9"
+ "CENTRALUS:20160427T232720Z:8596891d-f4bd-4d25-88b0-2816124b996f"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -106,7 +106,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:22 GMT"
+ "Wed, 27 Apr 2016 23:27:19 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -115,8 +115,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/tenant/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC90ZW5hbnQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -142,16 +142,16 @@
"no-cache"
],
"x-ms-request-id": [
- "0a4b7042-9dfe-4fae-828b-f1a58e5b5118"
+ "f3d15c9d-40c0-4440-8113-e461355ac970"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14960"
+ "14982"
],
"x-ms-correlation-request-id": [
- "5c1f9617-bc73-42f0-bfd7-1f4f84c1c2c2"
+ "9cda236c-f3fa-41e0-8388-c17bf9272c26"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194212Z:5c1f9617-bc73-42f0-bfd7-1f4f84c1c2c2"
+ "CENTRALUS:20160427T232708Z:9cda236c-f3fa-41e0-8388-c17bf9272c26"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -160,10 +160,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:11 GMT"
+ "Wed, 27 Apr 2016 23:27:07 GMT"
],
"ETag": [
- "\"AAAAAAAACD4=\""
+ "\"AAAAAAAACNE=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -172,8 +172,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/tenant/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC90ZW5hbnQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -199,16 +199,16 @@
"no-cache"
],
"x-ms-request-id": [
- "d8199b4c-fa44-4918-ab2f-8f0dfa9c43d6"
+ "4cdbed6a-8d0b-4236-9ddf-3fb3dba5b55c"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14959"
+ "14981"
],
"x-ms-correlation-request-id": [
- "e44ee7c6-a642-4a27-9053-cefee59eb52d"
+ "317fc6da-1816-45a8-bce4-f9853e02060c"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194213Z:e44ee7c6-a642-4a27-9053-cefee59eb52d"
+ "CENTRALUS:20160427T232708Z:317fc6da-1816-45a8-bce4-f9853e02060c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -217,7 +217,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:12 GMT"
+ "Wed, 27 Apr 2016 23:27:08 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -226,8 +226,8 @@
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/tenant/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC90ZW5hbnQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -253,16 +253,16 @@
"no-cache"
],
"x-ms-request-id": [
- "1e58e32e-ae93-446d-b718-4e5b33f0bc27"
+ "f5547c92-a3f6-40cb-b616-c5d3bc874db5"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14947"
+ "14970"
],
"x-ms-correlation-request-id": [
- "efed4d1f-2395-4838-805e-3f7044ccc693"
+ "3c57a094-82a8-4d77-9b11-c135c24bdcd4"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194222Z:efed4d1f-2395-4838-805e-3f7044ccc693"
+ "CENTRALUS:20160427T232720Z:3c57a094-82a8-4d77-9b11-c135c24bdcd4"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -271,10 +271,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:22 GMT"
+ "Wed, 27 Apr 2016 23:27:20 GMT"
],
"ETag": [
- "\"AAAAAAAACEc=\""
+ "\"AAAAAAAACNs=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -283,8 +283,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/tenant/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC90ZW5hbnQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -310,16 +310,16 @@
"no-cache"
],
"x-ms-request-id": [
- "90f7c893-6dee-4792-8566-3f288a92d676"
+ "6c912078-0488-4606-970b-75f3c0b70fd1"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14946"
+ "14969"
],
"x-ms-correlation-request-id": [
- "65a39a1c-f347-4982-935e-64e64fa80080"
+ "5884fa8a-98f9-432a-89e1-043fe12dfe83"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194223Z:65a39a1c-f347-4982-935e-64e64fa80080"
+ "CENTRALUS:20160427T232721Z:5884fa8a-98f9-432a-89e1-043fe12dfe83"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -328,7 +328,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:23 GMT"
+ "Wed, 27 Apr 2016 23:27:20 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -337,8 +337,8 @@
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/tenant/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC90ZW5hbnQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -361,16 +361,16 @@
"no-cache"
],
"x-ms-request-id": [
- "a1343288-bdac-4ee6-b595-444c3518c4f6"
+ "6b093111-e42e-41e0-b38f-4022aa637650"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
+ "1197"
],
"x-ms-correlation-request-id": [
- "22611a2c-2f08-4cc8-951a-4ada16e883f0"
+ "8d97de38-4363-47e4-8de6-db685f328dfa"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194212Z:22611a2c-2f08-4cc8-951a-4ada16e883f0"
+ "CENTRALUS:20160427T232708Z:8d97de38-4363-47e4-8de6-db685f328dfa"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -379,7 +379,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:12 GMT"
+ "Wed, 27 Apr 2016 23:27:08 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -388,8 +388,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/tenant/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC90ZW5hbnQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -412,16 +412,16 @@
"no-cache"
],
"x-ms-request-id": [
- "0a5f65a9-033f-4a26-b8f5-10abe27263d9"
+ "874d8bf1-34c7-450c-b49e-2a0c1bcfe0a5"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1190"
+ "1189"
],
"x-ms-correlation-request-id": [
- "38979b0e-df18-4b60-b38b-04995b787ce5"
+ "f3c237f4-76bc-462f-a2b4-a39a263723c3"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194223Z:38979b0e-df18-4b60-b38b-04995b787ce5"
+ "CENTRALUS:20160427T232721Z:f3c237f4-76bc-462f-a2b4-a39a263723c3"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -430,7 +430,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:23 GMT"
+ "Wed, 27 Apr 2016 23:27:20 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -439,8 +439,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products?api-version=2014-02-14&$filter=name%20eq%20'Unlimited'",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0JiRmaWx0ZXI9bmFtZSUyMGVxJTIwJTI3VW5saW1pdGVkJTI3",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products?api-version=2014-02-14&$filter=name%20eq%20'Unlimited'",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0JiRmaWx0ZXI9bmFtZSUyMGVxJTIwJTI3VW5saW1pdGVkJTI3",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -448,7 +448,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/products/562a882512bfbd0424060002\",\r\n \"name\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/products/571ea82900710f0345060002\",\r\n \"name\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"317"
@@ -463,16 +463,16 @@
"no-cache"
],
"x-ms-request-id": [
- "7db19127-b304-4b35-a1fa-4dc705bb0e16"
+ "08569369-f024-41b3-85c8-aeaf3532e3bb"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14958"
+ "14980"
],
"x-ms-correlation-request-id": [
- "ae32b854-31d2-4df7-83f3-5648d7540840"
+ "f76bad23-a48b-42e5-837b-73029a506309"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194213Z:ae32b854-31d2-4df7-83f3-5648d7540840"
+ "CENTRALUS:20160427T232709Z:f76bad23-a48b-42e5-837b-73029a506309"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -481,7 +481,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:12 GMT"
+ "Wed, 27 Apr 2016 23:27:09 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -490,8 +490,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products?api-version=2014-02-14&$filter=name%20eq%20'Unlimited'",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0JiRmaWx0ZXI9bmFtZSUyMGVxJTIwJTI3VW5saW1pdGVkJTI3",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products?api-version=2014-02-14&$filter=name%20eq%20'Unlimited'",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0JiRmaWx0ZXI9bmFtZSUyMGVxJTIwJTI3VW5saW1pdGVkJTI3",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -499,7 +499,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/products/562a882512bfbd0424060002\",\r\n \"name\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/products/571ea82900710f0345060002\",\r\n \"name\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"317"
@@ -514,16 +514,16 @@
"no-cache"
],
"x-ms-request-id": [
- "510e49e4-c016-414c-94b0-49b88e2f207e"
+ "a5ab5e69-34d0-4a73-9a29-621690b13e2e"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14945"
+ "14968"
],
"x-ms-correlation-request-id": [
- "c6f58b3e-bd02-4fc7-8714-72c6cc983074"
+ "bc7cb38d-83ee-49c3-8daf-5b1f68a22f38"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194223Z:c6f58b3e-bd02-4fc7-8714-72c6cc983074"
+ "CENTRALUS:20160427T232721Z:bc7cb38d-83ee-49c3-8daf-5b1f68a22f38"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -532,7 +532,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:23 GMT"
+ "Wed, 27 Apr 2016 23:27:21 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -541,8 +541,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060002/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDIvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060002/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDIvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "PUT",
"RequestBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n",
"RequestHeaders": {
@@ -552,6 +552,9 @@
"Content-Length": [
"276"
],
+ "If-Match": [
+ "*"
+ ],
"User-Agent": [
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
@@ -568,16 +571,16 @@
"no-cache"
],
"x-ms-request-id": [
- "01c7c87f-f668-48c5-bbc4-47a9c6c01365"
+ "79085d5e-edeb-4656-80ab-313a40842ed4"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
+ "1196"
],
"x-ms-correlation-request-id": [
- "64d87de0-8c70-4c8b-b770-3d2ff7d1064b"
+ "c2bd2e68-c157-49ab-998c-50459f82e443"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194213Z:64d87de0-8c70-4c8b-b770-3d2ff7d1064b"
+ "CENTRALUS:20160427T232709Z:c2bd2e68-c157-49ab-998c-50459f82e443"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -586,7 +589,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:13 GMT"
+ "Wed, 27 Apr 2016 23:27:09 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -595,8 +598,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060002/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDIvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060002/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDIvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "PUT",
"RequestBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n",
"RequestHeaders": {
@@ -606,6 +609,9 @@
"Content-Length": [
"166"
],
+ "If-Match": [
+ "*"
+ ],
"User-Agent": [
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
@@ -622,16 +628,16 @@
"no-cache"
],
"x-ms-request-id": [
- "17860bf0-8d3f-4530-babf-3e3f80ff0d0e"
+ "65701df5-c152-4057-b51f-253e7bfc5cb7"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1189"
+ "1188"
],
"x-ms-correlation-request-id": [
- "bb57326d-88be-4a2c-a447-b2d839b156b1"
+ "5e2a3d23-44b3-472b-a86b-ca19616f8dce"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194224Z:bb57326d-88be-4a2c-a447-b2d839b156b1"
+ "CENTRALUS:20160427T232722Z:5e2a3d23-44b3-472b-a86b-ca19616f8dce"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -640,7 +646,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:23 GMT"
+ "Wed, 27 Apr 2016 23:27:21 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -649,8 +655,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060002/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDIvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060002/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDIvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -676,16 +682,16 @@
"no-cache"
],
"x-ms-request-id": [
- "86d9f16c-9113-4496-a4b2-185c84503ba4"
+ "6530b96b-2337-4874-ae37-7f2faa4fdef7"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14957"
+ "14979"
],
"x-ms-correlation-request-id": [
- "01f9dac6-a2f0-43a0-ae02-bfd9e7e2804c"
+ "d3e30094-229b-4f8b-8020-3aff82935669"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194214Z:01f9dac6-a2f0-43a0-ae02-bfd9e7e2804c"
+ "CENTRALUS:20160427T232711Z:d3e30094-229b-4f8b-8020-3aff82935669"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -694,10 +700,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:13 GMT"
+ "Wed, 27 Apr 2016 23:27:11 GMT"
],
"ETag": [
- "\"AAAAAAAACD8=\""
+ "\"AAAAAAAACNI=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -706,8 +712,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060002/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDIvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060002/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDIvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -733,16 +739,16 @@
"no-cache"
],
"x-ms-request-id": [
- "d4fd6ca9-e33d-4e08-8cc8-57923b93f2ac"
+ "ecf9b87e-c465-4f31-b0fe-e61166450bcf"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14956"
+ "14978"
],
"x-ms-correlation-request-id": [
- "43089d25-cf0c-4055-b141-dccb81cec475"
+ "e3d3f579-ba73-43d1-b48f-44a7bde830a7"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194215Z:43089d25-cf0c-4055-b141-dccb81cec475"
+ "CENTRALUS:20160427T232711Z:e3d3f579-ba73-43d1-b48f-44a7bde830a7"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -751,7 +757,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:14 GMT"
+ "Wed, 27 Apr 2016 23:27:11 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -760,8 +766,8 @@
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060002/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDIvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060002/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDIvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -787,16 +793,16 @@
"no-cache"
],
"x-ms-request-id": [
- "58046f20-ab17-423f-bf00-3aaa5a6e7724"
+ "250fd98c-23c4-4d23-8d36-9194539c0d54"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14944"
+ "14967"
],
"x-ms-correlation-request-id": [
- "b18a1190-8001-414b-b79c-89004e6159b6"
+ "ebce6d85-6232-4599-9471-9a3913d1729d"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194224Z:b18a1190-8001-414b-b79c-89004e6159b6"
+ "CENTRALUS:20160427T232722Z:ebce6d85-6232-4599-9471-9a3913d1729d"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -805,10 +811,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:24 GMT"
+ "Wed, 27 Apr 2016 23:27:21 GMT"
],
"ETag": [
- "\"AAAAAAAACEg=\""
+ "\"AAAAAAAACNw=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -817,8 +823,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060002/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDIvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060002/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDIvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -844,16 +850,16 @@
"no-cache"
],
"x-ms-request-id": [
- "55a0587c-0f18-450e-b85d-1740b13b51fe"
+ "ec2b4cc9-f18a-4180-9729-d3378f0b680b"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14943"
+ "14966"
],
"x-ms-correlation-request-id": [
- "be9a968e-1a3f-4e1d-9b14-537757cd5608"
+ "be830201-7a57-485d-a08c-97b3d259d832"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194224Z:be9a968e-1a3f-4e1d-9b14-537757cd5608"
+ "CENTRALUS:20160427T232722Z:be830201-7a57-485d-a08c-97b3d259d832"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -862,7 +868,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:24 GMT"
+ "Wed, 27 Apr 2016 23:27:22 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -871,8 +877,8 @@
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060002/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDIvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060002/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDIvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -895,16 +901,16 @@
"no-cache"
],
"x-ms-request-id": [
- "379d4e31-68cf-4cc8-89dc-afb1c65a7a72"
+ "85f26283-b334-431f-9bbc-89ea909a328c"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
+ "1195"
],
"x-ms-correlation-request-id": [
- "80f21309-54f2-4270-82f6-392b28ab5996"
+ "22e594bd-702c-443b-b6b4-8f9d74307a33"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194215Z:80f21309-54f2-4270-82f6-392b28ab5996"
+ "CENTRALUS:20160427T232711Z:22e594bd-702c-443b-b6b4-8f9d74307a33"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -913,7 +919,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:14 GMT"
+ "Wed, 27 Apr 2016 23:27:11 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -922,8 +928,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060002/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDIvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060002/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDIvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -946,16 +952,16 @@
"no-cache"
],
"x-ms-request-id": [
- "ec28932d-147c-4b1e-9584-110608533cc3"
+ "3155498d-1e2c-4d4e-85b9-ab4b77be0a64"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1188"
+ "1187"
],
"x-ms-correlation-request-id": [
- "2a9c1ef7-59e0-4b4c-974d-fcd6e43864b9"
+ "3580e763-aa1b-4379-8c6c-45a12e7e164f"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194224Z:2a9c1ef7-59e0-4b4c-974d-fcd6e43864b9"
+ "CENTRALUS:20160427T232722Z:3580e763-aa1b-4379-8c6c-45a12e7e164f"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -964,7 +970,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:24 GMT"
+ "Wed, 27 Apr 2016 23:27:22 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -973,8 +979,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -982,7 +988,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"264"
@@ -997,16 +1003,16 @@
"no-cache"
],
"x-ms-request-id": [
- "fabcad27-12cf-474a-b375-93805db43453"
+ "d183576b-e02d-44a8-a928-d72f2ce7045b"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14955"
+ "14977"
],
"x-ms-correlation-request-id": [
- "2e0a3a37-d5b1-450d-98a0-8c4eb7d32d5c"
+ "0f9bac36-b9bc-45c8-9470-881791f65c23"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194215Z:2e0a3a37-d5b1-450d-98a0-8c4eb7d32d5c"
+ "CENTRALUS:20160427T232712Z:0f9bac36-b9bc-45c8-9470-881791f65c23"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1015,7 +1021,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:14 GMT"
+ "Wed, 27 Apr 2016 23:27:11 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1024,8 +1030,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1033,7 +1039,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"264"
@@ -1048,16 +1054,16 @@
"no-cache"
],
"x-ms-request-id": [
- "d1ca4669-8e5a-4c80-979a-8a2f1ffa676d"
+ "9225526e-08d2-45eb-b70d-2f63ebab8e12"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14951"
+ "14974"
],
"x-ms-correlation-request-id": [
- "bfef1a14-0824-416f-9376-428a4efbaa64"
+ "d6255e9b-9f72-425f-be90-c859828d4454"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194218Z:bfef1a14-0824-416f-9376-428a4efbaa64"
+ "CENTRALUS:20160427T232715Z:d6255e9b-9f72-425f-be90-c859828d4454"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1066,7 +1072,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:17 GMT"
+ "Wed, 27 Apr 2016 23:27:15 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1075,8 +1081,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1084,7 +1090,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"264"
@@ -1099,16 +1105,16 @@
"no-cache"
],
"x-ms-request-id": [
- "2a989622-0fb6-473b-8556-a4ee1554306a"
+ "27be935d-f96a-4138-8744-9586e00a0630"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14942"
+ "14965"
],
"x-ms-correlation-request-id": [
- "dbbcd855-df81-4212-adc5-e8bc7388c96a"
+ "b066e6fe-e0ed-4757-bb3a-8b0e90f4fcfe"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194225Z:dbbcd855-df81-4212-adc5-e8bc7388c96a"
+ "CENTRALUS:20160427T232723Z:b066e6fe-e0ed-4757-bb3a-8b0e90f4fcfe"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1117,7 +1123,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:25 GMT"
+ "Wed, 27 Apr 2016 23:27:22 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1126,8 +1132,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1135,7 +1141,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"264"
@@ -1150,16 +1156,16 @@
"no-cache"
],
"x-ms-request-id": [
- "3d429e4b-f209-4ad6-aedf-9fd57fe2743c"
+ "fa5c67ad-8446-41a7-a34f-032f33b9c52a"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14939"
+ "14962"
],
"x-ms-correlation-request-id": [
- "46824fdc-ce11-4cc2-a05d-5907dd068803"
+ "e440ecea-de1b-48ad-814f-7adbb7ff1aa0"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194226Z:46824fdc-ce11-4cc2-a05d-5907dd068803"
+ "CENTRALUS:20160427T232724Z:e440ecea-de1b-48ad-814f-7adbb7ff1aa0"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1168,7 +1174,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:26 GMT"
+ "Wed, 27 Apr 2016 23:27:24 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1177,8 +1183,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "PUT",
"RequestBody": "\r\n \r\n \r\n \r\n version\r\n Accept\r\n Accept-Charset\r\n \r\n \r\n \r\n \r\n \r\n \r\n",
"RequestHeaders": {
@@ -1188,6 +1194,9 @@
"Content-Length": [
"531"
],
+ "If-Match": [
+ "*"
+ ],
"User-Agent": [
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
@@ -1204,16 +1213,16 @@
"no-cache"
],
"x-ms-request-id": [
- "329fbd8d-8817-4a63-9ecd-e287126c319b"
+ "6ea3714e-2752-46c1-8aab-df7389ccdf75"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1195"
+ "1194"
],
"x-ms-correlation-request-id": [
- "f6288034-964a-4a18-b92e-c7a953c5164f"
+ "e7a1d9aa-1d63-4b7c-8e65-19799d625159"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194216Z:f6288034-964a-4a18-b92e-c7a953c5164f"
+ "CENTRALUS:20160427T232713Z:e7a1d9aa-1d63-4b7c-8e65-19799d625159"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1222,7 +1231,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:15 GMT"
+ "Wed, 27 Apr 2016 23:27:13 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1231,8 +1240,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "PUT",
"RequestBody": "\r\n \r\n \r\n \r\n version\r\n Accept\r\n Accept-Charset\r\n \r\n \r\n \r\n \r\n \r\n \r\n",
"RequestHeaders": {
@@ -1242,6 +1251,9 @@
"Content-Length": [
"369"
],
+ "If-Match": [
+ "*"
+ ],
"User-Agent": [
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
@@ -1258,16 +1270,16 @@
"no-cache"
],
"x-ms-request-id": [
- "2b6abd46-d371-475f-80d9-5b8bcf9ef6cf"
+ "05983c61-510d-4991-b150-2fd2dd65862b"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1187"
+ "1186"
],
"x-ms-correlation-request-id": [
- "d7ec41a5-c810-4eaf-b846-5dbafd2bd057"
+ "75996063-2a21-401c-a02d-de9e0596e5ba"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194225Z:d7ec41a5-c810-4eaf-b846-5dbafd2bd057"
+ "CENTRALUS:20160427T232723Z:75996063-2a21-401c-a02d-de9e0596e5ba"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1276,7 +1288,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:25 GMT"
+ "Wed, 27 Apr 2016 23:27:23 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1285,8 +1297,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1312,16 +1324,16 @@
"no-cache"
],
"x-ms-request-id": [
- "4250da8f-2391-4e6a-ab85-a143d38562b1"
+ "e7c4a938-0e54-4041-9d55-0d44f750b499"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14954"
+ "14976"
],
"x-ms-correlation-request-id": [
- "5d75b471-1b37-478a-b006-9c8691569a97"
+ "7b4bb749-8834-4bc8-8d3d-0c7507e68ffe"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194217Z:5d75b471-1b37-478a-b006-9c8691569a97"
+ "CENTRALUS:20160427T232714Z:7b4bb749-8834-4bc8-8d3d-0c7507e68ffe"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1330,10 +1342,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:16 GMT"
+ "Wed, 27 Apr 2016 23:27:14 GMT"
],
"ETag": [
- "\"AAAAAAAACEI=\""
+ "\"AAAAAAAACNU=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1342,8 +1354,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1369,16 +1381,16 @@
"no-cache"
],
"x-ms-request-id": [
- "1ad132d0-70ab-4b2e-a06f-602576ed7c83"
+ "b3f7a898-0161-4fc8-971e-298579a389af"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14953"
+ "14975"
],
"x-ms-correlation-request-id": [
- "cf50d280-785e-4a20-a51a-01bd987d1f1c"
+ "26f253df-ff46-4bb7-83c2-b566578a5e7a"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194218Z:cf50d280-785e-4a20-a51a-01bd987d1f1c"
+ "CENTRALUS:20160427T232715Z:26f253df-ff46-4bb7-83c2-b566578a5e7a"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1387,7 +1399,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:17 GMT"
+ "Wed, 27 Apr 2016 23:27:14 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1396,8 +1408,8 @@
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1423,16 +1435,16 @@
"no-cache"
],
"x-ms-request-id": [
- "9d66a92b-8ffe-4b9f-8a4b-889501dc53af"
+ "9f0ca806-a2f0-42f2-aa3b-ea290c581f06"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14941"
+ "14964"
],
"x-ms-correlation-request-id": [
- "714ccfcd-dd51-44f3-82c0-dcdf7c9c6eea"
+ "fe620971-2101-49e7-8680-0b6b4cc04adc"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194225Z:714ccfcd-dd51-44f3-82c0-dcdf7c9c6eea"
+ "CENTRALUS:20160427T232724Z:fe620971-2101-49e7-8680-0b6b4cc04adc"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1441,10 +1453,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:25 GMT"
+ "Wed, 27 Apr 2016 23:27:23 GMT"
],
"ETag": [
- "\"AAAAAAAACEs=\""
+ "\"AAAAAAAACN8=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1453,8 +1465,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1480,16 +1492,16 @@
"no-cache"
],
"x-ms-request-id": [
- "b4eee868-d71f-4500-8856-6fbf486ac36a"
+ "0fb33f36-efbc-4647-a25e-0dc6284a4f38"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14940"
+ "14963"
],
"x-ms-correlation-request-id": [
- "7cb03116-f565-4231-91fc-b28a939384c8"
+ "9d324f09-5013-4399-83d0-f43c55a8dbfe"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194226Z:7cb03116-f565-4231-91fc-b28a939384c8"
+ "CENTRALUS:20160427T232724Z:9d324f09-5013-4399-83d0-f43c55a8dbfe"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1498,7 +1510,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:26 GMT"
+ "Wed, 27 Apr 2016 23:27:24 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1507,8 +1519,8 @@
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -1531,16 +1543,16 @@
"no-cache"
],
"x-ms-request-id": [
- "391a20ed-dc18-4b2b-9ea4-51630fc44e5a"
+ "2862d182-d6b4-4c08-b047-3e60d008d0ea"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1194"
+ "1193"
],
"x-ms-correlation-request-id": [
- "19847c5b-d592-4a7c-a13b-14fe522a6d2e"
+ "45a67b6d-4297-4bee-9327-eceb138e0522"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194218Z:19847c5b-d592-4a7c-a13b-14fe522a6d2e"
+ "CENTRALUS:20160427T232714Z:45a67b6d-4297-4bee-9327-eceb138e0522"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1549,7 +1561,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:17 GMT"
+ "Wed, 27 Apr 2016 23:27:14 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1558,8 +1570,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -1582,16 +1594,16 @@
"no-cache"
],
"x-ms-request-id": [
- "59b2f2c3-8903-4a46-9565-e00ea796eab0"
+ "58c8ac39-8c4e-404a-9f08-ef60ca9f937b"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1186"
+ "1185"
],
"x-ms-correlation-request-id": [
- "1fa18e1e-5319-4dbf-9991-dfc864e1b339"
+ "f089fa26-6ea6-4c3f-8eaf-870da2f8c1c9"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194226Z:1fa18e1e-5319-4dbf-9991-dfc864e1b339"
+ "CENTRALUS:20160427T232724Z:f089fa26-6ea6-4c3f-8eaf-870da2f8c1c9"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1600,7 +1612,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:26 GMT"
+ "Wed, 27 Apr 2016 23:27:23 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1609,8 +1621,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1618,7 +1630,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080004\",\r\n \"name\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\"\r\n },\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080003\",\r\n \"name\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\"\r\n },\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080005\",\r\n \"name\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\"\r\n },\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080006\",\r\n \"name\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\"\r\n },\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080001\",\r\n \"name\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\"\r\n },\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080002\",\r\n \"name\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\"\r\n }\r\n ],\r\n \"count\": 6,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080004\",\r\n \"name\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\"\r\n },\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82900710f0345080003\",\r\n \"name\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\"\r\n },\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080005\",\r\n \"name\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\"\r\n },\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080006\",\r\n \"name\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\"\r\n },\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82900710f0345080001\",\r\n \"name\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\"\r\n },\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82900710f0345080002\",\r\n \"name\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\"\r\n }\r\n ],\r\n \"count\": 6,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"2340"
@@ -1633,16 +1645,16 @@
"no-cache"
],
"x-ms-request-id": [
- "930f10a9-0cd3-4a67-86f9-a926f4a39ece"
+ "00c46883-a7b5-4568-9705-cd59c8a4e129"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14950"
+ "14973"
],
"x-ms-correlation-request-id": [
- "d5980e74-1719-48d4-b883-a06a92ee008d"
+ "de1d4ee6-2a3d-4809-baa7-c387b1d1eb60"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194218Z:d5980e74-1719-48d4-b883-a06a92ee008d"
+ "CENTRALUS:20160427T232715Z:de1d4ee6-2a3d-4809-baa7-c387b1d1eb60"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1651,7 +1663,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:17 GMT"
+ "Wed, 27 Apr 2016 23:27:15 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1660,8 +1672,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1669,7 +1681,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080004\",\r\n \"name\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\"\r\n },\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080003\",\r\n \"name\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\"\r\n },\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080005\",\r\n \"name\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\"\r\n },\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080006\",\r\n \"name\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\"\r\n },\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080001\",\r\n \"name\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\"\r\n },\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080002\",\r\n \"name\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\"\r\n }\r\n ],\r\n \"count\": 6,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080004\",\r\n \"name\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\"\r\n },\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82900710f0345080003\",\r\n \"name\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\"\r\n },\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080005\",\r\n \"name\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\"\r\n },\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080006\",\r\n \"name\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\"\r\n },\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82900710f0345080001\",\r\n \"name\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\"\r\n },\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001/operations/571ea82900710f0345080002\",\r\n \"name\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\"\r\n }\r\n ],\r\n \"count\": 6,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"2340"
@@ -1684,16 +1696,16 @@
"no-cache"
],
"x-ms-request-id": [
- "91ebc2b9-17d7-4815-860f-6610d34118a9"
+ "faf4d82b-17da-4fa6-9c2d-c4ae2164f2c6"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14938"
+ "14961"
],
"x-ms-correlation-request-id": [
- "342503f0-4e3f-46d5-97c0-94903227c637"
+ "f019fb86-40e1-4b8d-b90b-5a60f93bf829"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194226Z:342503f0-4e3f-46d5-97c0-94903227c637"
+ "CENTRALUS:20160427T232725Z:f019fb86-40e1-4b8d-b90b-5a60f93bf829"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1702,7 +1714,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:26 GMT"
+ "Wed, 27 Apr 2016 23:27:24 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1711,8 +1723,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080004/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zLzU2MmE4ODI1MTJiZmJkMDQyNDA4MDAwNC9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080004/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zLzU3MWVhODJhMDA3MTBmMDM0NTA4MDAwNC9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "PUT",
"RequestBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n",
"RequestHeaders": {
@@ -1741,16 +1753,16 @@
"no-cache"
],
"x-ms-request-id": [
- "0d40d976-a40b-4742-8f55-686f5523d0b4"
+ "3ab7d8ba-c798-4c04-b060-f17dd81a3d52"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1193"
+ "1192"
],
"x-ms-correlation-request-id": [
- "3450e676-5886-4ce4-aad8-1e67c9d2b8fd"
+ "0712b76b-6e85-4ec9-807b-e24052941dec"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194220Z:3450e676-5886-4ce4-aad8-1e67c9d2b8fd"
+ "CENTRALUS:20160427T232717Z:0712b76b-6e85-4ec9-807b-e24052941dec"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1759,17 +1771,17 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:19 GMT"
+ "Wed, 27 Apr 2016 23:27:17 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
]
},
- "StatusCode": 204
+ "StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080004/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zLzU2MmE4ODI1MTJiZmJkMDQyNDA4MDAwNC9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080004/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zLzU3MWVhODJhMDA3MTBmMDM0NTA4MDAwNC9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "PUT",
"RequestBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n",
"RequestHeaders": {
@@ -1798,16 +1810,16 @@
"no-cache"
],
"x-ms-request-id": [
- "e8ae8485-69d3-4880-b7c1-a4ace76814ad"
+ "e124512a-1019-45ea-9a1f-8b7d4b287e62"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1185"
+ "1184"
],
"x-ms-correlation-request-id": [
- "88570c9d-81dd-416e-9cb4-3826f36ff6b8"
+ "5b11b2fe-85bd-403c-ba59-21bb028d744c"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194227Z:88570c9d-81dd-416e-9cb4-3826f36ff6b8"
+ "CENTRALUS:20160427T232725Z:5b11b2fe-85bd-403c-ba59-21bb028d744c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1816,7 +1828,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:27 GMT"
+ "Wed, 27 Apr 2016 23:27:25 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1825,8 +1837,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080004/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zLzU2MmE4ODI1MTJiZmJkMDQyNDA4MDAwNC9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080004/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zLzU3MWVhODJhMDA3MTBmMDM0NTA4MDAwNC9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1852,16 +1864,16 @@
"no-cache"
],
"x-ms-request-id": [
- "bd54f5c3-b9fa-4c2b-8d43-27de65d34ab7"
+ "8100e08c-c887-4c25-a056-623c76d6e5c2"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14949"
+ "14972"
],
"x-ms-correlation-request-id": [
- "a70a25a4-a18a-498e-a8ed-6259ea75cedc"
+ "8c146d4e-9b17-4aa3-831f-940211db6109"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194221Z:a70a25a4-a18a-498e-a8ed-6259ea75cedc"
+ "CENTRALUS:20160427T232719Z:8c146d4e-9b17-4aa3-831f-940211db6109"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1870,10 +1882,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:21 GMT"
+ "Wed, 27 Apr 2016 23:27:18 GMT"
],
"ETag": [
- "\"AAAAAAAACEU=\""
+ "\"AAAAAAAACNg=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1882,8 +1894,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080004/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zLzU2MmE4ODI1MTJiZmJkMDQyNDA4MDAwNC9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080004/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zLzU3MWVhODJhMDA3MTBmMDM0NTA4MDAwNC9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1909,16 +1921,16 @@
"no-cache"
],
"x-ms-request-id": [
- "041ba62e-f5cc-4409-9146-15c43a3441da"
+ "8923f99c-70c1-43b5-88df-72098b78c30d"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14948"
+ "14971"
],
"x-ms-correlation-request-id": [
- "e66ebe7c-7c21-489b-80ff-104a07896b92"
+ "93f1ce0c-ac1c-4c99-80cc-3e40805b4c9e"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194222Z:e66ebe7c-7c21-489b-80ff-104a07896b92"
+ "CENTRALUS:20160427T232719Z:93f1ce0c-ac1c-4c99-80cc-3e40805b4c9e"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1927,7 +1939,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:22 GMT"
+ "Wed, 27 Apr 2016 23:27:19 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1936,8 +1948,8 @@
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080004/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zLzU2MmE4ODI1MTJiZmJkMDQyNDA4MDAwNC9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080004/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zLzU3MWVhODJhMDA3MTBmMDM0NTA4MDAwNC9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1963,16 +1975,16 @@
"no-cache"
],
"x-ms-request-id": [
- "0896d6ee-b63b-4db9-9076-f9f36facb961"
+ "f63f9379-2204-40ed-a35e-b3576b866d56"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14937"
+ "14960"
],
"x-ms-correlation-request-id": [
- "495ae816-5841-4a5e-8565-0e6deb7459b0"
+ "c1a0d032-6d94-4334-8704-1112ce5e2cbf"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194227Z:495ae816-5841-4a5e-8565-0e6deb7459b0"
+ "CENTRALUS:20160427T232725Z:c1a0d032-6d94-4334-8704-1112ce5e2cbf"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1981,10 +1993,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:27 GMT"
+ "Wed, 27 Apr 2016 23:27:25 GMT"
],
"ETag": [
- "\"AAAAAAAACE4=\""
+ "\"AAAAAAAACOI=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1993,8 +2005,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080004/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zLzU2MmE4ODI1MTJiZmJkMDQyNDA4MDAwNC9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080004/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zLzU3MWVhODJhMDA3MTBmMDM0NTA4MDAwNC9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -2020,16 +2032,16 @@
"no-cache"
],
"x-ms-request-id": [
- "72bd9b52-78e0-46d0-94a5-ee6c5904376a"
+ "a8e4a05f-586d-426e-acf6-92c90329ba01"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14936"
+ "14959"
],
"x-ms-correlation-request-id": [
- "a40a828a-7115-4e71-9a7b-efee2e69bc8f"
+ "bc7b26b0-f737-409d-a1cf-06f4910fe1e1"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194228Z:a40a828a-7115-4e71-9a7b-efee2e69bc8f"
+ "CENTRALUS:20160427T232726Z:bc7b26b0-f737-409d-a1cf-06f4910fe1e1"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -2038,7 +2050,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:28 GMT"
+ "Wed, 27 Apr 2016 23:27:25 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -2047,8 +2059,8 @@
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080004/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zLzU2MmE4ODI1MTJiZmJkMDQyNDA4MDAwNC9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080004/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zLzU3MWVhODJhMDA3MTBmMDM0NTA4MDAwNC9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -2071,16 +2083,16 @@
"no-cache"
],
"x-ms-request-id": [
- "ea2db270-ea38-4b3e-b047-98627510a212"
+ "ad718c79-f0a7-46e1-915d-8ce549c7cd33"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1192"
+ "1191"
],
"x-ms-correlation-request-id": [
- "9ee3539f-1ff1-446f-9ecb-19cdd08a629c"
+ "eaabc7ac-fbfe-42e9-9f0f-9ec46aa030ec"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194221Z:9ee3539f-1ff1-446f-9ecb-19cdd08a629c"
+ "CENTRALUS:20160427T232719Z:eaabc7ac-fbfe-42e9-9f0f-9ec46aa030ec"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -2089,7 +2101,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:21 GMT"
+ "Wed, 27 Apr 2016 23:27:19 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -2098,8 +2110,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis/562a882512bfbd0424040001/operations/562a882512bfbd0424080004/policy?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzLzU2MmE4ODI1MTJiZmJkMDQyNDA0MDAwMS9vcGVyYXRpb25zLzU2MmE4ODI1MTJiZmJkMDQyNDA4MDAwNC9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis/571ea82900710f0345040001/operations/571ea82a00710f0345080004/policy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzLzU3MWVhODI5MDA3MTBmMDM0NTA0MDAwMS9vcGVyYXRpb25zLzU3MWVhODJhMDA3MTBmMDM0NTA4MDAwNC9wb2xpY3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -2122,16 +2134,16 @@
"no-cache"
],
"x-ms-request-id": [
- "3ddc5874-9f77-44d1-afa6-086cdd481d2f"
+ "3f443fc3-143d-4866-9a19-e6ce28526998"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1184"
+ "1183"
],
"x-ms-correlation-request-id": [
- "65118076-fd41-443e-be34-ea7ef7192c0b"
+ "3bc1c504-7a66-4bf4-8c5c-fdc0d62fd072"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194228Z:65118076-fd41-443e-be34-ea7ef7192c0b"
+ "CENTRALUS:20160427T232726Z:3bc1c504-7a66-4bf4-8c5c-fdc0d62fd072"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -2140,7 +2152,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:42:27 GMT"
+ "Wed, 27 Apr 2016 23:27:25 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ProductCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ProductCrudTest.json
index 4fd9b6db8064..1aab83a3aa0c 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ProductCrudTest.json
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ProductCrudTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -10,10 +10,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/products/562a882512bfbd0424060001\",\r\n \"name\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n },\r\n {\r\n \"id\": \"/products/562a882512bfbd0424060002\",\r\n \"name\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/products/571ea82900710f0345060001\",\r\n \"name\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 100,\r\n \"state\": \"published\"\r\n },\r\n {\r\n \"id\": \"/products/571ea82900710f0345060002\",\r\n \"name\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "583"
+ "585"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -25,16 +25,16 @@
"no-cache"
],
"x-ms-request-id": [
- "31e51df4-db41-48d9-ad17-9dd8ce1cbf16"
+ "755fc745-193d-4b1a-a90e-eabe9fd26727"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14985"
+ "14999"
],
"x-ms-correlation-request-id": [
- "d33b0108-28a6-40da-9166-af97744391d5"
+ "9d038e3d-e245-4588-bb41-118331cc7515"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T193959Z:d33b0108-28a6-40da-9166-af97744391d5"
+ "WESTUS:20160427T231707Z:9d038e3d-e245-4588-bb41-118331cc7515"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -43,7 +43,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:39:59 GMT"
+ "Wed, 27 Apr 2016 23:17:06 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -52,10 +52,10 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/onesdk2472?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy9vbmVzZGsyNDcyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/onesdk1121?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy9vbmVzZGsxMTIxP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"name\": \"onesdk3433\",\r\n \"description\": \"onesdk3916\",\r\n \"terms\": \"onesdk6499\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 10,\r\n \"state\": \"Published\"\r\n}",
+ "RequestBody": "{\r\n \"name\": \"onesdk8972\",\r\n \"description\": \"onesdk9525\",\r\n \"terms\": \"onesdk7198\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 10,\r\n \"state\": \"Published\"\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json"
@@ -79,16 +79,16 @@
"no-cache"
],
"x-ms-request-id": [
- "913b7972-6e35-4ba9-ac3f-578f78b539af"
+ "2fe078c8-d03f-4ca1-9393-a9789cdacf13"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1199"
],
"x-ms-correlation-request-id": [
- "1386a6f9-2292-4991-9aa6-43787f1c62cb"
+ "58c13d04-f0b2-4f36-9517-0c71838bf648"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194001Z:1386a6f9-2292-4991-9aa6-43787f1c62cb"
+ "WESTUS:20160427T231709Z:58c13d04-f0b2-4f36-9517-0c71838bf648"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -97,7 +97,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:00 GMT"
+ "Wed, 27 Apr 2016 23:17:08 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -106,8 +106,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/onesdk2472?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy9vbmVzZGsyNDcyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/onesdk1121?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy9vbmVzZGsxMTIxP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -115,7 +115,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/products/onesdk2472\",\r\n \"name\": \"onesdk3433\",\r\n \"description\": \"onesdk3916\",\r\n \"terms\": \"onesdk6499\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 10,\r\n \"state\": \"notPublished\"\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/products/onesdk1121\",\r\n \"name\": \"onesdk8972\",\r\n \"description\": \"onesdk9525\",\r\n \"terms\": \"onesdk7198\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 10,\r\n \"state\": \"notPublished\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
"196"
@@ -130,16 +130,16 @@
"no-cache"
],
"x-ms-request-id": [
- "ab6c742e-9eef-494c-9aa0-7c16074e96f6"
+ "b5640410-1a32-4e0b-8bab-216ed406890a"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14989"
+ "14998"
],
"x-ms-correlation-request-id": [
- "5ef0e1f7-a8ea-46dc-b707-3972c1829510"
+ "81cf39b9-dc9c-4152-b516-be791ded2969"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194001Z:5ef0e1f7-a8ea-46dc-b707-3972c1829510"
+ "WESTUS:20160427T231709Z:81cf39b9-dc9c-4152-b516-be791ded2969"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -148,10 +148,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:01 GMT"
+ "Wed, 27 Apr 2016 23:17:08 GMT"
],
"ETag": [
- "\"AAAAAAAACCk=\""
+ "\"AAAAAAAACK4=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -160,8 +160,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/onesdk2472?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy9vbmVzZGsyNDcyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/onesdk1121?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy9vbmVzZGsxMTIxP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -169,7 +169,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/products/onesdk2472\",\r\n \"name\": \"onesdk9532\",\r\n \"description\": \"onesdk7507\",\r\n \"terms\": \"onesdk9562\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 20,\r\n \"state\": \"published\"\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/products/onesdk1121\",\r\n \"name\": \"onesdk7394\",\r\n \"description\": \"onesdk1755\",\r\n \"terms\": \"onesdk8607\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 20,\r\n \"state\": \"published\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
"194"
@@ -184,16 +184,16 @@
"no-cache"
],
"x-ms-request-id": [
- "f502a8c3-ac5b-481f-8afa-b0e76ff40f15"
+ "0f31b23d-85e4-486f-9680-2551d37593d1"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14985"
+ "14994"
],
"x-ms-correlation-request-id": [
- "d2daab16-09b5-4755-b1a9-f4354bcc31af"
+ "8c1fe883-5d8f-4342-9f10-d2f11b50351e"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194005Z:d2daab16-09b5-4755-b1a9-f4354bcc31af"
+ "WESTUS:20160427T231711Z:8c1fe883-5d8f-4342-9f10-d2f11b50351e"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -202,10 +202,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:04 GMT"
+ "Wed, 27 Apr 2016 23:17:10 GMT"
],
"ETag": [
- "\"AAAAAAAACCs=\""
+ "\"AAAAAAAACLA=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -214,8 +214,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/onesdk2472/apis?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy9vbmVzZGsyNDcyL2FwaXM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/onesdk1121/apis?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy9vbmVzZGsxMTIxL2FwaXM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -238,16 +238,16 @@
"no-cache"
],
"x-ms-request-id": [
- "49b6f5b3-5ea7-48c4-bb89-7d0dc4dcec2e"
+ "6ef18f2b-7991-42ed-af2f-7e85ffcd8a38"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14988"
+ "14997"
],
"x-ms-correlation-request-id": [
- "d74631c4-11d4-4480-8a05-24ada7c9842c"
+ "9529ee78-aa18-4517-b13c-90ea35cc58dd"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194002Z:d74631c4-11d4-4480-8a05-24ada7c9842c"
+ "WESTUS:20160427T231709Z:9529ee78-aa18-4517-b13c-90ea35cc58dd"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -256,7 +256,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:01 GMT"
+ "Wed, 27 Apr 2016 23:17:09 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -265,8 +265,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/onesdk2472/apis?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy9vbmVzZGsyNDcyL2FwaXM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/onesdk1121/apis?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy9vbmVzZGsxMTIxL2FwaXM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -274,7 +274,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"264"
@@ -289,16 +289,16 @@
"no-cache"
],
"x-ms-request-id": [
- "b3246ca1-74a8-416e-9233-0a1f2449d622"
+ "0f889bff-8274-443d-bb6a-29c4fafa5ac3"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14986"
+ "14995"
],
"x-ms-correlation-request-id": [
- "894ed54e-a519-4708-9695-b644e1bb0c0f"
+ "58a7574b-d05e-44ed-8616-cb8323f77926"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194003Z:894ed54e-a519-4708-9695-b644e1bb0c0f"
+ "WESTUS:20160427T231710Z:58a7574b-d05e-44ed-8616-cb8323f77926"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -307,7 +307,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:02 GMT"
+ "Wed, 27 Apr 2016 23:17:10 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -316,8 +316,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/onesdk2472/apis?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy9vbmVzZGsyNDcyL2FwaXM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/onesdk1121/apis?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy9vbmVzZGsxMTIxL2FwaXM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -340,16 +340,16 @@
"no-cache"
],
"x-ms-request-id": [
- "ae8bd972-acd0-48dc-a339-d601f21f41fc"
+ "cfd9017f-8485-42be-8482-4cf45435005d"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14983"
+ "14992"
],
"x-ms-correlation-request-id": [
- "1dbd4f3d-cd3f-4021-8a67-c424aba404d3"
+ "e3c72534-5ffa-4b29-bfb6-3f7d6fc46336"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194005Z:1dbd4f3d-cd3f-4021-8a67-c424aba404d3"
+ "WESTUS:20160427T231712Z:e3c72534-5ffa-4b29-bfb6-3f7d6fc46336"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -358,7 +358,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:05 GMT"
+ "Wed, 27 Apr 2016 23:17:11 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -367,8 +367,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -376,7 +376,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"264"
@@ -391,16 +391,16 @@
"no-cache"
],
"x-ms-request-id": [
- "1d5609c3-7e87-419c-8ac0-8601dc6bf3d4"
+ "6b642195-9495-429f-86cd-5ee39c02beac"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14987"
+ "14996"
],
"x-ms-correlation-request-id": [
- "7487541f-994e-4c72-8309-cfa3b22eb85d"
+ "9e12ffa3-7ded-41e5-bbe5-2e5d7182295d"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194002Z:7487541f-994e-4c72-8309-cfa3b22eb85d"
+ "WESTUS:20160427T231709Z:9e12ffa3-7ded-41e5-bbe5-2e5d7182295d"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -409,7 +409,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:01 GMT"
+ "Wed, 27 Apr 2016 23:17:09 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -418,8 +418,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/apis?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/apis?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -427,7 +427,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/562a882512bfbd0424040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/571ea82900710f0345040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"264"
@@ -442,16 +442,16 @@
"no-cache"
],
"x-ms-request-id": [
- "461aab5a-a16b-4c23-88da-ad6fe37ab93b"
+ "e7faee61-1b24-48e3-bdff-734995c53b34"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14984"
+ "14993"
],
"x-ms-correlation-request-id": [
- "bebb37ff-ce35-4af4-a1e1-cf4750230260"
+ "af872502-4ee0-4c9f-b78d-ae2adda194eb"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194005Z:bebb37ff-ce35-4af4-a1e1-cf4750230260"
+ "WESTUS:20160427T231711Z:af872502-4ee0-4c9f-b78d-ae2adda194eb"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -460,7 +460,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:04 GMT"
+ "Wed, 27 Apr 2016 23:17:10 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -469,8 +469,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/onesdk2472/apis/562a882512bfbd0424040001?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy9vbmVzZGsyNDcyL2FwaXMvNTYyYTg4MjUxMmJmYmQwNDI0MDQwMDAxP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/onesdk1121/apis/571ea82900710f0345040001?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy9vbmVzZGsxMTIxL2FwaXMvNTcxZWE4MjkwMDcxMGYwMzQ1MDQwMDAxP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "PUT",
"RequestBody": "",
"RequestHeaders": {
@@ -490,16 +490,16 @@
"no-cache"
],
"x-ms-request-id": [
- "3e27d2db-76e2-456c-a4d4-dc157324617b"
+ "9c1e1622-31c0-48f8-b623-14b2794ddddd"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1198"
],
"x-ms-correlation-request-id": [
- "decf41c1-1240-4ecf-a698-60cab499df9e"
+ "8d55253b-5357-4dc8-8c69-b3a9281c5040"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194002Z:decf41c1-1240-4ecf-a698-60cab499df9e"
+ "WESTUS:20160427T231710Z:8d55253b-5357-4dc8-8c69-b3a9281c5040"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -508,7 +508,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:02 GMT"
+ "Wed, 27 Apr 2016 23:17:09 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -517,10 +517,10 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/onesdk2472?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy9vbmVzZGsyNDcyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/onesdk1121?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy9vbmVzZGsxMTIxP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "PATCH",
- "RequestBody": "{\r\n \"name\": \"onesdk9532\",\r\n \"description\": \"onesdk7507\",\r\n \"terms\": \"onesdk9562\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 20,\r\n \"state\": \"Published\"\r\n}",
+ "RequestBody": "{\r\n \"name\": \"onesdk7394\",\r\n \"description\": \"onesdk1755\",\r\n \"terms\": \"onesdk8607\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 20,\r\n \"state\": \"Published\"\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json"
@@ -547,16 +547,16 @@
"no-cache"
],
"x-ms-request-id": [
- "1e689542-c362-4ac4-a5c0-ecd1186a4f9c"
+ "58458373-9e28-4e2d-b4dc-234c7ad54653"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1197"
],
"x-ms-correlation-request-id": [
- "11e05286-71b3-43a4-963e-6fe8a71ca3e7"
+ "ad22493b-3766-40d3-a7ac-30144f4c7c58"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194004Z:11e05286-71b3-43a4-963e-6fe8a71ca3e7"
+ "WESTUS:20160427T231710Z:ad22493b-3766-40d3-a7ac-30144f4c7c58"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -565,7 +565,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:04 GMT"
+ "Wed, 27 Apr 2016 23:17:10 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -574,8 +574,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/onesdk2472/apis/562a882512bfbd0424040001?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy9vbmVzZGsyNDcyL2FwaXMvNTYyYTg4MjUxMmJmYmQwNDI0MDQwMDAxP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/onesdk1121/apis/571ea82900710f0345040001?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy9vbmVzZGsxMTIxL2FwaXMvNTcxZWE4MjkwMDcxMGYwMzQ1MDQwMDAxP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -595,16 +595,16 @@
"no-cache"
],
"x-ms-request-id": [
- "97a74452-14e0-4a1a-bd37-f9fb4da4a317"
+ "3f079db7-6cd3-409e-b10b-4a4a3b817866"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1196"
],
"x-ms-correlation-request-id": [
- "de65694d-b04e-43f6-b582-5500188988b1"
+ "33f320d8-ed7a-48ee-9ba0-770bb5079f9b"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194005Z:de65694d-b04e-43f6-b582-5500188988b1"
+ "WESTUS:20160427T231712Z:33f320d8-ed7a-48ee-9ba0-770bb5079f9b"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -613,7 +613,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:04 GMT"
+ "Wed, 27 Apr 2016 23:17:11 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -622,8 +622,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/onesdk2472?api-version=2014-02-14&deleteSubscriptions=true",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy9vbmVzZGsyNDcyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQmZGVsZXRlU3Vic2NyaXB0aW9ucz10cnVl",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/onesdk1121?api-version=2014-02-14&deleteSubscriptions=true",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy9vbmVzZGsxMTIxP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQmZGVsZXRlU3Vic2NyaXB0aW9ucz10cnVl",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -646,16 +646,16 @@
"no-cache"
],
"x-ms-request-id": [
- "e0088f9d-6bb7-41ea-9cdb-893892f8ba82"
+ "a6c22f37-4b59-4602-93d9-7a4a66e44614"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1195"
],
"x-ms-correlation-request-id": [
- "5c6e678c-638d-4e1e-84f6-e1996ccffe56"
+ "be2e1679-c4b1-4d18-b9f9-f995a661199f"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194007Z:5c6e678c-638d-4e1e-84f6-e1996ccffe56"
+ "WESTUS:20160427T231713Z:be2e1679-c4b1-4d18-b9f9-f995a661199f"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -664,7 +664,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:06 GMT"
+ "Wed, 27 Apr 2016 23:17:13 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -675,13 +675,13 @@
],
"Names": {
"": [
- "onesdk2472",
- "onesdk3433",
- "onesdk3916",
- "onesdk6499",
- "onesdk9532",
- "onesdk7507",
- "onesdk9562"
+ "onesdk1121",
+ "onesdk8972",
+ "onesdk9525",
+ "onesdk7198",
+ "onesdk7394",
+ "onesdk1755",
+ "onesdk8607"
]
},
"Variables": {
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/PropertiesCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/PropertiesCrudTest.json
new file mode 100644
index 000000000000..d09fe36a5148
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/PropertiesCrudTest.json
@@ -0,0 +1,917 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties/onesdk2033?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzL29uZXNkazIwMzM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"onesdk3682\",\r\n \"value\": \"onesdk4416\",\r\n \"tags\": [\r\n \"sdk\",\r\n \"powershell\"\r\n ],\r\n \"secret\": false\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "123"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "c5545d7b-89da-44c6-bf21-e42c0259ba5b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "8721f4e8-2e85-4f6e-9835-7f64b9846633"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231855Z:8721f4e8-2e85-4f6e-9835-7f64b9846633"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:18:54 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties/onesdk2033?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzL29uZXNkazIwMzM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/properties/onesdk2033\",\r\n \"name\": \"onesdk3682\",\r\n \"value\": \"onesdk4416\",\r\n \"tags\": [\r\n \"sdk\",\r\n \"powershell\"\r\n ],\r\n \"secret\": false\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "115"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "d8cc7f5e-238a-4d16-aa9d-eaef2877028c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14994"
+ ],
+ "x-ms-correlation-request-id": [
+ "2033fc65-3936-49e3-9d29-995da5d85578"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231855Z:2033fc65-3936-49e3-9d29-995da5d85578"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:18:55 GMT"
+ ],
+ "ETag": [
+ "\"AAAAAAAACLc=\""
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties/onesdk2033?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzL29uZXNkazIwMzM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/properties/onesdk2033\",\r\n \"name\": \"onesdk3682\",\r\n \"value\": \"onesdk4416\",\r\n \"tags\": [\r\n \"sdk\",\r\n \"powershell\"\r\n ],\r\n \"secret\": true\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "114"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "70a50b5c-ca2d-4857-9801-6f1f04d4f17a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14987"
+ ],
+ "x-ms-correlation-request-id": [
+ "8bac706b-57c3-485f-9f50-174eecbe5181"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231859Z:8bac706b-57c3-485f-9f50-174eecbe5181"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:18:58 GMT"
+ ],
+ "ETag": [
+ "\"AAAAAAAACLo=\""
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties/onesdk2033?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzL29uZXNkazIwMzM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Property not found.\",\r\n \"details\": null\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "84"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "72195ab7-5de0-4b0d-8969-57f3434fd338"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14985"
+ ],
+ "x-ms-correlation-request-id": [
+ "95dd1867-8665-416b-8520-d1d2bfc7ee56"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231902Z:95dd1867-8665-416b-8520-d1d2bfc7ee56"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:19:01 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties/onesdk8519?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzL29uZXNkazg1MTk/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"onesdk8480\",\r\n \"value\": \"onesdk8167\",\r\n \"secret\": true\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "73"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "2297bb98-f36a-4c93-8560-dab02660b4e9"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1195"
+ ],
+ "x-ms-correlation-request-id": [
+ "59c2a91c-c52b-41d3-98ba-543b812c2464"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231856Z:59c2a91c-c52b-41d3-98ba-543b812c2464"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:18:55 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties/onesdk8519?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzL29uZXNkazg1MTk/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/properties/onesdk8519\",\r\n \"name\": \"onesdk8480\",\r\n \"value\": \"onesdk8167\",\r\n \"tags\": null,\r\n \"secret\": true\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "98"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "f52c2694-74e1-4c07-8e95-3873af952987"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14993"
+ ],
+ "x-ms-correlation-request-id": [
+ "25e3bf07-2b6b-4afe-b8b7-ef638d305e52"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231856Z:25e3bf07-2b6b-4afe-b8b7-ef638d305e52"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:18:55 GMT"
+ ],
+ "ETag": [
+ "\"AAAAAAAACLg=\""
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties/onesdk8519?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzL29uZXNkazg1MTk/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/properties/onesdk8519\",\r\n \"name\": \"onesdk8480\",\r\n \"value\": \"onesdk8167\",\r\n \"tags\": null,\r\n \"secret\": true\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "98"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "3e0e022e-7036-4db4-a4d0-86b9f40db8ca"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14989"
+ ],
+ "x-ms-correlation-request-id": [
+ "ae26b26c-b36f-4b1d-b4cc-25be619488fe"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231857Z:ae26b26c-b36f-4b1d-b4cc-25be619488fe"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:18:57 GMT"
+ ],
+ "ETag": [
+ "\"AAAAAAAACLg=\""
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties/onesdk8519?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzL29uZXNkazg1MTk/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/properties/onesdk8519\",\r\n \"name\": \"onesdk8480\",\r\n \"value\": \"onesdk8167\",\r\n \"tags\": [\r\n \"sdk\",\r\n \"powershell\"\r\n ],\r\n \"secret\": true\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "114"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "2e0ef043-2760-4936-9ca7-0dc788d0a95a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14988"
+ ],
+ "x-ms-correlation-request-id": [
+ "7d4d0027-04df-4330-ac83-49d55e01ce39"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231858Z:7d4d0027-04df-4330-ac83-49d55e01ce39"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:18:58 GMT"
+ ],
+ "ETag": [
+ "\"AAAAAAAACLk=\""
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties/onesdk8519?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzL29uZXNkazg1MTk/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Property not found.\",\r\n \"details\": null\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "84"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "20fc6444-b7d2-4938-b8f8-e616177c09ba"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14986"
+ ],
+ "x-ms-correlation-request-id": [
+ "24b9f259-18dd-46ad-baa8-e19f62697cbd"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231900Z:24b9f259-18dd-46ad-baa8-e19f62697cbd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:19:00 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/properties/onesdk2033\",\r\n \"name\": \"onesdk3682\",\r\n \"value\": \"onesdk4416\",\r\n \"tags\": [\r\n \"sdk\",\r\n \"powershell\"\r\n ],\r\n \"secret\": false\r\n },\r\n {\r\n \"id\": \"/properties/onesdk8519\",\r\n \"name\": \"onesdk8480\",\r\n \"value\": \"onesdk8167\",\r\n \"tags\": null,\r\n \"secret\": true\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "252"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "47db270d-a5b4-4be9-a7dd-41fed3be8597"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14992"
+ ],
+ "x-ms-correlation-request-id": [
+ "24a4af31-fdd3-46ef-9405-36aa76777b9c"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231856Z:24a4af31-fdd3-46ef-9405-36aa76777b9c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:18:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties?api-version=2014-02-14&$filter=substringof('onesdk'%2Cname)",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQmJGZpbHRlcj1zdWJzdHJpbmdvZiUyOCUyN29uZXNkayUyNyUyQ25hbWUlMjk=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/properties/onesdk2033\",\r\n \"name\": \"onesdk3682\",\r\n \"value\": \"onesdk4416\",\r\n \"tags\": [\r\n \"sdk\",\r\n \"powershell\"\r\n ],\r\n \"secret\": false\r\n },\r\n {\r\n \"id\": \"/properties/onesdk8519\",\r\n \"name\": \"onesdk8480\",\r\n \"value\": \"onesdk8167\",\r\n \"tags\": null,\r\n \"secret\": true\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "252"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "017daf31-065b-46e2-a268-196f2409c7b6"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14991"
+ ],
+ "x-ms-correlation-request-id": [
+ "9a9a3593-8287-4748-bf7c-d27018ba735a"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231857Z:9a9a3593-8287-4748-bf7c-d27018ba735a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:18:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties?api-version=2014-02-14&$filter=tags%2Fany(t:%20t%20eq%20'sdk')",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQmJGZpbHRlcj10YWdzJTJGYW55JTI4dCUzQSUyMHQlMjBlcSUyMCUyN3NkayUyNyUyOQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/properties/onesdk2033\",\r\n \"name\": \"onesdk3682\",\r\n \"value\": \"onesdk4416\",\r\n \"tags\": [\r\n \"sdk\",\r\n \"powershell\"\r\n ],\r\n \"secret\": false\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "153"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "7ef6107f-13a0-4c34-b28c-676bf1e67639"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14990"
+ ],
+ "x-ms-correlation-request-id": [
+ "6601d52e-e640-4478-a1ca-52a6f4d172d6"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231857Z:6601d52e-e640-4478-a1ca-52a6f4d172d6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:18:57 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties/onesdk8519?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzL29uZXNkazg1MTk/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "PATCH",
+ "RequestBody": "{\r\n \"tags\": [\r\n \"sdk\",\r\n \"powershell\"\r\n ]\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "52"
+ ],
+ "If-Match": [
+ "*"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "4eca00eb-45fb-46cc-b527-89dc39bdd864"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1194"
+ ],
+ "x-ms-correlation-request-id": [
+ "8b7401af-34bf-4080-b74b-e401a1ba5940"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231858Z:8b7401af-34bf-4080-b74b-e401a1ba5940"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:18:57 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties/onesdk2033?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzL29uZXNkazIwMzM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "PATCH",
+ "RequestBody": "{\r\n \"secret\": true\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "22"
+ ],
+ "If-Match": [
+ "*"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "1ca3d2ba-6d5f-4e92-adef-7decdf568177"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1193"
+ ],
+ "x-ms-correlation-request-id": [
+ "62d732b1-f010-4bd9-b28e-b8b124440141"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231859Z:62d732b1-f010-4bd9-b28e-b8b124440141"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:18:58 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties/onesdk8519?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzL29uZXNkazg1MTk/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "If-Match": [
+ "*"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "0c9fdb0c-42f6-4e19-9594-d5fae5f860ce"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1192"
+ ],
+ "x-ms-correlation-request-id": [
+ "f53e941c-744c-4e35-9b55-48d09893ed4e"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231900Z:f53e941c-744c-4e35-9b55-48d09893ed4e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:18:59 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties/onesdk8519?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzL29uZXNkazg1MTk/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "If-Match": [
+ "*"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "08c08a04-c944-4556-864b-5e1e0536e992"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1190"
+ ],
+ "x-ms-correlation-request-id": [
+ "cefc395e-b2c6-4ae5-a3a2-7fc3b983ae5a"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231902Z:cefc395e-b2c6-4ae5-a3a2-7fc3b983ae5a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:19:01 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/properties/onesdk2033?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9wZXJ0aWVzL29uZXNkazIwMzM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "If-Match": [
+ "*"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "1bb63d07-d80e-4b9f-96f9-b8951aeb5269"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1191"
+ ],
+ "x-ms-correlation-request-id": [
+ "ef879db2-6bd2-4151-b810-a494ea7ef665"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160427T231901Z:ef879db2-6bd2-4151-b810-a494ea7ef665"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 27 Apr 2016 23:19:00 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ }
+ ],
+ "Names": {
+ "": [
+ "onesdk2033",
+ "onesdk3682",
+ "onesdk4416",
+ "onesdk8519",
+ "onesdk8480",
+ "onesdk8167"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "a200340d-6b82-494d-9dbf-687ba6e33f9e"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/SubscriptionCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/SubscriptionCrudTest.json
index 11cb29ac97e0..8646d9a80cd3 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/SubscriptionCrudTest.json
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/SubscriptionCrudTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/subscriptions?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9zdWJzY3JpcHRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/subscriptions?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9zdWJzY3JpcHRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -10,10 +10,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/562a882512bfbd0424070001\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/562a882512bfbd0424060001\",\r\n \"name\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2015-10-23T19:19:01.77\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"cef25388816a4b99b33485de43413723\",\r\n \"secondaryKey\": \"11b5f75020b94628be215c040e08afe1\",\r\n \"stateComment\": null\r\n },\r\n {\r\n \"id\": \"/subscriptions/562a882512bfbd0424070002\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/562a882512bfbd0424060002\",\r\n \"name\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2015-10-23T19:19:01.837\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"5c7e4f2dd05341b1a9eb159d903f15ba\",\r\n \"secondaryKey\": \"369d60f6c90b4155b3b11921219355c5\",\r\n \"stateComment\": null\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/571ea82900710f0345070001\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/571ea82900710f0345060001\",\r\n \"name\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2016-04-25T23:28:41.903\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"9f4f209f4f954f3e9afff08fce7206b4\",\r\n \"secondaryKey\": \"5aecb9e9c80d43f49ff4b7515fef03e5\",\r\n \"stateComment\": null\r\n },\r\n {\r\n \"id\": \"/subscriptions/571ea82900710f0345070002\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/571ea82900710f0345060002\",\r\n \"name\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2016-04-25T23:28:41.987\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"cb2179a814914ec2abcb10bac0434334\",\r\n \"secondaryKey\": \"a9170d52803245d7ad3839d406cfc749\",\r\n \"stateComment\": null\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "802"
+ "803"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -25,16 +25,16 @@
"no-cache"
],
"x-ms-request-id": [
- "3b861ea6-9faf-4958-8856-0db6d51b80c2"
+ "87119647-539e-480a-9db3-817ab869c1f9"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14993"
+ "14992"
],
"x-ms-correlation-request-id": [
- "c5730e91-5e29-4fda-baee-c073ab2adc7e"
+ "ebfb8d37-c890-44b6-b31b-1a9f797147b8"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194106Z:c5730e91-5e29-4fda-baee-c073ab2adc7e"
+ "WESTUS:20160427T232240Z:ebfb8d37-c890-44b6-b31b-1a9f797147b8"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -43,7 +43,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:06 GMT"
+ "Wed, 27 Apr 2016 23:22:40 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -52,8 +52,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/subscriptions/562a882512bfbd0424070001?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9zdWJzY3JpcHRpb25zLzU2MmE4ODI1MTJiZmJkMDQyNDA3MDAwMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/subscriptions/571ea82900710f0345070001?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9zdWJzY3JpcHRpb25zLzU3MWVhODI5MDA3MTBmMDM0NTA3MDAwMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -61,10 +61,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/562a882512bfbd0424070001\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/562a882512bfbd0424060001\",\r\n \"name\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2015-10-23T19:19:01.77\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"cef25388816a4b99b33485de43413723\",\r\n \"secondaryKey\": \"11b5f75020b94628be215c040e08afe1\",\r\n \"stateComment\": null\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/571ea82900710f0345070001\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/571ea82900710f0345060001\",\r\n \"name\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2016-04-25T23:28:41.903\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"9f4f209f4f954f3e9afff08fce7206b4\",\r\n \"secondaryKey\": \"5aecb9e9c80d43f49ff4b7515fef03e5\",\r\n \"stateComment\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "381"
+ "382"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -76,16 +76,16 @@
"no-cache"
],
"x-ms-request-id": [
- "4a09bbef-d289-45cd-b742-b58a3f5d2966"
+ "ea4db3cc-935b-44b2-86de-592824ece76c"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14992"
+ "14991"
],
"x-ms-correlation-request-id": [
- "0e86b7df-7a91-40bc-8f34-dd97b1cab50f"
+ "92253b67-5089-4c17-acb6-9ec9a4278e47"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194106Z:0e86b7df-7a91-40bc-8f34-dd97b1cab50f"
+ "WESTUS:20160427T232241Z:92253b67-5089-4c17-acb6-9ec9a4278e47"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -94,10 +94,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:06 GMT"
+ "Wed, 27 Apr 2016 23:22:40 GMT"
],
"ETag": [
- "\"AAAAAAAACA4=\""
+ "\"AAAAAAAACA8=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -106,8 +106,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/subscriptions/562a882512bfbd0424070002?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9zdWJzY3JpcHRpb25zLzU2MmE4ODI1MTJiZmJkMDQyNDA3MDAwMj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/subscriptions/571ea82900710f0345070002?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9zdWJzY3JpcHRpb25zLzU3MWVhODI5MDA3MTBmMDM0NTA3MDAwMj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -115,7 +115,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/562a882512bfbd0424070002\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/562a882512bfbd0424060002\",\r\n \"name\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2015-10-23T19:19:01.837\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"5c7e4f2dd05341b1a9eb159d903f15ba\",\r\n \"secondaryKey\": \"369d60f6c90b4155b3b11921219355c5\",\r\n \"stateComment\": null\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/571ea82900710f0345070002\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/571ea82900710f0345060002\",\r\n \"name\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2016-04-25T23:28:41.987\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"cb2179a814914ec2abcb10bac0434334\",\r\n \"secondaryKey\": \"a9170d52803245d7ad3839d406cfc749\",\r\n \"stateComment\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"382"
@@ -130,16 +130,16 @@
"no-cache"
],
"x-ms-request-id": [
- "488dce4d-7e92-4c5b-9269-1b666c6cff95"
+ "1d64d14f-a574-454e-ae2b-605e704be64a"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14991"
+ "14990"
],
"x-ms-correlation-request-id": [
- "bf13c038-122a-4210-90eb-fcabbaf0492e"
+ "71544901-d61b-4489-8587-59a98434713c"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194107Z:bf13c038-122a-4210-90eb-fcabbaf0492e"
+ "WESTUS:20160427T232241Z:71544901-d61b-4489-8587-59a98434713c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -148,10 +148,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:07 GMT"
+ "Wed, 27 Apr 2016 23:22:40 GMT"
],
"ETag": [
- "\"AAAAAAAACBA=\""
+ "\"AAAAAAAACBE=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -160,8 +160,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/products/562a882512bfbd0424060001?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9wcm9kdWN0cy81NjJhODgyNTEyYmZiZDA0MjQwNjAwMDE/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/products/571ea82900710f0345060001?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9wcm9kdWN0cy81NzFlYTgyOTAwNzEwZjAzNDUwNjAwMDE/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "PATCH",
"RequestBody": "{\r\n \"subscriptionsLimit\": 100\r\n}",
"RequestHeaders": {
@@ -190,16 +190,16 @@
"no-cache"
],
"x-ms-request-id": [
- "20522924-c1a9-47a1-8e8a-f82e4c5cce7a"
+ "831b1525-df00-4aac-bf68-0ee2d8d4d175"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1195"
+ "1199"
],
"x-ms-correlation-request-id": [
- "9bcd0025-db51-445f-adb9-b0c1d3393548"
+ "c69a6606-9e20-4262-9976-2ff80e1c7e40"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194107Z:9bcd0025-db51-445f-adb9-b0c1d3393548"
+ "WESTUS:20160427T232241Z:c69a6606-9e20-4262-9976-2ff80e1c7e40"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -208,7 +208,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:07 GMT"
+ "Wed, 27 Apr 2016 23:22:41 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -217,10 +217,10 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/subscriptions/onesdk3152?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9zdWJzY3JpcHRpb25zL29uZXNkazMxNTI/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/subscriptions/onesdk4294?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9zdWJzY3JpcHRpb25zL29uZXNkazQyOTQ/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/562a882512bfbd0424060001\",\r\n \"name\": \"onesdk9441\",\r\n \"primaryKey\": \"onesdk1990\",\r\n \"secondaryKey\": \"onesdk9475\",\r\n \"state\": \"Active\"\r\n}",
+ "RequestBody": "{\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/571ea82900710f0345060001\",\r\n \"name\": \"onesdk2582\",\r\n \"primaryKey\": \"onesdk4401\",\r\n \"secondaryKey\": \"onesdk2955\",\r\n \"state\": \"Active\"\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json"
@@ -244,16 +244,16 @@
"no-cache"
],
"x-ms-request-id": [
- "d98a87f9-e0f2-430a-a0e6-45bb56c73b4b"
+ "e97a2bb6-64d9-4f9a-a4a7-4334ff2766d9"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1194"
+ "1198"
],
"x-ms-correlation-request-id": [
- "b9b3a034-a370-42a3-9b59-e40e22f8c117"
+ "ea43df5b-8b2f-443b-9399-e6786b2d8d25"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194108Z:b9b3a034-a370-42a3-9b59-e40e22f8c117"
+ "WESTUS:20160427T232243Z:ea43df5b-8b2f-443b-9399-e6786b2d8d25"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -262,7 +262,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:08 GMT"
+ "Wed, 27 Apr 2016 23:22:42 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -271,8 +271,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/subscriptions/onesdk3152?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9zdWJzY3JpcHRpb25zL29uZXNkazMxNTI/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/subscriptions/onesdk4294?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9zdWJzY3JpcHRpb25zL29uZXNkazQyOTQ/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -280,7 +280,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/onesdk3152\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/562a882512bfbd0424060001\",\r\n \"name\": \"onesdk9441\",\r\n \"state\": \"active\",\r\n \"createdDate\": \"2015-10-23T19:41:07.653\",\r\n \"startDate\": \"2015-10-23T00:00:00\",\r\n \"expirationDate\": \"2015-11-07T00:00:00\",\r\n \"endDate\": null,\r\n \"notificationDate\": \"2015-10-26T00:00:00\",\r\n \"primaryKey\": \"onesdk1990\",\r\n \"secondaryKey\": \"onesdk9475\",\r\n \"stateComment\": null\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/onesdk4294\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/571ea82900710f0345060001\",\r\n \"name\": \"onesdk2582\",\r\n \"state\": \"active\",\r\n \"createdDate\": \"2016-04-27T23:22:42.043\",\r\n \"startDate\": \"2016-04-27T00:00:00\",\r\n \"expirationDate\": \"2016-05-12T00:00:00\",\r\n \"endDate\": null,\r\n \"notificationDate\": \"2016-04-30T00:00:00\",\r\n \"primaryKey\": \"onesdk4401\",\r\n \"secondaryKey\": \"onesdk2955\",\r\n \"stateComment\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"383"
@@ -295,16 +295,16 @@
"no-cache"
],
"x-ms-request-id": [
- "3c31fc03-860c-4922-a075-e5259fdea6a5"
+ "871d5700-1df3-413e-a2e3-f1f36ac6ab69"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14990"
+ "14989"
],
"x-ms-correlation-request-id": [
- "4f6741b0-3e5f-4c53-aa99-1d9604e95ddd"
+ "c3ec9cd4-928a-4417-bcdd-c167efdc9417"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194108Z:4f6741b0-3e5f-4c53-aa99-1d9604e95ddd"
+ "WESTUS:20160427T232243Z:c3ec9cd4-928a-4417-bcdd-c167efdc9417"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -313,10 +313,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:08 GMT"
+ "Wed, 27 Apr 2016 23:22:42 GMT"
],
"ETag": [
- "\"AAAAAAAACDg=\""
+ "\"AAAAAAAACMM=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -325,8 +325,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/subscriptions/onesdk3152?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9zdWJzY3JpcHRpb25zL29uZXNkazMxNTI/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/subscriptions/onesdk4294?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9zdWJzY3JpcHRpb25zL29uZXNkazQyOTQ/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -334,7 +334,7 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/onesdk3152\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/562a882512bfbd0424060001\",\r\n \"name\": \"onesdk1667\",\r\n \"state\": \"active\",\r\n \"createdDate\": \"2015-10-23T19:41:07.653\",\r\n \"startDate\": \"2015-10-23T00:00:00\",\r\n \"expirationDate\": \"2025-07-20T00:00:00\",\r\n \"endDate\": null,\r\n \"notificationDate\": \"2025-07-08T00:00:00\",\r\n \"primaryKey\": \"onesdk7762\",\r\n \"secondaryKey\": \"onesdk6850\",\r\n \"stateComment\": null\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/onesdk4294\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/571ea82900710f0345060001\",\r\n \"name\": \"onesdk2857\",\r\n \"state\": \"active\",\r\n \"createdDate\": \"2016-04-27T23:22:42.043\",\r\n \"startDate\": \"2016-04-27T00:00:00\",\r\n \"expirationDate\": \"2025-07-20T00:00:00\",\r\n \"endDate\": null,\r\n \"notificationDate\": \"2025-07-08T00:00:00\",\r\n \"primaryKey\": \"onesdk5850\",\r\n \"secondaryKey\": \"onesdk6664\",\r\n \"stateComment\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"383"
@@ -349,16 +349,16 @@
"no-cache"
],
"x-ms-request-id": [
- "164f7a1b-de68-4b2d-816c-13d9d1b1b7a3"
+ "9489847a-1298-46e1-85b0-7258663b44f5"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14989"
+ "14988"
],
"x-ms-correlation-request-id": [
- "6b2fa2c4-d5c7-43df-af2b-fafb06a2f7f3"
+ "560a03f1-9b35-4ef2-92f7-14341bfa8f0d"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194109Z:6b2fa2c4-d5c7-43df-af2b-fafb06a2f7f3"
+ "WESTUS:20160427T232244Z:560a03f1-9b35-4ef2-92f7-14341bfa8f0d"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -367,10 +367,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:09 GMT"
+ "Wed, 27 Apr 2016 23:22:43 GMT"
],
"ETag": [
- "\"AAAAAAAACDo=\""
+ "\"AAAAAAAACMU=\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -379,10 +379,10 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/subscriptions/onesdk3152?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9zdWJzY3JpcHRpb25zL29uZXNkazMxNTI/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/subscriptions/onesdk4294?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9zdWJzY3JpcHRpb25zL29uZXNkazQyOTQ/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "PATCH",
- "RequestBody": "{\r\n \"expirationDate\": \"2025-07-20T00:00:00\",\r\n \"name\": \"onesdk1667\",\r\n \"primaryKey\": \"onesdk7762\",\r\n \"secondaryKey\": \"onesdk6850\"\r\n}",
+ "RequestBody": "{\r\n \"expirationDate\": \"2025-07-20T00:00:00\",\r\n \"name\": \"onesdk2857\",\r\n \"primaryKey\": \"onesdk5850\",\r\n \"secondaryKey\": \"onesdk6664\"\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json"
@@ -409,16 +409,16 @@
"no-cache"
],
"x-ms-request-id": [
- "a46a2706-813c-4bdc-ade8-76ff85340b0b"
+ "4f9c08b7-c63f-458d-9360-bda9e5773f98"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1193"
+ "1197"
],
"x-ms-correlation-request-id": [
- "1f2a96b2-b7d7-4bb9-80dc-81ad026763e2"
+ "35836284-03be-46ec-88aa-3f7a4e7ba339"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194109Z:1f2a96b2-b7d7-4bb9-80dc-81ad026763e2"
+ "WESTUS:20160427T232244Z:35836284-03be-46ec-88aa-3f7a4e7ba339"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -427,7 +427,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:09 GMT"
+ "Wed, 27 Apr 2016 23:22:43 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -436,8 +436,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/subscriptions/onesdk3152?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC9zdWJzY3JpcHRpb25zL29uZXNkazMxNTI/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/subscriptions/onesdk4294?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC9zdWJzY3JpcHRpb25zL29uZXNkazQyOTQ/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -460,16 +460,16 @@
"no-cache"
],
"x-ms-request-id": [
- "c2ac098b-57b0-45f2-a7eb-9df7980a291a"
+ "e10331a0-a5fa-4017-be8a-1a55fda68307"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1192"
+ "1196"
],
"x-ms-correlation-request-id": [
- "481dd441-8d56-4956-9f92-1209aa54165f"
+ "5a776eba-c382-498f-9240-c09d8a2598f1"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194110Z:481dd441-8d56-4956-9f92-1209aa54165f"
+ "WESTUS:20160427T232245Z:5a776eba-c382-498f-9240-c09d8a2598f1"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -478,7 +478,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:41:10 GMT"
+ "Wed, 27 Apr 2016 23:22:44 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -489,13 +489,13 @@
],
"Names": {
"": [
- "onesdk3152",
- "onesdk9441",
- "onesdk1990",
- "onesdk9475",
- "onesdk1667",
- "onesdk7762",
- "onesdk6850"
+ "onesdk4294",
+ "onesdk2582",
+ "onesdk4401",
+ "onesdk2955",
+ "onesdk2857",
+ "onesdk5850",
+ "onesdk6664"
]
},
"Variables": {
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/TenantGitConfigurationCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/TenantGitConfigurationCrudTest.json
new file mode 100644
index 000000000000..b34017845727
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/TenantGitConfigurationCrudTest.json
@@ -0,0 +1,869 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/access/git?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvYWNjZXNzL2dpdD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"571ea82800710f0345030004\",\r\n \"primaryKey\": \"fg5BSufpRwzRiXp0gO9t9cfWpFM+hmzj4UijNIF1WxlCzPV2msF6J+X9jinFi4NrOtz8IFRqDT86zjhehFvXBw==\",\r\n \"secondaryKey\": \"+XquEe872zGyibW33IRvHqEPawiLMiMV/6uV/LMeMwZMEhFnAvLj/Yef5ujx//n9LnC6ICcm1TjnyGEdgDYcnQ==\",\r\n \"enabled\": false\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "259"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "de8f9198-9fcb-4537-b25a-1ae681602c06"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "8fc47ba0-ac58-4925-a4e5-8a9e8f94788d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160426T131102Z:8fc47ba0-ac58-4925-a4e5-8a9e8f94788d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 26 Apr 2016 13:11:01 GMT"
+ ],
+ "ETag": [
+ "\"AAAAAAAACGEAAAAAAAAAAA==\""
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/access/git?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvYWNjZXNzL2dpdD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"571ea82800710f0345030004\",\r\n \"primaryKey\": \"fg5BSufpRwzRiXp0gO9t9cfWpFM+hmzj4UijNIF1WxlCzPV2msF6J+X9jinFi4NrOtz8IFRqDT86zjhehFvXBw==\",\r\n \"secondaryKey\": \"+XquEe872zGyibW33IRvHqEPawiLMiMV/6uV/LMeMwZMEhFnAvLj/Yef5ujx//n9LnC6ICcm1TjnyGEdgDYcnQ==\",\r\n \"enabled\": false\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "259"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "a3c606c8-e429-414b-80a6-182d4ba3f5aa"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14998"
+ ],
+ "x-ms-correlation-request-id": [
+ "9dd3f105-ee0d-4e02-a88f-96b30cdf9789"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160426T131102Z:9dd3f105-ee0d-4e02-a88f-96b30cdf9789"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 26 Apr 2016 13:11:02 GMT"
+ ],
+ "ETag": [
+ "\"AAAAAAAACGEAAAAAAAAAAA==\""
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/access/git?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvYWNjZXNzL2dpdD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"571ea82800710f0345030004\",\r\n \"primaryKey\": \"fg5BSufpRwzRiXp0gO9t9cfWpFM+hmzj4UijNIF1WxlCzPV2msF6J+X9jinFi4NrOtz8IFRqDT86zjhehFvXBw==\",\r\n \"secondaryKey\": \"+XquEe872zGyibW33IRvHqEPawiLMiMV/6uV/LMeMwZMEhFnAvLj/Yef5ujx//n9LnC6ICcm1TjnyGEdgDYcnQ==\",\r\n \"enabled\": true\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "258"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "98091e84-a18d-4b8b-942c-71458d9313f6"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14997"
+ ],
+ "x-ms-correlation-request-id": [
+ "f6a7bd13-9060-4363-910f-1b88ab474b5b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160426T131103Z:f6a7bd13-9060-4363-910f-1b88ab474b5b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 26 Apr 2016 13:11:02 GMT"
+ ],
+ "ETag": [
+ "\"AAAAAAAACGIAAAAAAAAAAA==\""
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/access/git?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvYWNjZXNzL2dpdD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"571ea82800710f0345030004\",\r\n \"primaryKey\": \"fg5BSufpRwzRiXp0gO9t9cfWpFM+hmzj4UijNIF1WxlCzPV2msF6J+X9jinFi4NrOtz8IFRqDT86zjhehFvXBw==\",\r\n \"secondaryKey\": \"+XquEe872zGyibW33IRvHqEPawiLMiMV/6uV/LMeMwZMEhFnAvLj/Yef5ujx//n9LnC6ICcm1TjnyGEdgDYcnQ==\",\r\n \"enabled\": true\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "258"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "76b1507b-5e8c-4c11-9f68-278f7848d9bc"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14990"
+ ],
+ "x-ms-correlation-request-id": [
+ "9bac4692-8c46-4b39-960d-5da784009a2d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160426T131236Z:9bac4692-8c46-4b39-960d-5da784009a2d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 26 Apr 2016 13:12:35 GMT"
+ ],
+ "ETag": [
+ "\"AAAAAAAACGIAAAAAAAAAAA==\""
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/access/git?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvYWNjZXNzL2dpdD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"571ea82800710f0345030004\",\r\n \"primaryKey\": \"fg5BSufpRwzRiXp0gO9t9cfWpFM+hmzj4UijNIF1WxlCzPV2msF6J+X9jinFi4NrOtz8IFRqDT86zjhehFvXBw==\",\r\n \"secondaryKey\": \"+XquEe872zGyibW33IRvHqEPawiLMiMV/6uV/LMeMwZMEhFnAvLj/Yef5ujx//n9LnC6ICcm1TjnyGEdgDYcnQ==\",\r\n \"enabled\": false\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "259"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "2d8b7d9e-7251-46a3-954c-1db1cc562497"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14989"
+ ],
+ "x-ms-correlation-request-id": [
+ "d9bc09d0-6ad4-47c2-9053-c3323951acc7"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160426T131237Z:d9bc09d0-6ad4-47c2-9053-c3323951acc7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 26 Apr 2016 13:12:36 GMT"
+ ],
+ "ETag": [
+ "\"AAAAAAAACGkAAAAAAAAAAA==\""
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/access/git?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvYWNjZXNzL2dpdD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "PATCH",
+ "RequestBody": "{\r\n \"enabled\": true\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "23"
+ ],
+ "If-Match": [
+ "\"AAAAAAAACGEAAAAAAAAAAA==\""
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "5de2af41-6aef-4a3a-9b71-90d92c0ef7eb"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "8308e1f7-41b8-471b-8986-054b2692e8cf"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160426T131103Z:8308e1f7-41b8-471b-8986-054b2692e8cf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 26 Apr 2016 13:11:02 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/access/git?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvYWNjZXNzL2dpdD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "PATCH",
+ "RequestBody": "{\r\n \"enabled\": false\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "24"
+ ],
+ "If-Match": [
+ "\"AAAAAAAACGIAAAAAAAAAAA==\""
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "5f3c712f-7d2e-4730-b739-6c1956c6a301"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1195"
+ ],
+ "x-ms-correlation-request-id": [
+ "9c09e3ec-b4d2-4ae1-8e04-bd3108ece6f5"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160426T131237Z:9c09e3ec-b4d2-4ae1-8e04-bd3108ece6f5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 26 Apr 2016 13:12:36 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/configuration/syncState?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvY29uZmlndXJhdGlvbi9zeW5jU3RhdGU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"branch\": \"master\",\r\n \"commitId\": \"1cd20a40de37f2e046602c0eabff188bd3d1e7e8\",\r\n \"isExport\": false,\r\n \"isSynced\": true,\r\n \"isGitEnabled\": true,\r\n \"syncDate\": \"2016-04-26T02:12:29.0985652Z\",\r\n \"configurationChangeDate\": \"2016-04-26T02:12:29.0985652Z\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "225"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "470b3acd-e035-4448-b328-69dbd4828c99"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14996"
+ ],
+ "x-ms-correlation-request-id": [
+ "c33e72d0-da38-4809-9789-5bd9b7fee22e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160426T131103Z:c33e72d0-da38-4809-9789-5bd9b7fee22e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 26 Apr 2016 13:11:03 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/configuration/syncState?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvY29uZmlndXJhdGlvbi9zeW5jU3RhdGU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"branch\": \"master\",\r\n \"commitId\": \"1cd20a40de37f2e046602c0eabff188bd3d1e7e8\",\r\n \"isExport\": false,\r\n \"isSynced\": true,\r\n \"isGitEnabled\": true,\r\n \"syncDate\": \"2016-04-26T02:12:29.0985652Z\",\r\n \"configurationChangeDate\": \"2016-04-26T02:12:29.0985652Z\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "225"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "73b04784-13bf-4f8f-b0e9-a5651b1b6ab5"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14994"
+ ],
+ "x-ms-correlation-request-id": [
+ "b683cfe2-adca-4f52-8d36-3a54e9abe4f1"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160426T131134Z:b683cfe2-adca-4f52-8d36-3a54e9abe4f1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 26 Apr 2016 13:11:34 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/configuration/syncState?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvY29uZmlndXJhdGlvbi9zeW5jU3RhdGU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"branch\": \"master\",\r\n \"commitId\": \"1cd20a40de37f2e046602c0eabff188bd3d1e7e8\",\r\n \"isExport\": false,\r\n \"isSynced\": true,\r\n \"isGitEnabled\": true,\r\n \"syncDate\": \"2016-04-26T13:12:18.4195739Z\",\r\n \"configurationChangeDate\": \"2016-04-26T13:12:18.4195739Z\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "225"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "8fa552af-f541-4007-8fae-a78b10bd7654"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14991"
+ ],
+ "x-ms-correlation-request-id": [
+ "585a6742-2400-46c3-b52b-040e09d73453"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160426T131236Z:585a6742-2400-46c3-b52b-040e09d73453"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 26 Apr 2016 13:12:35 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/configuration/save?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvY29uZmlndXJhdGlvbi9zYXZlP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"branch\": \"master\",\r\n \"force\": false\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "45"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "273523f5-cb77-40ae-8577-9a0f5dbd6f25"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "87174b58-18ce-44d1-bbde-0976010f1364"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160426T131104Z:87174b58-18ce-44d1-bbde-0976010f1364"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 26 Apr 2016 13:11:03 GMT"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/operationResults/571f68e7d7d5ed0b240f67b1?api-version=2014-02-14"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/operationResults/571f68e7d7d5ed0b240f67b1?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvb3BlcmF0aW9uUmVzdWx0cy81NzFmNjhlN2Q3ZDVlZDBiMjQwZjY3YjE/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"571f68e7d7d5ed0b240f67b1\",\r\n \"status\": \"Succeeded\",\r\n \"started\": \"2016-04-26T13:11:03.927\",\r\n \"updated\": \"2016-04-26T13:11:13.51\",\r\n \"resultInfo\": \"No changes to save. Latest commit id = 1cd20a40de37f2e046602c0eabff188bd3d1e7e8\",\r\n \"error\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "233"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "0296ba7f-c4fe-447a-a570-054e017e9db9"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14995"
+ ],
+ "x-ms-correlation-request-id": [
+ "8b34cd58-956c-4aae-a2b6-1bfd5016a20b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160426T131134Z:8b34cd58-956c-4aae-a2b6-1bfd5016a20b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 26 Apr 2016 13:11:34 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/configuration/validate?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvY29uZmlndXJhdGlvbi92YWxpZGF0ZT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"branch\": \"master\",\r\n \"force\": false\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "45"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "4df65feb-b8be-48c0-8be3-94ccfb76005d"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-correlation-request-id": [
+ "d9162f59-88e7-46ee-bf5b-2fa4b9c6abc8"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160426T131135Z:d9162f59-88e7-46ee-bf5b-2fa4b9c6abc8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 26 Apr 2016 13:11:34 GMT"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/operationResults/571f6906d7d5ed0b240f67b5?api-version=2014-02-14"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/operationResults/571f6906d7d5ed0b240f67b5?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvb3BlcmF0aW9uUmVzdWx0cy81NzFmNjkwNmQ3ZDVlZDBiMjQwZjY3YjU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"571f6906d7d5ed0b240f67b5\",\r\n \"status\": \"Succeeded\",\r\n \"started\": \"2016-04-26T13:11:34.857\",\r\n \"updated\": \"2016-04-26T13:11:43.287\",\r\n \"resultInfo\": null,\r\n \"error\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "157"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "23744229-f0cd-478e-a6bd-7e88ed24c0a4"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14993"
+ ],
+ "x-ms-correlation-request-id": [
+ "8cc42bef-a901-4bea-8557-4293dd53ece4"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160426T131205Z:8cc42bef-a901-4bea-8557-4293dd53ece4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 26 Apr 2016 13:12:05 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/configuration/deploy?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvY29uZmlndXJhdGlvbi9kZXBsb3k/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"branch\": \"master\",\r\n \"force\": false\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "45"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "750d7f70-b6d8-46aa-879a-85447d3b514c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "cc239462-9490-4683-bad9-e23f0ca972a9"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160426T131205Z:cc239462-9490-4683-bad9-e23f0ca972a9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 26 Apr 2016 13:12:05 GMT"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/operationResults/571f6925d7d5ed0b240f67b9?api-version=2014-02-14"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/tenant/operationResults/571f6925d7d5ed0b240f67b9?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC90ZW5hbnQvb3BlcmF0aW9uUmVzdWx0cy81NzFmNjkyNWQ3ZDVlZDBiMjQwZjY3Yjk/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"571f6925d7d5ed0b240f67b9\",\r\n \"status\": \"Succeeded\",\r\n \"started\": \"2016-04-26T13:12:05.51\",\r\n \"updated\": \"2016-04-26T13:12:17.917\",\r\n \"resultInfo\": \"Latest commit 1cd20a40de37f2e046602c0eabff188bd3d1e7e8 was successfully deployed from master. Previous configuration was saved to the 'ConfigurationBackup' branch.\",\r\n \"error\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "317"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "952d5afb-7f80-481f-ab41-9cdd7b8c2f46"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14992"
+ ],
+ "x-ms-correlation-request-id": [
+ "25d4c65f-8cb7-4c4e-9dc3-48d8d2e4dea2"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160426T131236Z:25d4c65f-8cb7-4c4e-9dc3-48d8d2e4dea2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 26 Apr 2016 13:12:35 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "a200340d-6b82-494d-9dbf-687ba6e33f9e"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/UserCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/UserCrudTest.json
index 8a02c45b970c..cbac1347551c 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/UserCrudTest.json
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/UserCrudTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/users?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC91c2Vycz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/users?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC91c2Vycz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -10,10 +10,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/users/1\",\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"foo@live.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2015-10-23T19:19:00.683\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"foo@live.com\"\r\n }\r\n ],\r\n \"applications\": []\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/users/1\",\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"foo@live.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2016-04-25T23:28:40.91\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"foo@live.com\"\r\n }\r\n ],\r\n \"applications\": []\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "268"
+ "267"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -25,16 +25,16 @@
"no-cache"
],
"x-ms-request-id": [
- "612b5ccb-b5ae-4143-99e6-614a4ce7b3e2"
+ "3a6bbad1-9b5d-4cd4-92da-8edd68c3f9e5"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14998"
+ "14991"
],
"x-ms-correlation-request-id": [
- "f236e2fc-d480-4b8d-b0ef-2741c110095e"
+ "9f0ad3d4-b85e-438d-8605-79afd33469df"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194038Z:f236e2fc-d480-4b8d-b0ef-2741c110095e"
+ "CENTRALUS:20160427T231801Z:9f0ad3d4-b85e-438d-8605-79afd33469df"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -43,7 +43,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:37 GMT"
+ "Wed, 27 Apr 2016 23:18:01 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -52,8 +52,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/users/1?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC91c2Vycy8xP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/users/1?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC91c2Vycy8xP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -61,10 +61,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/users/1\",\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"foo@live.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2015-10-23T19:19:00.683\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"foo@live.com\"\r\n }\r\n ],\r\n \"applications\": []\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/users/1\",\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"foo@live.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2016-04-25T23:28:40.91\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"foo@live.com\"\r\n }\r\n ],\r\n \"applications\": []\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "230"
+ "229"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -76,16 +76,16 @@
"no-cache"
],
"x-ms-request-id": [
- "0f36be30-0af5-40ed-8e79-283558d99e87"
+ "8ec69e98-2242-4f4a-ba6f-16d252f116c8"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14997"
+ "14990"
],
"x-ms-correlation-request-id": [
- "55cf4fee-9a7d-4577-ae84-7bf754fcce9e"
+ "38cf4426-b301-4360-807d-88f9a1530aef"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194043Z:55cf4fee-9a7d-4577-ae84-7bf754fcce9e"
+ "CENTRALUS:20160427T231802Z:38cf4426-b301-4360-807d-88f9a1530aef"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -94,7 +94,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:43 GMT"
+ "Wed, 27 Apr 2016 23:18:01 GMT"
],
"ETag": [
"\"AAAAAAAAB9IAAAAAAAAH1A==\""
@@ -106,16 +106,16 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/users/onesdk7336?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC91c2Vycy9vbmVzZGs3MzM2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/users/onesdk6113?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC91c2Vycy9vbmVzZGs2MTEzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"email\": \"contoso@microsoft.com\",\r\n \"password\": \"onesdk364\",\r\n \"firstName\": \"onesdk1\",\r\n \"lastName\": \"onesdk7858\",\r\n \"state\": \"Active\",\r\n \"note\": \"onesdk9041\"\r\n}",
+ "RequestBody": "{\r\n \"email\": \"contoso@microsoft.com\",\r\n \"password\": \"onesdk2756\",\r\n \"firstName\": \"onesdk6914\",\r\n \"lastName\": \"onesdk4092\",\r\n \"state\": \"Active\",\r\n \"note\": \"onesdk5466\"\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json"
],
"Content-Length": [
- "171"
+ "175"
],
"User-Agent": [
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
@@ -133,16 +133,16 @@
"no-cache"
],
"x-ms-request-id": [
- "c74d7551-fd2f-4249-9b7f-5eff3e68c6a2"
+ "8c9499b4-0b57-4037-8917-dad1f09af0b3"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1199"
],
"x-ms-correlation-request-id": [
- "b9c88423-49b4-432b-8aa8-a722a0fe1822"
+ "d7c22815-6af6-4f82-bc8c-4d3d23995b05"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194046Z:b9c88423-49b4-432b-8aa8-a722a0fe1822"
+ "CENTRALUS:20160427T231803Z:d7c22815-6af6-4f82-bc8c-4d3d23995b05"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -151,7 +151,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:46 GMT"
+ "Wed, 27 Apr 2016 23:18:02 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -160,8 +160,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/users/onesdk7336?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC91c2Vycy9vbmVzZGs3MzM2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/users/onesdk6113?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC91c2Vycy9vbmVzZGs2MTEzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -169,10 +169,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/users/onesdk7336\",\r\n \"firstName\": \"onesdk1\",\r\n \"lastName\": \"onesdk7858\",\r\n \"email\": \"contoso@microsoft.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2015-10-23T19:40:45.873\",\r\n \"note\": \"onesdk9041\",\r\n \"identities\": [\r\n {\r\n \"provider\": \"Basic\",\r\n \"id\": \"contoso@microsoft.com\"\r\n }\r\n ],\r\n \"applications\": []\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/users/onesdk6113\",\r\n \"firstName\": \"onesdk6914\",\r\n \"lastName\": \"onesdk4092\",\r\n \"email\": \"contoso@microsoft.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2016-04-27T23:18:02.453\",\r\n \"note\": \"onesdk5466\",\r\n \"identities\": [\r\n {\r\n \"provider\": \"Basic\",\r\n \"id\": \"contoso@microsoft.com\"\r\n }\r\n ],\r\n \"applications\": []\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "269"
+ "272"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -184,16 +184,16 @@
"no-cache"
],
"x-ms-request-id": [
- "a89b280d-69ef-4a37-81ab-80323420ed39"
+ "8de5646f-af9a-4f09-93b6-3603d95120f8"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14996"
+ "14989"
],
"x-ms-correlation-request-id": [
- "fda95949-6dc5-4d23-9376-956af60710f0"
+ "c050af67-9ece-467c-8757-94c2bfb0ad79"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194046Z:fda95949-6dc5-4d23-9376-956af60710f0"
+ "CENTRALUS:20160427T231803Z:c050af67-9ece-467c-8757-94c2bfb0ad79"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -202,10 +202,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:46 GMT"
+ "Wed, 27 Apr 2016 23:18:03 GMT"
],
"ETag": [
- "\"AAAAAAAACDEAAAAAAAAIMw==\""
+ "\"AAAAAAAACLIAAAAAAAAItA==\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -214,8 +214,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/users/onesdk7336?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC91c2Vycy9vbmVzZGs3MzM2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/users/onesdk6113?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC91c2Vycy9vbmVzZGs2MTEzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -223,10 +223,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/users/onesdk7336\",\r\n \"firstName\": \"onesdk18\",\r\n \"lastName\": \"onesdk3197\",\r\n \"email\": \"changed.contoso@microsoft.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2015-10-23T19:40:45.873\",\r\n \"note\": \"onesdk9125\",\r\n \"identities\": [\r\n {\r\n \"provider\": \"Basic\",\r\n \"id\": \"changed.contoso@microsoft.com\"\r\n }\r\n ],\r\n \"applications\": []\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/users/onesdk6113\",\r\n \"firstName\": \"onesdk3706\",\r\n \"lastName\": \"onesdk987\",\r\n \"email\": \"changed.contoso@microsoft.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2016-04-27T23:18:02.453\",\r\n \"note\": \"onesdk2687\",\r\n \"identities\": [\r\n {\r\n \"provider\": \"Basic\",\r\n \"id\": \"changed.contoso@microsoft.com\"\r\n }\r\n ],\r\n \"applications\": []\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "286"
+ "287"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -238,16 +238,16 @@
"no-cache"
],
"x-ms-request-id": [
- "332eefb5-5d23-4b68-8564-7e23fbb665be"
+ "797cac9b-f8ea-4647-a2db-91b63cd81b08"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14995"
+ "14988"
],
"x-ms-correlation-request-id": [
- "50381721-2f35-47e8-bacf-2ed5d12195ce"
+ "31c8adcb-dcd5-4521-a44b-cd6110997bae"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194049Z:50381721-2f35-47e8-bacf-2ed5d12195ce"
+ "CENTRALUS:20160427T231805Z:31c8adcb-dcd5-4521-a44b-cd6110997bae"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -256,10 +256,10 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:49 GMT"
+ "Wed, 27 Apr 2016 23:18:05 GMT"
],
"ETag": [
- "\"AAAAAAAACDQAAAAAAAAINQ==\""
+ "\"AAAAAAAACLUAAAAAAAAItg==\""
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -268,8 +268,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/users/onesdk7336?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC91c2Vycy9vbmVzZGs3MzM2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/users/onesdk6113?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC91c2Vycy9vbmVzZGs2MTEzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -292,16 +292,16 @@
"no-cache"
],
"x-ms-request-id": [
- "ffd22e7a-1900-4e8d-a45d-dba5d4dc96c6"
+ "7a428f2a-aae9-48e7-a8d0-cdf5c8255000"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14994"
+ "14987"
],
"x-ms-correlation-request-id": [
- "bdb3a107-384c-4810-954b-cec608b89ed0"
+ "71347dd0-f757-4a7e-a61b-49eb22a5953a"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194051Z:bdb3a107-384c-4810-954b-cec608b89ed0"
+ "CENTRALUS:20160427T231807Z:71347dd0-f757-4a7e-a61b-49eb22a5953a"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -310,7 +310,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:50 GMT"
+ "Wed, 27 Apr 2016 23:18:06 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -319,16 +319,16 @@
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/users/onesdk7336?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC91c2Vycy9vbmVzZGs3MzM2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/users/onesdk6113?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC91c2Vycy9vbmVzZGs2MTEzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "PATCH",
- "RequestBody": "{\r\n \"email\": \"changed.contoso@microsoft.com\",\r\n \"password\": \"onesdk1497\",\r\n \"firstName\": \"onesdk18\",\r\n \"lastName\": \"onesdk3197\",\r\n \"state\": \"Active\",\r\n \"note\": \"onesdk9125\"\r\n}",
+ "RequestBody": "{\r\n \"email\": \"changed.contoso@microsoft.com\",\r\n \"password\": \"onesdk6210\",\r\n \"firstName\": \"onesdk3706\",\r\n \"lastName\": \"onesdk987\",\r\n \"state\": \"Active\",\r\n \"note\": \"onesdk2687\"\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json"
],
"Content-Length": [
- "181"
+ "182"
],
"If-Match": [
"*"
@@ -349,16 +349,16 @@
"no-cache"
],
"x-ms-request-id": [
- "19b926c3-f409-4a60-a986-b5016c1cd5af"
+ "4b5b825a-2e57-4a78-9f4d-2a3c79f10af8"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1198"
],
"x-ms-correlation-request-id": [
- "b4989cce-92e2-4417-92ec-d0d640e3090d"
+ "5fde331e-cb60-49a9-8b00-8ce848d2df2b"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194048Z:b4989cce-92e2-4417-92ec-d0d640e3090d"
+ "CENTRALUS:20160427T231805Z:5fde331e-cb60-49a9-8b00-8ce848d2df2b"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -367,7 +367,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:48 GMT"
+ "Wed, 27 Apr 2016 23:18:04 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -376,8 +376,8 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/users/onesdk7336/generateSsoUrl?api-version=2014-02-14",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC91c2Vycy9vbmVzZGs3MzM2L2dlbmVyYXRlU3NvVXJsP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/users/onesdk6113/generateSsoUrl?api-version=2014-02-14",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC91c2Vycy9vbmVzZGs2MTEzL2dlbmVyYXRlU3NvVXJsP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=",
"RequestMethod": "POST",
"RequestBody": "",
"RequestHeaders": {
@@ -385,10 +385,10 @@
"Microsoft.Azure.Management.ApiManagement.ApiManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": \"https://hydraapimservice4174.portal.azure-api.net/signin-sso?token=uid%3donesdk7336%26ex%3d2015-10-23T19%3a45%3a49.2421697Z%26sn%3dred2%2bTYdRFY8wWJuRhhe92EDT4xfTuYsvwjOM7kkfqMln9yV43lp7szSNhh0h%2fGuyCX250do8H6gSdwnxYfKUg%3d%3d\"\r\n}",
+ "ResponseBody": "{\r\n \"value\": \"https://hydraapimservice9914.portal.azure-api.net/signin-sso?token=uid%3donesdk6113%26ex%3d2016-04-27T23%3a23%3a05.7918334Z%26sn%3dDCmqgBrs7lbOG2jzys012nNrS3yc98Xznjw5J1TQGp45IlmQBS9ycXLJtdOEneNLTmVK%2bAi%2b3XKaK%2fZj8%2bXt%2bQ%3d%3d\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "239"
+ "245"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -400,16 +400,16 @@
"no-cache"
],
"x-ms-request-id": [
- "d3745af0-4424-4eb2-bbbf-3d6829658724"
+ "4fadfc17-fd92-4e03-b657-205cf74b932d"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1197"
],
"x-ms-correlation-request-id": [
- "2e8fbeee-e3db-4ed1-9366-2395eae8fce2"
+ "0503250a-3697-4cc9-a7cf-ff2d31b20a2e"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194049Z:2e8fbeee-e3db-4ed1-9366-2395eae8fce2"
+ "CENTRALUS:20160427T231806Z:0503250a-3697-4cc9-a7cf-ff2d31b20a2e"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -418,7 +418,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:49 GMT"
+ "Wed, 27 Apr 2016 23:18:05 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -427,8 +427,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice4174/users/onesdk7336?api-version=2014-02-14&deleteSubscriptions=true",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlNDE3NC91c2Vycy9vbmVzZGs3MzM2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQmZGVsZXRlU3Vic2NyaXB0aW9ucz10cnVl",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default4528/providers/Microsoft.ApiManagement/service/hydraapimservice9914/users/onesdk6113?api-version=2014-02-14&deleteSubscriptions=true",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0NDUyOC9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9oeWRyYWFwaW1zZXJ2aWNlOTkxNC91c2Vycy9vbmVzZGs2MTEzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQmZGVsZXRlU3Vic2NyaXB0aW9ucz10cnVl",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -451,16 +451,16 @@
"no-cache"
],
"x-ms-request-id": [
- "8589e4c9-6281-4af3-9a61-415f8c416724"
+ "10ce1914-20eb-4bd5-8e9f-bf32125dbc0e"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1196"
],
"x-ms-correlation-request-id": [
- "dc633a30-329b-4d6d-88fc-6d0dc84da874"
+ "8a5c50e1-91b9-404a-8130-dff09e45bcba"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T194050Z:dc633a30-329b-4d6d-88fc-6d0dc84da874"
+ "CENTRALUS:20160427T231807Z:8a5c50e1-91b9-404a-8130-dff09e45bcba"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -469,7 +469,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:40:50 GMT"
+ "Wed, 27 Apr 2016 23:18:06 GMT"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -480,15 +480,15 @@
],
"Names": {
"": [
- "onesdk7336",
- "onesdk1",
- "onesdk7858",
- "onesdk364",
- "onesdk9041",
- "onesdk18",
- "onesdk3197",
- "onesdk1497",
- "onesdk9125"
+ "onesdk6113",
+ "onesdk6914",
+ "onesdk4092",
+ "onesdk2756",
+ "onesdk5466",
+ "onesdk3706",
+ "onesdk987",
+ "onesdk6210",
+ "onesdk2687"
]
},
"Variables": {
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.TestsFixture/.ctor.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.TestsFixture/.ctor.json
index e99bc299bc86..ebd0cf9a727f 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.TestsFixture/.ctor.json
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.TestsFixture/.ctor.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/providers/Microsoft.ApiManagement/register?api-version=2014-04-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9yZWdpc3Rlcj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/providers/Microsoft.ApiManagement/register?api-version=2016-02-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9yZWdpc3Rlcj9hcGktdmVyc2lvbj0yMDE2LTAyLTAx",
"RequestMethod": "POST",
"RequestBody": "",
"RequestHeaders": {
@@ -10,10 +10,10 @@
"Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "971"
+ "1184"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -28,13 +28,13 @@
"1199"
],
"x-ms-request-id": [
- "be332402-5853-45e3-a86d-a507736b5181"
+ "f769dbaf-7e71-4f76-a8eb-e7fa948eef70"
],
"x-ms-correlation-request-id": [
- "be332402-5853-45e3-a86d-a507736b5181"
+ "f769dbaf-7e71-4f76-a8eb-e7fa948eef70"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T191304Z:be332402-5853-45e3-a86d-a507736b5181"
+ "CENTRALUS:20160426T132625Z:f769dbaf-7e71-4f76-a8eb-e7fa948eef70"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -43,14 +43,14 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:13:04 GMT"
+ "Tue, 26 Apr 2016 13:26:25 GMT"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/providers/Microsoft.ApiManagement?api-version=2014-04-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/providers/Microsoft.ApiManagement?api-version=2016-02-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudD9hcGktdmVyc2lvbj0yMDE2LTAyLTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -58,10 +58,10 @@
"Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "971"
+ "1184"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -76,13 +76,13 @@
"14999"
],
"x-ms-request-id": [
- "f663ab14-94d7-47a7-992e-0962da8ad3e6"
+ "178aec2b-8dc3-45ed-b81d-fd12fd8e8476"
],
"x-ms-correlation-request-id": [
- "f663ab14-94d7-47a7-992e-0962da8ad3e6"
+ "178aec2b-8dc3-45ed-b81d-fd12fd8e8476"
],
"x-ms-routing-request-id": [
- "WESTUS:20151023T191304Z:f663ab14-94d7-47a7-992e-0962da8ad3e6"
+ "CENTRALUS:20160426T132626Z:178aec2b-8dc3-45ed-b81d-fd12fd8e8476"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -91,7 +91,7 @@
"no-cache"
],
"Date": [
- "Fri, 23 Oct 2015 19:13:04 GMT"
+ "Tue, 26 Apr 2016 13:26:26 GMT"
]
},
"StatusCode": 200
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/packages.config b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/packages.config
index 028386104f2b..9e12b650ad70 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/packages.config
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/packages.config
@@ -4,7 +4,7 @@
-
+
diff --git a/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj b/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj
index 9b38efaea137..2badbad7973a 100644
--- a/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj
+++ b/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj
@@ -232,6 +232,10 @@
Commands.Resources
-
+
+
+ Always
+
+
\ No newline at end of file
diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServicesRdfe.csproj b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServicesRdfe.csproj
index 50906470f57b..b3270a09e05e 100644
--- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServicesRdfe.csproj
+++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServicesRdfe.csproj
@@ -225,7 +225,7 @@
PreserveNewest
-
+
PreserveNewest
diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Microsoft.Azure.Commands.RecoveryServices.dll-help.xml b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Microsoft.Azure.Commands.RecoveryServicesRdfe.dll-help.xml
similarity index 100%
rename from src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Microsoft.Azure.Commands.RecoveryServices.dll-help.xml
rename to src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Microsoft.Azure.Commands.RecoveryServicesRdfe.dll-help.xml
diff --git a/tools/Installer/generate.ps1 b/tools/Installer/generate.ps1
index ed2c7dfbe1ee..3f1fcf47e137 100644
--- a/tools/Installer/generate.ps1
+++ b/tools/Installer/generate.ps1
@@ -41,6 +41,7 @@ Remove-Item -Force $resourceManagerPath\AzureRM.DataLakeStore\AzureRM.Tags.psd1
Remove-Item -Force $resourceManagerPath\AzureRM.DataLakeStore\Microsoft.Azure.Commands.Tags.dll-Help.xml -ErrorAction SilentlyContinue
Remove-Item -Force $resourceManagerPath\AzureRM.DataLakeStore\Microsoft.Azure.Commands.Tags.format.ps1xml -ErrorAction SilentlyContinue
Remove-Item -Force $resourceManagerPath\AzureRM.Intune\AzureRM.Intune.psd1 -ErrorAction SilentlyContinue
+Remove-Item -Force $resourceManagerPath\AzureRM.RecoveryServices.Backup\AzureRM.RecoveryServices.psd1 -ErrorAction SilentlyContinue
Write-Verbose "Removing duplicated Resources folder"
Remove-Item -Recurse -Force $serviceManagementPath\Compute\Resources\ -ErrorAction SilentlyContinue
Remove-Item -Recurse -Force $serviceManagementPath\Sql\Resources\ -ErrorAction SilentlyContinue
@@ -55,7 +56,7 @@ Write-Verbose "Removing XML help files for helper dlls from $output"
$exclude = @("*.dll-Help.xml", "Scaffold.xml", "RoleSettings.xml", "WebRole.xml", "WorkerRole.xml")
$include = @("*.xml", "*.lastcodeanalysissucceeded", "*.dll.config", "*.pdb")
Get-ChildItem -Include $include -Exclude $exclude -Recurse -Path $output | Remove-Item -Force -Recurse
-
+Get-ChildItem -Recurse -Path $output -Include *.dll-Help.psd1 | Remove-Item -Force
if (Get-Command "heat.exe" -ErrorAction SilentlyContinue)
{
$azureFiles = Join-Path $env:AzurePSRoot 'setup\azurecmdfiles.wxi'
diff --git a/tools/StaticAnalysis/Exceptions/HelpIssues.csv b/tools/StaticAnalysis/Exceptions/HelpIssues.csv
index 28c9bc941b80..ad0eee288ce3 100644
--- a/tools/StaticAnalysis/Exceptions/HelpIssues.csv
+++ b/tools/StaticAnalysis/Exceptions/HelpIssues.csv
@@ -110,3 +110,31 @@
"Microsoft.WindowsAzure.Commands.Profile.dll","Microsoft.WindowsAzure.Commands.Profile.dll-Help.xml","Microsoft.WindowsAzure.Commands.Profile.EnableAzureDataCollectionCommand","1","6050","Help missing for cmdlet Enable-AzureDataCollection implemented by class Microsoft.WindowsAzure.Commands.Profile.EnableAzureDataCollectionCommand","Add Help record for cmdlet Enable-AzureDataCollection to help file."
"Microsoft.WindowsAzure.Commands.Profile.dll","Microsoft.WindowsAzure.Commands.Profile.dll-Help.xml","Microsoft.WindowsAzure.Commands.Profile.DisableAzureDataCollectionCommand","1","6050","Help missing for cmdlet Disable-AzureDataCollection implemented by class Microsoft.WindowsAzure.Commands.Profile.DisableAzureDataCollectionCommand","Add Help record for cmdlet Disable-AzureDataCollection to help file."
"Microsoft.WindowsAzure.Commands.SqlDatabase.dll","Microsoft.WindowsAzure.Commands.SqlDatabase.dll-Help.xml","Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet.GetAzureSqlDatabaseUsages","1","6050","Help missing for cmdlet Get-AzureSqlDatabaseUsages implemented by class Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet.GetAzureSqlDatabaseUsages","Add Help record for cmdlet Get-AzureSqlDatabaseUsages to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.GetAzureAppServicePlanMetricsCmdlet","1","6050","Help missing for cmdlet Get-AzureRmAppServicePlanMetrics implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.GetAzureAppServicePlanMetricsCmdlet","Add Help record for cmdlet Get-AzureRmAppServicePlanMetrics to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.BackupRestore.NewAzureRmWebAppDatabaseBackupSetting","1","6050","Help missing for cmdlet New-AzureRmWebAppDatabaseBackupSetting implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.BackupRestore.NewAzureRmWebAppDatabaseBackupSetting","Add Help record for cmdlet New-AzureRmWebAppDatabaseBackupSetting to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.BackupRestore.RestoreAzureWebAppBackup","1","6050","Help missing for cmdlet Restore-AzureRmWebAppBackup implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.BackupRestore.RestoreAzureWebAppBackup","Add Help record for cmdlet Restore-AzureRmWebAppBackup to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.GetAzureWebAppCertificate","1","6050","Help missing for cmdlet Get-AzureRmWebAppCertificate implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.GetAzureWebAppCertificate","Add Help record for cmdlet Get-AzureRmWebAppCertificate to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.GetAzureWebAppSSLBinding","1","6050","Help missing for cmdlet Get-AzureRmWebAppSSLBinding implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.GetAzureWebAppSSLBinding","Add Help record for cmdlet Get-AzureRmWebAppSSLBinding to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.NewAzureWebAppSSLBinding","1","6050","Help missing for cmdlet New-AzureRmWebAppSSLBinding implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.NewAzureWebAppSSLBinding","Add Help record for cmdlet New-AzureRmWebAppSSLBinding to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.RemoveAzureWebAppSSLBinding","1","6050","Help missing for cmdlet Remove-AzureRmWebAppSSLBinding implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.RemoveAzureWebAppSSLBinding","Add Help record for cmdlet Remove-AzureRmWebAppSSLBinding to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.GetAzureWebAppSlotCmdlet","1","6050","Help missing for cmdlet Get-AzureRmWebAppSlot implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.GetAzureWebAppSlotCmdlet","Add Help record for cmdlet Get-AzureRmWebAppSlot to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.GetAzureWebAppSlotMetricsCmdlet","1","6050","Help missing for cmdlet Get-AzureRmWebAppSlotMetrics implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.GetAzureWebAppSlotMetricsCmdlet","Add Help record for cmdlet Get-AzureRmWebAppSlotMetrics to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.GetAzureWebAppSlotPublishingProfileCmdlet","1","6050","Help missing for cmdlet Get-AzureRmWebAppSlotPublishingProfile implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.GetAzureWebAppSlotPublishingProfileCmdlet","Add Help record for cmdlet Get-AzureRmWebAppSlotPublishingProfile to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.NewAzureWebAppSlotCmdlet","1","6050","Help missing for cmdlet New-AzureRmWebAppSlot implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.NewAzureWebAppSlotCmdlet","Add Help record for cmdlet New-AzureRmWebAppSlot to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.RemoveAzureWebAppSlotCmdlet","1","6050","Help missing for cmdlet Remove-AzureRmWebAppSlot implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.RemoveAzureWebAppSlotCmdlet","Add Help record for cmdlet Remove-AzureRmWebAppSlot to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.ResetAzureWebAppPSlotublishingProfileCmdlet","1","6050","Help missing for cmdlet Reset-AzureRmWebAppSlotPublishingProfile implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.ResetAzureWebAppPSlotublishingProfileCmdlet","Add Help record for cmdlet Reset-AzureRmWebAppSlotPublishingProfile to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.RestartAzureWebAppSlotCmdlet","1","6050","Help missing for cmdlet Restart-AzureRmWebAppSlot implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.RestartAzureWebAppSlotCmdlet","Add Help record for cmdlet Restart-AzureRmWebAppSlot to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.SetAzureWebAppSlotCmdlet","1","6050","Help missing for cmdlet Set-AzureRmWebAppSlot implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.SetAzureWebAppSlotCmdlet","Add Help record for cmdlet Set-AzureRmWebAppSlot to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.StartAzureWebAppSlotCmdlet","1","6050","Help missing for cmdlet Start-AzureRmWebAppSlot implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.StartAzureWebAppSlotCmdlet","Add Help record for cmdlet Start-AzureRmWebAppSlot to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.StopAzureWebAppSlotCmdlet","1","6050","Help missing for cmdlet Stop-AzureRmWebAppSlot implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.StopAzureWebAppSlotCmdlet","Add Help record for cmdlet Stop-AzureRmWebAppSlot to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.EditAzureWebAppBackupConfiguration","1","6050","Help missing for cmdlet Edit-AzureRmWebAppBackupConfiguration implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.EditAzureWebAppBackupConfiguration","Add Help record for cmdlet Edit-AzureRmWebAppBackupConfiguration to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.GetAzureWebAppBackupCmdlet","1","6050","Help missing for cmdlet Get-AzureRmWebAppBackup implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.GetAzureWebAppBackupCmdlet","Add Help record for cmdlet Get-AzureRmWebAppBackup to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.GetAzureWebAppBackupConfiguration","1","6050","Help missing for cmdlet Get-AzureRmWebAppBackupConfiguration implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.GetAzureWebAppBackupConfiguration","Add Help record for cmdlet Get-AzureRmWebAppBackupConfiguration to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.GetAzureWebAppBackupList","1","6050","Help missing for cmdlet Get-AzureRmWebAppBackupList implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.GetAzureWebAppBackupList","Add Help record for cmdlet Get-AzureRmWebAppBackupList to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.GetAzureWebAppMetricsCmdlet","1","6050","Help missing for cmdlet Get-AzureRmWebAppMetrics implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.GetAzureWebAppMetricsCmdlet","Add Help record for cmdlet Get-AzureRmWebAppMetrics to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.GetAzureWebAppPublishingProfileCmdlet","1","6050","Help missing for cmdlet Get-AzureRmWebAppPublishingProfile implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.GetAzureWebAppPublishingProfileCmdlet","Add Help record for cmdlet Get-AzureRmWebAppPublishingProfile to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.NewAzureWebAppBackup","1","6050","Help missing for cmdlet New-AzureRmWebAppBackup implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.NewAzureWebAppBackup","Add Help record for cmdlet New-AzureRmWebAppBackup to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.RemoveAzureWebAppBackup","1","6050","Help missing for cmdlet Remove-AzureRmWebAppBackup implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.RemoveAzureWebAppBackup","Add Help record for cmdlet Remove-AzureRmWebAppBackup to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.ResetAzureWebAppPublishingProfileCmdlet","1","6050","Help missing for cmdlet Reset-AzureRmWebAppPublishingProfile implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.ResetAzureWebAppPublishingProfileCmdlet","Add Help record for cmdlet Reset-AzureRmWebAppPublishingProfile to help file."
+"Microsoft.Azure.Commands.Websites.dll","Microsoft.Azure.Commands.Websites.dll-Help.xml","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.SetAzureWebAppCmdlet","1","6050","Help missing for cmdlet Set-AzureRmWebApp implemented by class Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.SetAzureWebAppCmdlet","Add Help record for cmdlet Set-AzureRmWebApp to help file."
+"Microsoft.Azure.Commands.RecoveryServicesRdfe.dll","Microsoft.Azure.Commands.RecoveryServicesRdfe.dll-help.xml","Microsoft.Azure.Commands.RecoveryServices.NewAzureSiteRecoverySite","1","6050","Help missing for cmdlet New-AzureSiteRecoverySite implemented by class Microsoft.Azure.Commands.RecoveryServices.NewAzureSiteRecoverySite","Add Help record for cmdlet New-AzureSiteRecoverySite to help file."
diff --git a/tools/StaticAnalysis/HelpAnalyzer/HelpAnalyzer.cs b/tools/StaticAnalysis/HelpAnalyzer/HelpAnalyzer.cs
index 0faf9eb346c1..b1419ad84192 100644
--- a/tools/StaticAnalysis/HelpAnalyzer/HelpAnalyzer.cs
+++ b/tools/StaticAnalysis/HelpAnalyzer/HelpAnalyzer.cs
@@ -16,6 +16,8 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
+using System.Management.Automation;
+using System.Text.RegularExpressions;
namespace StaticAnalysis.HelpAnalyzer
{
@@ -25,6 +27,7 @@ namespace StaticAnalysis.HelpAnalyzer
public class HelpAnalyzer : IStaticAnalyzer
{
const int MissingHelp = 6050;
+ const int MissingHelpFile = 6000;
public HelpAnalyzer()
{
Name = "Help Analyzer";
@@ -34,6 +37,35 @@ public HelpAnalyzer()
private AppDomain _appDomain;
+ private static bool IsAssemblyFile(string path)
+ {
+ var assemblyRegexes = new[]
+ {
+ new Regex("Microsoft.Azure.Commands.[^.]+.dll$"),
+ new Regex("Microsoft.WindowsAzure.Commands.[^.]+.dll$"),
+ new Regex(".Cmdlets.dll$")
+ };
+
+ var exceptionRegexes = new[]
+ {
+ new Regex("WindowsAzure.Commands.Sync.dll$"),
+ new Regex("WindowsAzure.Commands.Utilities.dll$"),
+ new Regex("Commands.Common")
+ };
+ var fileName = Path.GetFileName(path);
+ var result = false;
+ foreach (var regex in assemblyRegexes)
+ {
+ result = result || regex.IsMatch(fileName);
+ }
+
+ foreach (var regex in exceptionRegexes)
+ {
+ result = result && !regex.IsMatch(fileName);
+ }
+
+ return result;
+ }
///
/// Given a set of directory paths containing PowerShell module folders, analyze the help
/// in the module folders and report any issues
@@ -48,6 +80,23 @@ public void Analyze(IEnumerable scopes)
{
foreach (var directory in Directory.EnumerateDirectories(Path.GetFullPath(baseDirectory)))
{
+ var commandAssemblies = Directory.EnumerateFiles(directory, "*.Commands.*.dll")
+ .Where (f => IsAssemblyFile(f) && !File.Exists(f + "-Help.xml"));
+ foreach (var orphanedAssembly in commandAssemblies)
+ {
+ helpLogger.LogRecord(new HelpIssue()
+ {
+ Assembly = orphanedAssembly,
+ Description = string.Format("{0} has no matching help file", orphanedAssembly),
+ Severity = 0,
+ Remediation = string.Format("Make sure a dll Help file for {0} exists and it is " +
+ "being copied to the output directory.", orphanedAssembly),
+ Target = orphanedAssembly,
+ HelpFile = orphanedAssembly + "-Help.xml",
+ ProblemId = MissingHelpFile
+ });
+ }
+
var helpFiles = Directory.EnumerateFiles(directory, "*.dll-Help.xml")
.Where(f => !processedHelpFiles.Contains(Path.GetFileName(f),
StringComparer.OrdinalIgnoreCase)).ToList();