ArmResourceMoverModelFactory.MoverOperationsDiscovery Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of MoverOperationsDiscovery.
public static Azure.ResourceManager.ResourceMover.Models.MoverOperationsDiscovery MoverOperationsDiscovery (string name = default, bool? isDataAction = default, Azure.ResourceManager.ResourceMover.Models.MoverDisplayInfo display = default, string origin = default, BinaryData properties = default);
static member MoverOperationsDiscovery : string * Nullable<bool> * Azure.ResourceManager.ResourceMover.Models.MoverDisplayInfo * string * BinaryData -> Azure.ResourceManager.ResourceMover.Models.MoverOperationsDiscovery
Public Shared Function MoverOperationsDiscovery (Optional name As String = Nothing, Optional isDataAction As Nullable(Of Boolean) = Nothing, Optional display As MoverDisplayInfo = Nothing, Optional origin As String = Nothing, Optional properties As BinaryData = Nothing) As MoverOperationsDiscovery
Parameters
- name
- String
Gets or sets Name of the API. The name of the operation being performed on this particular object. It should match the action name that appears in RBAC / the event service. Examples of operations include:
- Microsoft.Compute/virtualMachine/capture/action
- Microsoft.Compute/virtualMachine/restart/action
- Microsoft.Compute/virtualMachine/write
- Microsoft.Compute/virtualMachine/read
- Microsoft.Compute/virtualMachine/delete Each action should include, in order: (1) Resource Provider Namespace (2) Type hierarchy for which the action applies (e.g. server/databases for a SQL Azure database) (3) Read, Write, Action or Delete indicating which type applies. If it is a PUT/PATCH on a collection or named value, Write should be used. If it is a GET, Read should be used. If it is a DELETE, Delete should be used. If it is a POST, Action should be used. As a note: all resource providers would need to include the "{Resource Provider Namespace}/register/action" operation in their response. This API is used to register for their service, and should include details about the operation (e.g. a localized name for the resource provider + any special considerations like PII release).
- display
- MoverDisplayInfo
Contains the localized display information for this particular operation / action. These value will be used by several clients for (1) custom role definitions for RBAC; (2) complex query filters for the event service; and (3) audit history / records for management operations.
- origin
- String
Gets or sets Origin. The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. Default value is "user,system".
- properties
- BinaryData
ClientDiscovery properties.
Returns
A new MoverOperationsDiscovery instance for mocking.
Applies to
Azure SDK for .NET