Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,26 @@ private void Initialize()

private void IgnoreArmCoreDependencyVersions()
{
// Ignore the api-version of tenant operations
UriRegexSanitizers.Add(new UriRegexSanitizer(
@"/tenants\?api-version=(?<group>[a-z0-9-]+)", "**"
)
{
GroupForReplace = "group"
});
// Ignore the api-version of subscription operations
UriRegexSanitizers.Add(new UriRegexSanitizer(
@"/subscriptions/[^/]+api-version=(?<group>[a-z0-9-]+)", "**"
)
{
GroupForReplace = "group"
});

UriRegexSanitizers.Add(new UriRegexSanitizer(
@"/subscriptions/([^/]+)/locations\?api-version=(?<group>[a-z0-9-]+)", "**"
)
{
GroupForReplace = "group"
});
// Ignore the api-version of resource group operations
UriRegexSanitizers.Add(new UriRegexSanitizer(
@"/resourcegroups/[^/]+api-version=(?<group>[a-z0-9-]+)", "**"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation",
"Tag": "net/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation_2825624a1e"
"Tag": "net/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation_4b13db35a6"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/authorization/Azure.ResourceManager.Authorization",
"Tag": "net/authorization/Azure.ResourceManager.Authorization_e938c7e2da"
"Tag": "net/authorization/Azure.ResourceManager.Authorization_98160297ec"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/automanage/Azure.ResourceManager.Automanage",
"Tag": "net/automanage/Azure.ResourceManager.Automanage_24b321ac98"
"Tag": "net/automanage/Azure.ResourceManager.Automanage_4dd9d6764e"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/billingbenefits/Azure.ResourceManager.BillingBenefits",
"Tag": "net/billingbenefits/Azure.ResourceManager.BillingBenefits_13c94bfa77"
"Tag": "net/billingbenefits/Azure.ResourceManager.BillingBenefits_dcce7efc28"
}
2 changes: 1 addition & 1 deletion sdk/cdn/Azure.ResourceManager.Cdn/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/cdn/Azure.ResourceManager.Cdn",
"Tag": "net/cdn/Azure.ResourceManager.Cdn_2673f4231c"
"Tag": "net/cdn/Azure.ResourceManager.Cdn_967e15a113"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/changeanalysis/Azure.ResourceManager.ChangeAnalysis",
"Tag": "net/changeanalysis/Azure.ResourceManager.ChangeAnalysis_3be6c5daa3"
"Tag": "net/changeanalysis/Azure.ResourceManager.ChangeAnalysis_1bfabd7ca3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/eventgrid/Azure.ResourceManager.EventGrid",
"Tag": "net/eventgrid/Azure.ResourceManager.EventGrid_a85cad4466"
"Tag": "net/eventgrid/Azure.ResourceManager.EventGrid_cd53dee1c4"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/policyinsights/Azure.ResourceManager.PolicyInsights",
"Tag": "net/policyinsights/Azure.ResourceManager.PolicyInsights_736b430e02"
"Tag": "net/policyinsights/Azure.ResourceManager.PolicyInsights_9e711c39cf"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/postgresql/Azure.ResourceManager.PostgreSql",
"Tag": "net/postgresql/Azure.ResourceManager.PostgreSql_78b282b4d6"
"Tag": "net/postgresql/Azure.ResourceManager.PostgreSql_fe6acfa75b"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/reservations/Azure.ResourceManager.Reservations",
"Tag": "net/reservations/Azure.ResourceManager.Reservations_fa438ced02"
"Tag": "net/reservations/Azure.ResourceManager.Reservations_90308a0acc"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/resourcegraph/Azure.ResourceManager.ResourceGraph",
"Tag": "net/resourcegraph/Azure.ResourceManager.ResourceGraph_9a41f63efb"
"Tag": "net/resourcegraph/Azure.ResourceManager.ResourceGraph_a6ab52c4a7"
}
11 changes: 4 additions & 7 deletions sdk/resourcemanager/Azure.ResourceManager/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
# Release History

## 1.7.0-beta.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
## 1.7.0 (2023-07-13)

### Other Changes

- Bump api-version of `Subscription` to `2022-12-01`
- Bump api-version of `Tenant` to `2022-12-01`

## 1.6.0 (2023-05-16)

### Features Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -458,14 +458,16 @@ protected ResourceData(Azure.Core.ResourceIdentifier id, string name, Azure.Core
public static partial class ResourceManagerModelFactory
{
public static Azure.ResourceManager.Resources.Models.ApiProfile ApiProfile(string profileVersion = null, string apiVersion = null) { throw null; }
public static Azure.ResourceManager.Resources.Models.AvailabilityZoneMappings AvailabilityZoneMappings(string logicalZone = null, string physicalZone = null) { throw null; }
public static Azure.ResourceManager.Resources.Models.AzureRoleDefinition AzureRoleDefinition(string id = null, string name = null, bool? isServiceRole = default(bool?), System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.Permission> permissions = null, System.Collections.Generic.IEnumerable<string> scopes = null) { throw null; }
public static Azure.ResourceManager.Resources.Models.DataManifestCustomResourceFunctionDefinition DataManifestCustomResourceFunctionDefinition(string name = null, Azure.Core.ResourceType? fullyQualifiedResourceType = default(Azure.Core.ResourceType?), System.Collections.Generic.IEnumerable<string> defaultProperties = null, bool? allowCustomProperties = default(bool?)) { throw null; }
public static Azure.ResourceManager.Resources.DataPolicyManifestData DataPolicyManifestData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IEnumerable<string> namespaces = null, string policyMode = null, bool? isBuiltInOnly = default(bool?), System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ResourceTypeAliases> resourceTypeAliases = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.DataPolicyManifestEffect> effects = null, System.Collections.Generic.IEnumerable<string> fieldValues = null, System.Collections.Generic.IEnumerable<string> standard = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.DataManifestCustomResourceFunctionDefinition> customDefinitions = null) { throw null; }
public static Azure.ResourceManager.Resources.Models.DataPolicyManifestEffect DataPolicyManifestEffect(string name = null, System.BinaryData detailsSchema = null) { throw null; }
public static Azure.ResourceManager.ManagementGroups.Models.DescendantData DescendantData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string displayName = null, Azure.Core.ResourceIdentifier parentId = null) { throw null; }
public static Azure.ResourceManager.Resources.FeatureData FeatureData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string featureState = null) { throw null; }
public static Azure.ResourceManager.Resources.GenericResourceData GenericResourceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary<string, string> tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = null, Azure.ResourceManager.Models.ArmPlan plan = null, System.BinaryData properties = null, string kind = null, string managedBy = null, Azure.ResourceManager.Resources.Models.ResourcesSku sku = null, Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), System.DateTimeOffset? changedOn = default(System.DateTimeOffset?), string provisioningState = null) { throw null; }
public static Azure.ResourceManager.Resources.Models.LocationExpanded LocationExpanded(string id = null, string subscriptionId = null, string name = null, Azure.ResourceManager.Resources.Models.LocationType? locationType = default(Azure.ResourceManager.Resources.Models.LocationType?), string displayName = null, string regionalDisplayName = null, Azure.ResourceManager.Resources.Models.LocationMetadata metadata = null) { throw null; }
public static Azure.ResourceManager.Resources.Models.LocationExpanded LocationExpanded(string id, string subscriptionId, string name, Azure.ResourceManager.Resources.Models.LocationType? locationType, string displayName, string regionalDisplayName, Azure.ResourceManager.Resources.Models.LocationMetadata metadata) { throw null; }
public static Azure.ResourceManager.Resources.Models.LocationExpanded LocationExpanded(string id = null, string subscriptionId = null, string name = null, Azure.ResourceManager.Resources.Models.LocationType? locationType = default(Azure.ResourceManager.Resources.Models.LocationType?), string displayName = null, string regionalDisplayName = null, Azure.ResourceManager.Resources.Models.LocationMetadata metadata = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.AvailabilityZoneMappings> availabilityZoneMappings = null) { throw null; }
public static Azure.ResourceManager.Resources.Models.ManagedByTenant ManagedByTenant(System.Guid? tenantId = default(System.Guid?)) { throw null; }
public static Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildInfo ManagementGroupChildInfo(Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildType? childType = default(Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildType?), string id = null, string name = null, string displayName = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildInfo> children = null) { throw null; }
public static Azure.ResourceManager.ManagementGroups.ManagementGroupData ManagementGroupData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Guid? tenantId = default(System.Guid?), string displayName = null, Azure.ResourceManager.ManagementGroups.Models.ManagementGroupInfo details = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildInfo> children = null) { throw null; }
Expand Down Expand Up @@ -1250,6 +1252,12 @@ internal ArmRestApi() { }
public string Provider { get { throw null; } }
public string Resource { get { throw null; } }
}
public partial class AvailabilityZoneMappings
{
internal AvailabilityZoneMappings() { }
public string LogicalZone { get { throw null; } }
public string PhysicalZone { get { throw null; } }
}
public partial class AzureRoleDefinition
{
internal AzureRoleDefinition() { }
Expand Down Expand Up @@ -1323,6 +1331,7 @@ public ExtendedLocation() { }
public partial class LocationExpanded
{
internal LocationExpanded() { }
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.Resources.Models.AvailabilityZoneMappings> AvailabilityZoneMappings { get { throw null; } }
public string DisplayName { get { throw null; } }
public string Id { get { throw null; } }
public Azure.ResourceManager.Resources.Models.LocationType? LocationType { get { throw null; } }
Expand Down
2 changes: 1 addition & 1 deletion sdk/resourcemanager/Azure.ResourceManager/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/resourcemanager/Azure.ResourceManager",
"Tag": "net/resourcemanager/Azure.ResourceManager_badeb57759"
"Tag": "net/resourcemanager/Azure.ResourceManager_bdcd46cf6b"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.7.0-beta.1</Version>
<Version>1.7.0</Version>
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
<ApiCompatVersion>1.6.0</ApiCompatVersion>
<PackageId>Azure.ResourceManager</PackageId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System.Collections.Generic;
using Azure.Core;

[assembly:CodeGenSuppressType("CreatedByType")]
Expand All @@ -20,15 +21,16 @@ public static implicit operator AzureLocation(LocationExpanded location)
return new AzureLocation(location.Name, location.DisplayName);
}

/// <summary> Initializes a new instance of LocationExpanded. </summary>
/// <summary> Initializes a new instance of LocationExpanded. </summary>
/// <param name="id"> The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus. </param>
/// <param name="subscriptionId"> The subscription ID. </param>
/// <param name="name"> The location name. </param>
/// <param name="locationType"> The location type. </param>
/// <param name="displayName"> The display name of the location. </param>
/// <param name="regionalDisplayName"> The display name of the location and its region. </param>
/// <param name="metadata"> Metadata of the location, such as lat/long, paired region, and others. </param>
internal LocationExpanded(string id, string subscriptionId, string name, LocationType? locationType, string displayName, string regionalDisplayName, LocationMetadata metadata)
/// <param name="availabilityZoneMappings"> The availability zone mappings for this region. </param>
internal LocationExpanded(string id, string subscriptionId, string name, LocationType? locationType, string displayName, string regionalDisplayName, LocationMetadata metadata, IReadOnlyList<AvailabilityZoneMappings> availabilityZoneMappings)
{
Id = id;
ResourceIdentifier subId = new ResourceIdentifier(id);
Expand All @@ -38,6 +40,7 @@ internal LocationExpanded(string id, string subscriptionId, string name, Locatio
DisplayName = displayName;
RegionalDisplayName = regionalDisplayName;
Metadata = metadata;
AvailabilityZoneMappings = availabilityZoneMappings;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,19 @@ public static WritableSubResource WritableSubResource(ResourceIdentifier id = nu
{
return new WritableSubResource(id);
}

/// <summary> Initializes a new instance of LocationExpanded. </summary>
/// <param name="id"> The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus. </param>
/// <param name="subscriptionId"> The subscription ID. </param>
/// <param name="name"> The location name. </param>
/// <param name="locationType"> The location type. </param>
/// <param name="displayName"> The display name of the location. </param>
/// <param name="regionalDisplayName"> The display name of the location and its region. </param>
/// <param name="metadata"> Metadata of the location, such as lat/long, paired region, and others. </param>
/// <returns> A new <see cref="Resources.Models.LocationExpanded"/> instance for mocking. </returns>
public static LocationExpanded LocationExpanded(string id, string subscriptionId, string name, LocationType? locationType, string displayName, string regionalDisplayName, LocationMetadata metadata)
{
return new LocationExpanded(id, subscriptionId, name, locationType, displayName, regionalDisplayName, metadata, null);
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading