- Updated description of ResourceId param 'New-AzApiManagementBackend' and 'Set-AzApiManagementBackend' cmdlet [#16868]
- Fixed Path mandatory bug 'Import-AzureApiManagementApi' cmdlet [#17991]
- Upgraded AutoMapper to Microsoft.Azure.PowerShell.AutoMapper 6.2.2 with fix [#18721]
- [Breaking Change] Changed the type of parameter
Sku
from Enum to String inAdd-AzApiManagementRegion
,New-AzApiManagement
andUpdate-AzApiManagementRegion
.
- Supported GraphQL Specification Format
- [Breaking change] Replaced parameter
Sample
byExamples
inNew-AzApiManagementOperation
andSet-AzApiManagementOperation
- Updated APIM .Net SDK version to 8.0.0 / Api Version 2021-08-01
- Added warning message for upcoming breaking change.
- Fixed a bug in
Get-AzApiManagementTenantGitAccess
cmdlet.
-
Added new
Sync-AzApiManagementKeyVaultSecret
cmdlet. -
Added new
New-AzApiManagementKeyVaultObject
cmdlet. -
Added new optional [-useFromLocation] parameter to the
Get-ApiManagementCache
New-ApiManagementCache``Update-ApiManagementCache
cmdlet. -
Updated cmdlet New-AzApiManagement to manage ApiManagement service
- Added support for the new
Isolated
SKU - Added support for managing Availability Zones using
Zone
property - Added support for Disabling Gateway in a Region using
DisableGateway
property - Added support for managing the minimum Api Version to allow for Control Plane using
MinimalControlPlaneApiVersion
property.
- Added support for the new
-
Updated cmdlet New-AzApiManagementRegion to manage ApiManagement service
- Added support for managing Availability Zones using
Zone
property - Added support for Disabling Gateway in a Region using
DisableGateway
property
- Added support for managing Availability Zones using
-
Updated cmdlet Add-AzApiManagementRegion to manage ApiManagement service
- Added support for managing Availability Zones using
Zone
property - Added support for Disabling Gateway in a Region using
DisableGateway
property
- Added support for managing Availability Zones using
-
Updated cmdlet Update-AzApiManagementRegion to manage ApiManagement service
- Added support for managing Availability Zones using
Zone
property - Added support for Disabling Gateway in a Region using
DisableGateway
property
- Added support for managing Availability Zones using
-
Updated cmdlet New-AzApiManagementCustomHostnameConfiguration to manage Custom Hostname Configuration
- Added support for specifying
IdentityClientId
to provide Managed Identity User Assigned ClientId to use with KeyVault
- Added support for specifying
- [Breaking change]
New-AzApiManagementProduct
by default has no subscription limit.
- Added new
Add-AzApiManagementApiToGateway
cmdlet. - Added new
Get-AzApiManagementGateway
cmdlet. - Added new
Get-AzApiManagementGatewayHostnameConfiguration
cmdlet. - Added new
Get-AzApiManagementGatewayKey
cmdlet. - Added new
New-AzApiManagementGateway
cmdlet. - Added new
New-AzApiManagementGatewayHostnameConfiguration
cmdlet. - Added new
New-AzApiManagementResourceLocationObject
cmdlet. - Added new
Remove-AzApiManagementApiFromGateway
cmdlet. - Added new
Remove-AzApiManagementGateway
cmdlet. - Added new
Remove-AzApiManagementGatewayHostnameConfiguration
cmdlet. - Added new
Update-AzApiManagementGateway
cmdlet. - Added new optional [-GatewayId] parameter to the
Get-AzApiManagementApi
cmdlet.
- Updated assembly version of service management cmdlets
New-AzApiManagement
andSet-AzApiManagement
: [-AssignIdentity] parameter renamed as [-SystemAssignedIdentity]New-AzApiManagement
andSet-AzApiManagement
: New parameter added: [-UserAssignedIdentity <String[]>]Get-AzApiManagementProperty
: renamed asGet-AzApiManagementNamedValue
. PropertyId parameter renamed as NamedValueId.New-AzApiManagementProperty
: renamed asNew-AzApiManagementNamedValue
. PropertyId parameter renamed as NamedValueId.Set-AzApiManagementProperty
: renamed asSet-AzApiManagementNamedValue
. PropertyId parameter renamed as NamedValueId.Remove-AzApiManagementProperty
: renamed asRemove-AzApiManagementNamedValue
. PropertyId parameter renamed as NamedValueId.- Added new
Get-AzApiManagementAuthorizationServerClientSecret
cmdlet andGet-AzApiManagementAuthorizationServer
will not return client secret anymore. - Added new
Get-AzApiManagementNamedValueSecretValue
cmdlet andGet-AzApiManagementNamedValue
will not return secret value. - Added new
Get-AzApiManagementOpenIdConnectProviderClientSecret
cmdlet andGet-AzApiManagementOpenIdConnectProvider
will not return client secret anymore. - Added new
Get-AzApiManagementSubscriptionKey
cmdlet andGet-AzApiManagementSubscription
will not return subscription keys anymore. - Added new
Get-AzApiManagementTenantAccessSecret
cmdlet andGet-AzApiManagementTenantAccess
will not return keys anymore. - Added new
Get-AzApiManagementTenantGitAccessSecret
cmdlet andGet-AzApiManagementTenantGitAccess
will not return keys anymore.
- Added breaking change notice for Azure File cmdlets output change in a future release
Set-AzApiManagementGroup
Updated documentation to specify the GroupId parameter
- Added support for retrieving and configuring Custom Domain on the DeveloperPortal Endpoint [#11007]
Export-AzApiManagementApi
Added support for downloading Api Definition in Json format [#9987]Import-AzApiManagementApi
Added support for importing OpenApi 3.0 definition from Json documentNew-AzApiManagementIdentityProvider
andSet-AzApiManagementIdentityProvider
Added support for configuringSignin Tenant
for AAD B2C Provider [#9784]
Get-AzApiManagementApiSchema
Fixed getting Open-Api Schema associated with an API [#10626]New-AzApiManagementProduct
andSet-AzApiManagementProduct
Fixed documentation for [#10472]Set-AzApiManagementApi
Added example to show how to update the ServiceUrl using the cmdlet
- Update references in .psd1 to use relative path
- Set-AzApiManagementApi - Added support for Updating Api into ApiVersionSet
- Fix for issue Azure#10068
- Update
-Format
parameter description inSet-AzApiManagementPolicy
reference documentation - Removed references of deprecated cmdlet
Update-AzApiManagementDeployment
from reference documentation. UseSet-AzApiManagement
instead.
-
Fixed miscellaneous typos across module
-
Fix for issue Azure#9351
- Update .net nuget version, which does not enforce restrictions on productId, apiId, groupId and userId
-
Get-AzApiManagementProduct - Added support for querying products using Api. Azure#9482
-
New-AzApiManagementApiRevision - Fix for issue where ApiRevisionDescription was not being set when creating new api revision Azure#9752
-
Fixed typo in model
PsApiManagementOAuth2AuthrozationServer
toPsApiManagementOAuth2AuthorizationServer
-
Fix for issue Azure#8671
- Get-AzApiManagementSubscription
- Added support for querying subscriptions by User and Product
- Added support for querying using Scope "/", "/apis", "/apis/echo-api"
- Get-AzApiManagementSubscription
-
Fix for issue Azure#9307 and Azure#8432
- Import-AzApiManagementApi
- Added support for specifiying
ApiVersion
andApiVersionSetId
when importing Apis
- Added support for specifiying
- Import-AzApiManagementApi
-
Created new Cmdlets for managing diagnostics at the global and API Scope
- Get-AzApiManagementDiagnostic - Get the diagnostics configured a global or api Scope
- New-AzApiManagementDiagnostic - Create new diagnostics at the global scope or api Scope
- New-AzApiManagementHttpMessageDiagnostic - Create diagnostic setting for which Headers to log and the size of Body Bytes
- New-AzApiManagementPipelineDiagnosticSetting - Create Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.
- New-AzApiManagementSamplingSetting - Create Sampling Setting for the requests/response for a diagnostic
- Remove-AzApiManagementDiagnostic - Remove a diagnostic entity at global or api scope
- Set-AzApiManagementDiagnostic - Update a diagnostic Entity at global or api scope
-
Created new Cmdlets for managing Cache in ApiManagement service
- Get-AzApiManagementCache - Get the details of the Cache specified by identifier or all caches
- New-AzApiManagementCache - Create a new
default
Cache or Cache in a particular azureregion
- Remove-AzApiManagementCache - Remove a cache
- Update-AzApiManagementCache - Update a cache
-
Created new Cmdlets for managing API Schema
- New-AzApiManagementSchema - Create a new Schema for an API
- Get-AzApiManagementSchema - Get the schemas configured in the API
- Remove-AzApiManagementSchema - Remove the schema configured in the API
- Set-AzApiManagementSchema - Update the schema configured in the API
-
Created new Cmdlet for generating a User Token.
- New-AzApiManagementUserToken - Generate a new User Token valid for 8 hours by default.Token for the
GIT
user can be generated using this cmdlet./
- New-AzApiManagementUserToken - Generate a new User Token valid for 8 hours by default.Token for the
-
Created a new cmdlet to retrieving the Network Status
- Get-AzApiManagementNetworkStatus - Get the Network status connectivity of resources on which API Management service depends on. This is useful when deploying ApiManagement service into a Virtual Network and validing whether any of the dependencies are broken.
-
Updated cmdlet New-AzApiManagement to manage ApiManagement service
- Added support for the new
Consumption
SKU - Added support to turn the
EnableClientCertificate
flag on forConsumption
SKU - The new cmdlet New-AzApiManagementSslSetting allows configuring
TLS/SSL
setting on theBackend
andFrontend
. This can also be used to configureCiphers
like3DES
andServerProtocols
likeHttp2
on theFrontend
of an ApiManagement service. - Added support for configuring the
DeveloperPortal
hostname on ApiManagement service.
- Added support for the new
-
Updated cmdlets Get-AzApiManagementSsoToken to take
PsApiManagement
object as input -
Updated the cmdlet to display Error Messages inline
PS D:\github\azure-powershell> Set-AzApiManagementPolicy -Context -PolicyFilePath C:\wrongpolicy.xml -ApiId httpbin
Set-AzApiManagementPolicy :
Error Code: ValidationError
Error Message: One or more fields contain incorrect values:
Error Details: [Code=ValidationError, Message=Error in element 'log-to-eventhub' on line 3, column 10: Logger not found, Target=log-to-eventhub]
-
Updated cmdlet Export-AzApiManagementApi to export APIs in
OpenApi 3.0
format -
Updated cmdlet Import-AzApiManagementApi
- To import Api from
OpenApi 3.0
document specification - To override the
PsApiManagementSchema
property specified in any (Swagger
,Wadl
,Wsdl
,OpenApi
) document. - To override the
ServiceUrl
property specified in any document.
- To import Api from
-
Updated cmdlet Get-AzApiManagementPolicy to return policy in Non-Xml escaped
format
usingrawxml
-
Updated cmdlet Set-AzApiManagementPolicy to accept policy in Non-Xml escaped
format
usingrawxml
and Xml escaped usingxml
-
Updated cmdlet New-AzApiManagementApi
- To configure API with
OpenId
authorization server. - To create an API in an
ApiVersionSet
- To clone an API using
SourceApiId
andSourceApiRevision
. - Ability to configure
SubscriptionRequired
at the Api scope.
- To configure API with
-
Updated cmdlet Set-AzApiManagementApi
- To configure API with
OpenId
authorization server. - To updated an API into an
ApiVersionSet
- Ability to configure
SubscriptionRequired
at the Api scope.
- To configure API with
-
Updated cmdlet New-AzApiManagementRevision
- To clone (copy tags, products, operations and policies) an existing revision using
SourceApiRevision
. The new Revision assumes theApiId
of the parent. - To provide an
ApiRevisionDescription
- To override the
ServiceUrl
when cloning an API.
- To clone (copy tags, products, operations and policies) an existing revision using
-
Updated cmdlet New-AzApiManagementIdentityProvider
- To configure
AAD
orAADB2C
with anAuthority
- To setup
SignupPolicy
,SigninPolicy
,ProfileEditingPolicy
andPasswordResetPolicy
- To configure
-
Updated cmdlet New-AzApiManagementSubscription
- To account for the new SubscriptonModel using
Scope
andUserId
- To account for the old subscription model using
ProductId
andUserId
- Add support to enable
AllowTracing
at the subscription level.
- To account for the new SubscriptonModel using
-
Updated cmdlet Set-AzApiManagementSubscription
- To account for the new SubscriptonModel using
Scope
andUserId
- To account for the old subscription model using
ProductId
andUserId
- Add support to enable
AllowTracing
at the subscription level.
- To account for the new SubscriptonModel using
-
Updated following cmdlets to accept
ResourceId
as input- 'New-AzApiManagementContext'
New-AzApiManagementContext -ResourceId /subscriptions/subid/resourceGroups/rgName/providers/Microsoft.ApiManagement/service/contoso
- 'Get-AzApiManagementApiRelease'
Get-AzApiManagementApiRelease -ResourceId /subscriptions/subid/resourceGroups/rgName/providers/Microsoft.ApiManagement/service/contoso/apis/echo-api/releases/releaseId
- 'Get-AzApiManagementApiVersionSet'
Get-AzApiManagementApiVersionSet -ResourceId /subscriptions/subid/resourceGroups/rgName/providers/Microsoft.ApiManagement/service/constoso/apiversionsets/pathversionset
- 'Get-AzApiManagementAuthorizationServer'
- 'Get-AzApiManagementBackend'
Get-AzApiManagementBackend -ResourceId /subscriptions/subid/resourceGroups/rgName/providers/Microsoft.ApiManagement/service/contoso/backends/servicefabric
Get-AzApiManagementCertificate
Remove-AzApiManagementApiVersionSet
Remove-AzApiManagementSubscription
- 'New-AzApiManagementContext'
- General availability of
Az.ApiManagement
module - Removing cmdlets which have been marked Obsolete in May 2018
- New-AzureRmApiManagementHostnameConfiguration
- Set-AzureRmApiManagementHostnames
- Update-AzureRmApiManagementDeployment
- Import-AzureRmApiManagementHostnameCertificate Please refer to examples of Set-AzureRmApiManagement cmdlet instead.
- Following properties were removed
- Removed property
PortalHostnameConfiguration
,ProxyHostnameConfiguration
,ManagementHostnameConfiguration
andScmHostnameConfiguration
of typePsApiManagementHostnameConfiguration
from PsApiManagementContext. Instead usePortalCustomHostnameConfiguration
,ProxyCustomHostnameConfiguration
,ManagementCustomHostnameConfiguration
andScmCustomHostnameConfiguration
of typePsApiManagementCustomHostNameConfiguration
. - Removed property
StaticIPs
from PsApiManagementContext. The property has been split intoPublicIPAddresses
andPrivateIPAddresses
. - Removed required property
Location
from NewAzureApiManagementVirtualNetwork cmdlet, as it was redundant parameter.
- Removed property
- Fix for issue Azure#7002