- Add
GetEntities
operation. - Add
CheckResourceName
operation. - Enable the new model serialization by using the System.ClientModel, refer this document for more details.
- Bump api-version of
Lock
to2020-05-01
.
- Add the
Default
enum value back toEnforcementMode
.
- Refined some customization code to make the library more maintainable.
- Add a new method
GetCachedClient
inArmClient
class to unify the mocking experience.
- Add a method
GetCachedClient
inArmClient
to enable mocking for extension methods.
- Bump api-version of
Subscription
to2022-12-01
. - Bump api-version of
Tenant
to2022-12-01
.
- Add more model factory entries in class
Azure.ResourceManager.Models.ResourceManagerModelFactory
to support more generated models.
- Fixed the issue that tag operations are not properly working.
- Fixed
ManagedServiceIdentity
deserialization when services return empty string forprincipalId
ortenantId
.
- Bump api-version of
PolicyAssignments
to2022-06-01
. - Bump api-version of
PolicyDefinitions
andPolicySetDefinitions
to2021-06-01
. - Introduced new property
TargetResourceGroupId
onAzure.ResourceManager.Resources.Models.ResourcesMoveContent
to supersedeTargetResourceGroup
to emphasize this is accepting aResourceIdentifier
of the target resource group.
- Added
SetApiVersionsFromProfile
method inArmClientOptions
to support setting resource API versions from an Azure Stack Profile.
- Fixed the exception in
GenericResource
operations caused by case-sensitive comparison of resource types between user input and service results.
- Upgraded dependent
Azure.Core
to1.28.0
. - Upgraded resources API version to
2022-09-01
.- The
GetAll
methods ofResourceProviderCollection
,GetTenantResourceProviders
methods ofArmClient
removed thetop
parameter as it's never supported by service. We added back overloaded methods with thetop
parameter, but made it withexpand
parameter both as required. It is compatible with most previous method usages but still breaks a few cases such as (takeGetAll
as an example):- GetAll(10)
- GetAll(top: 10)
- GetAll(top: null)
- GetAll(10, cancellationToken: token)
- GetAll(top: 10, cancellationToken: token)
- GetAll(top: null, cancellationToken: token)
- The
Update
methods ofTagResource
became LRO and added awaitUntil
parameter in the beginning. The old methods without thewaitUntil
parameter is kept with obsolete warnings to keep backward-compatibility.
- The
- Minor internal changes.
- Polished the README and CHANGELOG files.
- Added CanUseTagResource methods to check if the TagResource API is deployed in the current environment.
- Consolidate
SystemAssignedServiceIdentity
intoManagedServiceIdentity
and makeSystemAssignedServiceIdentity
,SystemAssignedServiceIdentityType
obsolete and EditorBrowsableNever. - Added
ManagedIdentity
property inPolicyAssignmentData
and obsolete itsIdentity
property.
- Changed
OperationStatusResult
serialization constructor from internal to protected.
-
Changed
OperationStatusResult
initialization constructor from internal to public. -
Upgraded dependent
Azure.Core
to 1.25.0
- Add
ExtendedLocation
to common type.
- Add OperationStatusResult to common type.
- Fixed serialization of a resource that inherits from ResourceData/TrackedResourceData by making Tags and SystemData as optional properties.
- Hide EncryptionProperties, EncryptionStatus and KeyVaultProperties in common type.
- Add Update methods in resource classes.
This package is the first stable release of the Azure Resources management core library.
Minor changes since the public beta release:
- All
Tag
methods have been removed fromSubscriptionResource
as the service doesn't support these operations. - Simplify
type
property names. - Normalized the body parameter type names for PUT / POST / PATCH operations if it's only used as input.
- Tweaked some properties to right type.
- New struct
ArmEnvironment
.
- Now all the resource classes would have a
Resource
suffix (if it previously doesn't have one). - Renamed some models to more comprehensive names.
- Moved class
ManagementGroupResource
(previouslyManagementGroup
),ManagementGroupCollection
andManagementGroupData
fromAzure.ResourceManager.Management
namespace toAzure.ResourceManager.ManagementGroups
. - Moved class
ArmResource
andArmCollection
fromAzure.ResourceManager.Core
toAzure.ResourceManager
. - Removed namespace
Azure.ResourceManager.Core
andAzure.ResourceManager.Management
. - Removed class
ErrorDetail
andErrorAdditionalInfo
. - Removed
GetIfExists
methods from all the resource classes. - Changed
Scope
inArmClientOptions
toArmEnvironment
. - The constructor of
ArmClient
no longer accepts aUri
parameter, use theArmEnvironment
inArmClientOptions
instead. - All properties of the type
object
were changed toBinaryData
.
- ManagementGroup: Added GetAvailableLocations methods.
- GenericResourceData: Added a new property ExtendedLocation.
- Support using different api versions for a service.
- waitForCompletion is now a required parameter and moved to the first parameter in LRO operations.
- GenericResourceCollection: Parent changes from Subscription to Tenant.
- GenericResourceCollection: GetAll method replaced by GetGenericResources in Subscription, GetByResourceGroup method replaced by GetGenericResources in ResourceGroup.
- GenericResourceData: Now inherits from TrackedResourceExtended that also has ExtendedLocation and inherits from TrackedResource.
- PredefinedTag: Changed from a resource to a non-resource, that is, removed PredefinedTagCollection, PredefinedTag, renamed PredefinedTagData to PredefinedTag, the methods are moved to its Parent Subscription.
- ResourceLinkCollection: body parameter is unflattened in CreateOrUpdate.
- ManagementLockObject renamed to ManagementLock.
- Removed GenericResourceFilter classes.
- Removed GetAllAsGenericResources in [Resource]Collections.
- Added ArmResource constructor to use ArmClient for ClientContext information and removed previous constructors with parameters.
- Moved ResourceIdentifier and Location into Azure.Core.
- Removed GetGenericResources overload methods that are used to construct GenericResources.
- Removed CheckNameAvailabilityRequest, CheckNameAvailabilityResponse and CheckNameAvailabilityReason in common type.
- Renamed method name from CheckIfExists to Exists.
- Renamed method name from Get[Resource]ByName to Get[Resources]AsGenericResources.
- Added resources and operations for PolicyAssignment, PolicyDefinition, PolicySetDefinition, DataPolicyManifest, PolicyExemption, ManagementLock and ResourceLink.
- Fixed the bug in SubscriptionData that the values for SubscriptionGuid and DisplayName are switched.
- Fixed the bug of unknown SkuTier value when exporting resource template by making GenericResourceData use a Sku model with string type Tier.
- Fixed error when parsing ID with subscriptions of other resource types.
- Removed DefaultSubscription property from ArmClient and added GetDefaultSubscription()/GetDefaultSubscriptionAsync() methods. See the Hello World examples of how to use the new methods to get the default subscription.
- Renamed [Resource]Container to [Resource]Collection and added the IEnumerable and IAsyncEnumerable interfaces to them making it easier to iterate over the list in the simple case.
- Changed SubResource and WritableSubResource from ReferenceType to PropertyReferenceType.
- Added constructor overload to support start from the middle scenario
- Simplified CreateOrUpdate and Delete methods to no longer have Start variants for LongRunningOperations.
- CreateOrUpdate and Delete now take an optional parameter
waitForCompletion
that defaults to true and determines whether the method waits for the operation to complete before returning. - If
waitForCompletion
is true, you can directly callValue
on the result - If
waitForCompletion
is false, you can control the polling, but must callWaitForCompletionAsync()
before accessingValue
.
- CreateOrUpdate and Delete now take an optional parameter
This package follows the new Azure SDK guidelines, and provides many core capabilities:
- Support MSAL.NET, Azure.Identity is out of box for supporting MSAL.NET.
- Support [OpenTelemetry](https://opentelemetry.io/) for distributed tracing.
- HTTP pipeline with custom policies.
- Better error-handling.
- Support uniform telemetry across all languages.
This package is a Public Preview version, so expect incompatible changes in subsequent releases as we improve the product. To provide feedback, submit an issue in our Azure SDK for .NET GitHub repo.
NOTE: For more information about unified authentication, please refer to Microsoft Azure Identity documentation for .NET.