다음을 통해 공유


ArmResourceMoverModelFactory.MoverDisplayInfo Method

Definition

Initializes a new instance of MoverDisplayInfo.

public static Azure.ResourceManager.ResourceMover.Models.MoverDisplayInfo MoverDisplayInfo (string provider = default, string resource = default, string operation = default, string description = default);
static member MoverDisplayInfo : string * string * string * string -> Azure.ResourceManager.ResourceMover.Models.MoverDisplayInfo
Public Shared Function MoverDisplayInfo (Optional provider As String = Nothing, Optional resource As String = Nothing, Optional operation As String = Nothing, Optional description As String = Nothing) As MoverDisplayInfo

Parameters

provider
String

Gets or sets the provider. The localized friendly form of the resource provider name – it is expected to also include the publisher/company responsible. It should use Title Casing and begin with "Microsoft" for 1st party services. e.g. "Microsoft Monitoring Insights" or "Microsoft Compute.".

resource
String

Gets or sets the resource. The localized friendly form of the resource related to this action/operation – it should match the public documentation for the resource provider. It should use Title Casing. This value should be unique for a particular URL type (e.g. nested types should not reuse their parent’s display.resource field) e.g. "Virtual Machines" or "Scheduler Job Collections", or "Virtual Machine VM Sizes" or "Scheduler Jobs".

operation
String

Gets or sets the operation. The localized friendly name for the operation, as it should be shown to the user. It should be concise (to fit in drop downs) but clear (i.e. self-documenting). It should use Title Casing. Prescriptive guidance: Read Create or Update Delete 'ActionName'.

description
String

Gets or sets the description. The localized friendly description for the operation, as it should be shown to the user. It should be thorough, yet concise – it will be used in tool tips and detailed views. Prescriptive guidance for namespace: Read any 'display.provider' resource Create or Update any 'display.provider' resource Delete any 'display.provider' resource Perform any other action on any 'display.provider' resource Prescriptive guidance for namespace: Read any 'display.resource' Create or Update any 'display.resource' Delete any 'display.resource' 'ActionName' any 'display.resources'.

Returns

A new MoverDisplayInfo instance for mocking.

Applies to