Skip to content

Commit

Permalink
Remove inheritance relation of AccountUpdateOptions to InstanceUpdate…
Browse files Browse the repository at this point in the history
…Options (Azure#27038)
  • Loading branch information
Yao725 authored Feb 17, 2022
1 parent da5b63c commit 3f0b2aa
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,12 @@ public ConnectionDetails() { }
public static bool operator !=(Azure.ResourceManager.DeviceUpdate.Models.CreatedByType left, Azure.ResourceManager.DeviceUpdate.Models.CreatedByType right) { throw null; }
public override string ToString() { throw null; }
}
public partial class DeviceUpdateAccountUpdateOptions : Azure.ResourceManager.DeviceUpdate.Models.DeviceUpdateInstanceUpdateOptions
public partial class DeviceUpdateAccountUpdateOptions
{
public DeviceUpdateAccountUpdateOptions() { }
public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } }
public string Location { get { throw null; } set { } }
public System.Collections.Generic.IDictionary<string, string> Tags { get { throw null; } }
}
public partial class DeviceUpdateInstanceUpdateOptions
{
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,17 @@ directive:
transform: $['x-ms-client-name'] = 'privateIPAddress'
- remove-operation: Accounts_Head # Not supported yet
- remove-operation: Instances_Head # Not supported yet
- rename-model:
from: AccountUpdate
to: DeviceUpdateAccountUpdateOptions
- rename-model:
from: TagUpdate
to: TagUpdateOptions
- from: swagger-document
where: $.definitions.AccountUpdate
transform: delete $['allOf']
- from: swagger-document
where: $.definitions.AccountUpdate.properties
transform: >
$['tags'] = {
"type": "object",
"description": "List of key value pairs that describe the resource. This will overwrite the existing tags.",
"additionalProperties": {
"type": "string"
}
}
```

0 comments on commit 3f0b2aa

Please sign in to comment.