Skip to content

Commit 11e1eb1

Browse files
m-nashazure-sdk
andauthored
Hide single property values (Azure#27090)
* cdn readme changes * update resourcemanager * update appconfiguration * update azurestackhci * update cdn * update communication * update compute * update connectedvmwarevsphere * update cosmosdb * update deviceupdate * update edgeorder * update eventhub * update extendedlocation * update keyvault * update network * update resourcemanager * update resources * update servicebus * update sqlmanagement * update storage * update storagepool * update webpubsub * update appservice * update api and snippets * remove m4 outputs * add test cases to verify new behavior is functionally equivalent * model renames based on feedback * regen after updates * Update AutoRest C# version to 3.0.0-beta.20220223.1 * update api Co-authored-by: azure-sdk <[email protected]>
1 parent 30f1204 commit 11e1eb1

File tree

756 files changed

+98209
-3956
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

756 files changed

+98209
-3956
lines changed

eng/Packages.Data.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
All should have PrivateAssets="All" set so they don't become package dependencies
152152
-->
153153
<ItemGroup>
154-
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20220222.1" PrivateAssets="All" />
154+
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20220223.1" PrivateAssets="All" />
155155
<PackageReference Update="Azure.ClientSdk.Analyzers" Version="0.1.1-dev.20220111.2" PrivateAssets="All" />
156156
<PackageReference Update="coverlet.collector" Version="1.3.0" PrivateAssets="All" />
157157
<PackageReference Update="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.1" PrivateAssets="All" />

sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.netstandard2.0.cs

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ public partial class ConfigurationStoreData : Azure.ResourceManager.Models.Track
5555
{
5656
public ConfigurationStoreData(Azure.Core.AzureLocation location, Azure.ResourceManager.AppConfiguration.Models.Sku sku) : base (default(Azure.Core.AzureLocation)) { }
5757
public System.DateTimeOffset? CreationDate { get { throw null; } }
58-
public Azure.ResourceManager.AppConfiguration.Models.EncryptionProperties Encryption { get { throw null; } set { } }
58+
public Azure.ResourceManager.AppConfiguration.Models.KeyVaultProperties EncryptionKeyVaultProperties { get { throw null; } set { } }
5959
public string Endpoint { get { throw null; } }
6060
public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } }
6161
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.AppConfiguration.Models.PrivateEndpointConnectionReference> PrivateEndpointConnections { get { throw null; } }
6262
public Azure.ResourceManager.AppConfiguration.Models.ProvisioningState? ProvisioningState { get { throw null; } }
6363
public Azure.ResourceManager.AppConfiguration.Models.PublicNetworkAccess? PublicNetworkAccess { get { throw null; } set { } }
64-
public Azure.ResourceManager.AppConfiguration.Models.Sku Sku { get { throw null; } set { } }
64+
public string SkuName { get { throw null; } set { } }
6565
}
6666
public partial class PrivateEndpointConnection : Azure.ResourceManager.Core.ArmResource
6767
{
@@ -95,7 +95,7 @@ protected PrivateEndpointConnectionCollection() { }
9595
public partial class PrivateEndpointConnectionData : Azure.ResourceManager.Models.ResourceData
9696
{
9797
public PrivateEndpointConnectionData() { }
98-
public Azure.ResourceManager.Resources.Models.WritableSubResource PrivateEndpoint { get { throw null; } set { } }
98+
public Azure.Core.ResourceIdentifier PrivateEndpointId { get { throw null; } set { } }
9999
public Azure.ResourceManager.AppConfiguration.Models.PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState { get { throw null; } set { } }
100100
public Azure.ResourceManager.AppConfiguration.Models.ProvisioningState? ProvisioningState { get { throw null; } }
101101
}
@@ -199,10 +199,10 @@ public CheckNameAvailabilityParameters(string name, Azure.ResourceManager.AppCon
199199
public partial class ConfigurationStoreUpdateOptions
200200
{
201201
public ConfigurationStoreUpdateOptions() { }
202-
public Azure.ResourceManager.AppConfiguration.Models.EncryptionProperties Encryption { get { throw null; } set { } }
202+
public Azure.ResourceManager.AppConfiguration.Models.KeyVaultProperties EncryptionKeyVaultProperties { get { throw null; } set { } }
203203
public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } }
204204
public Azure.ResourceManager.AppConfiguration.Models.PublicNetworkAccess? PublicNetworkAccess { get { throw null; } set { } }
205-
public Azure.ResourceManager.AppConfiguration.Models.Sku Sku { get { throw null; } set { } }
205+
public string SkuName { get { throw null; } set { } }
206206
public System.Collections.Generic.IDictionary<string, string> Tags { get { throw null; } }
207207
}
208208
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
@@ -225,11 +225,6 @@ public ConfigurationStoreUpdateOptions() { }
225225
public static bool operator !=(Azure.ResourceManager.AppConfiguration.Models.ConnectionStatus left, Azure.ResourceManager.AppConfiguration.Models.ConnectionStatus right) { throw null; }
226226
public override string ToString() { throw null; }
227227
}
228-
public partial class EncryptionProperties
229-
{
230-
public EncryptionProperties() { }
231-
public Azure.ResourceManager.AppConfiguration.Models.KeyVaultProperties KeyVaultProperties { get { throw null; } set { } }
232-
}
233228
public partial class KeyValue
234229
{
235230
internal KeyValue() { }
@@ -264,7 +259,7 @@ internal NameAvailabilityStatus() { }
264259
public partial class PrivateEndpointConnectionReference : Azure.ResourceManager.Models.ResourceData
265260
{
266261
internal PrivateEndpointConnectionReference() { }
267-
public Azure.ResourceManager.Resources.Models.WritableSubResource PrivateEndpoint { get { throw null; } }
262+
public Azure.Core.ResourceIdentifier PrivateEndpointId { get { throw null; } set { } }
268263
public Azure.ResourceManager.AppConfiguration.Models.PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState { get { throw null; } }
269264
public Azure.ResourceManager.AppConfiguration.Models.ProvisioningState? ProvisioningState { get { throw null; } }
270265
}

sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStore.cs

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoreData.cs

Lines changed: 21 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/ConfigurationStoreUpdateOptions.cs

Lines changed: 21 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/EncryptionProperties.Serialization.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/EncryptionProperties.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/PrivateEndpointConnectionReference.cs

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionData.cs

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/tests/Tests/PrivateEndpointConnectionCollectionTests.cs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,11 @@ public async Task TestSetUp()
4848
VirtualNetworkData vnetData = new VirtualNetworkData()
4949
{
5050
Location = "eastus",
51-
AddressSpace = new AddressSpace()
52-
{
53-
AddressPrefixes = { "10.0.0.0/16", }
54-
},
55-
DhcpOptions = new DhcpOptions()
56-
{
57-
DnsServers = { "10.1.1.1", "10.1.2.4" }
58-
},
5951
Subnets = { new SubnetData() { Name = SubnetName, AddressPrefix = "10.0.0.0/24", PrivateEndpointNetworkPolicies = "Disabled" } }
6052
};
53+
vnetData.AddressPrefixes.Add("10.0.0.0/16");
54+
vnetData.DhcpOptionsDnsServers.Add("10.1.1.1");
55+
vnetData.DhcpOptionsDnsServers.Add("10.1.2.4");
6156
VirtualNetwork vnet = (await ResGroup.GetVirtualNetworks().CreateOrUpdateAsync(true, VnetName, vnetData)).Value;
6257
PrivateEndpointData privateEndpointData = new PrivateEndpointData()
6358
{

0 commit comments

Comments
 (0)