ImmutabilityPolicy 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.
The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.ImmutabilityPolicyTypeConverter))]
public class ImmutabilityPolicy : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IImmutabilityPolicy, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IHeaderSerializable, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.ImmutabilityPolicyTypeConverter))>]
type ImmutabilityPolicy = class
interface IImmutabilityPolicy
interface IJsonSerializable
interface IAzureEntityResource
interface IResourceAutoGenerated
interface IValidates
interface IHeaderSerializable
Public Class ImmutabilityPolicy
Implements IHeaderSerializable, IImmutabilityPolicy, IValidates
- Inheritance
-
ImmutabilityPolicy
- Attributes
- Implements
Constructors
ImmutabilityPolicy() |
Creates an new ImmutabilityPolicy instance. |
Properties
Etag |
Resource Etag. |
ETag | |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
ImmutabilityPeriodSinceCreationInDay |
The immutability period for the blobs in the container since the policy creation, in days. |
Name |
The name of the resource |
State |
The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. |
Type |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ImmutabilityPolicy. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ImmutabilityPolicy. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IImmutabilityPolicy. |
FromJsonString(String) |
Creates a new instance of ImmutabilityPolicy, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of ImmutabilityPolicy into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |
Explicit Interface Implementations
IHeaderSerializable.ReadHeaders(HttpResponseHeaders) |