Skip to content

Commit 32ace86

Browse files
authored
[Storage]Add Accepted to StorageTaskAssignment properties ProvisioningState (Azure#49187)
1 parent 3a3639c commit 32ace86

28 files changed

+562
-153
lines changed

sdk/storage/Azure.ResourceManager.Storage/CHANGELOG.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
# Release History
22

3-
## 1.5.0-beta.1 (Unreleased)
3+
## 1.4.1 (2025-04-24)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
7+
- Added "Accepted" to StorageTaskAssignment properties ProvisioningState.
8+
- Updated doc link in API description.
129

1310
## 1.4.0 (2025-02-18)
1411

@@ -341,4 +338,4 @@ var encryption = new Encryption(KeySource.MicrosoftStorage)
341338
{
342339
Services = new EncryptionServices { Blob = new EncryptionService { Enabled = true }, File = new EncryptionService { Enabled = true } }
343340
};
344-
```
341+
```

sdk/storage/Azure.ResourceManager.Storage/api/Azure.ResourceManager.Storage.net8.0.cs

Lines changed: 58 additions & 3 deletions
Large diffs are not rendered by default.

sdk/storage/Azure.ResourceManager.Storage/api/Azure.ResourceManager.Storage.netstandard2.0.cs

Lines changed: 58 additions & 3 deletions
Large diffs are not rendered by default.

sdk/storage/Azure.ResourceManager.Storage/src/Azure.ResourceManager.Storage.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<Version>1.5.0-beta.1</Version>
3+
<Version>1.4.1</Version>
44
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
55
<ApiCompatVersion>1.4.0</ApiCompatVersion>
66
<PackageId>Azure.ResourceManager.Storage</PackageId>

sdk/storage/Azure.ResourceManager.Storage/src/Customize/ArmStorageModelFactory.cs

Lines changed: 155 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
#nullable disable
5+
6+
using System.ComponentModel;
7+
8+
namespace Azure.ResourceManager.Storage.Models
9+
{
10+
/// <summary> Properties of the storage task update assignment. </summary>
11+
public partial class StorageTaskAssignmentPatchProperties
12+
{
13+
/// <summary> Represents the provisioning state of the storage task assignment. </summary>
14+
[EditorBrowsable(EditorBrowsableState.Never)]
15+
[WirePath("provisioningState")]
16+
public StorageProvisioningState? ProvisioningState { get => StorageProvisioningStateExtensions.ToStorageProvisioningState(StorageTaskAssignmentProvisioningState.ToString()); }
17+
}
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
#nullable disable
5+
6+
using System.ComponentModel;
7+
8+
namespace Azure.ResourceManager.Storage.Models
9+
{
10+
/// <summary> Properties of the storage task assignment. </summary>
11+
public partial class StorageTaskAssignmentProperties
12+
{
13+
/// <summary> Represents the provisioning state of the storage task assignment. </summary>
14+
[EditorBrowsable(EditorBrowsableState.Never)]
15+
[WirePath("provisioningState")]
16+
public StorageProvisioningState? ProvisioningState { get => StorageProvisioningStateExtensions.ToStorageProvisioningState(StorageTaskAssignmentProvisioningState.ToString()); }
17+
}
18+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
#nullable disable
5+
6+
using System.ComponentModel;
7+
using Azure.ResourceManager.Models;
8+
using Azure.ResourceManager.Storage.Models;
9+
10+
namespace Azure.ResourceManager.Storage
11+
{
12+
/// <summary>
13+
/// A class representing the StorageAccount data model.
14+
/// The storage account.
15+
/// </summary>
16+
public partial class StorageAccountData : TrackedResourceData
17+
{
18+
/// <summary> Gets the status of the storage account at the time the operation was called. </summary>
19+
[EditorBrowsable(EditorBrowsableState.Never)]
20+
[WirePath("properties.provisioningState")]
21+
public StorageProvisioningState? ProvisioningState { get => StorageProvisioningStateExtensions.ToStorageProvisioningState(StorageAccountProvisioningState.ToString()); }
22+
}
23+
}

0 commit comments

Comments
 (0)