Policy Class
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.
Protection profile details.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.PolicyTypeConverter))]
public class Policy : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IPolicy, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.PolicyTypeConverter))>]
type Policy = class
interface IPolicy
interface IJsonSerializable
interface IResource
interface IValidates
Public Class Policy
Implements IPolicy, IValidates
- Inheritance
-
Policy
- Attributes
- Implements
Constructors
Policy() |
Creates an new Policy instance. |
Properties
FriendlyName |
The FriendlyName. |
Id |
Resource Id |
Location |
Resource Location |
Name |
Resource Name |
ProviderSpecificDetailInstanceType |
Gets the class type. Overridden in derived classes. |
Type |
Resource Type |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Policy. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IPolicy. |
FromJsonString(String) |
Creates a new instance of Policy, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |