- New struct
ArmEnvironment
.
- Now all the resource classes would have a
Resource
suffix (if it previously does not 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, please 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 which also has ExtendedLocation and inherits from TrackedResource.
- PredefinedTag: Changed from a resource to a non-resource, i.e. 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
which 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
- Initial checkin and introduction of object hierarchy in the SDK.