Policies Constructors
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.
Overloads
Policies() |
Initializes a new instance of the Policies class. |
Policies(QuarantinePolicy, TrustPolicy, RetentionPolicy, ExportPolicy) |
Initializes a new instance of the Policies class. |
Policies()
Initializes a new instance of the Policies class.
public Policies ();
Public Sub New ()
Applies to
Policies(QuarantinePolicy, TrustPolicy, RetentionPolicy, ExportPolicy)
Initializes a new instance of the Policies class.
public Policies (Microsoft.Azure.Management.ContainerRegistry.Models.QuarantinePolicy quarantinePolicy = default, Microsoft.Azure.Management.ContainerRegistry.Models.TrustPolicy trustPolicy = default, Microsoft.Azure.Management.ContainerRegistry.Models.RetentionPolicy retentionPolicy = default, Microsoft.Azure.Management.ContainerRegistry.Models.ExportPolicy exportPolicy = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.Policies : Microsoft.Azure.Management.ContainerRegistry.Models.QuarantinePolicy * Microsoft.Azure.Management.ContainerRegistry.Models.TrustPolicy * Microsoft.Azure.Management.ContainerRegistry.Models.RetentionPolicy * Microsoft.Azure.Management.ContainerRegistry.Models.ExportPolicy -> Microsoft.Azure.Management.ContainerRegistry.Models.Policies
Public Sub New (Optional quarantinePolicy As QuarantinePolicy = Nothing, Optional trustPolicy As TrustPolicy = Nothing, Optional retentionPolicy As RetentionPolicy = Nothing, Optional exportPolicy As ExportPolicy = Nothing)
Parameters
- quarantinePolicy
- QuarantinePolicy
The quarantine policy for a container registry.
- trustPolicy
- TrustPolicy
The content trust policy for a container registry.
- retentionPolicy
- RetentionPolicy
The retention policy for a container registry.
- exportPolicy
- ExportPolicy
The export policy for a container registry.
Applies to
Azure SDK for .NET