Documentation
¶
Overview ¶
Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
- Constants
- type EncryptionProperty
- type EncryptionProperty_STATUS
- type EncryptionProperty_Status
- type EncryptionProperty_Status_STATUS
- type ExportPolicy
- type ExportPolicy_STATUS
- type ExportPolicy_Status
- type ExportPolicy_Status_STATUS
- type IPRule
- type IPRule_Action
- type IPRule_Action_STATUS
- type IPRule_STATUS
- type IdentityProperties
- type IdentityProperties_STATUS
- type IdentityProperties_Type
- type IdentityProperties_Type_STATUS
- type KeyVaultProperties
- type KeyVaultProperties_STATUS
- type NetworkRuleSet
- type NetworkRuleSet_DefaultAction
- type NetworkRuleSet_DefaultAction_STATUS
- type NetworkRuleSet_STATUS
- type Policies
- type Policies_STATUS
- type PrivateEndpointConnection_STATUS
- type QuarantinePolicy
- type QuarantinePolicy_STATUS
- type QuarantinePolicy_Status
- type QuarantinePolicy_Status_STATUS
- type RegistryProperties
- type RegistryProperties_NetworkRuleBypassOptions
- type RegistryProperties_NetworkRuleBypassOptions_STATUS
- type RegistryProperties_ProvisioningState_STATUS
- type RegistryProperties_PublicNetworkAccess
- type RegistryProperties_PublicNetworkAccess_STATUS
- type RegistryProperties_STATUS
- type RegistryProperties_ZoneRedundancy
- type RegistryProperties_ZoneRedundancy_STATUS
- type Registry_STATUS
- type Registry_Spec
- type RetentionPolicy
- type RetentionPolicy_STATUS
- type RetentionPolicy_Status
- type RetentionPolicy_Status_STATUS
- type Sku
- type Sku_Name
- type Sku_Name_STATUS
- type Sku_STATUS
- type Sku_Tier_STATUS
- type Status_STATUS
- type SystemData_CreatedByType_STATUS
- type SystemData_LastModifiedByType_STATUS
- type SystemData_STATUS
- type TrustPolicy
- type TrustPolicy_STATUS
- type TrustPolicy_Status
- type TrustPolicy_Status_STATUS
- type TrustPolicy_Type
- type TrustPolicy_Type_STATUS
- type UserAssignedIdentityDetails
- type UserIdentityProperties_STATUS
Constants ¶
const ( IdentityProperties_Type_None = IdentityProperties_Type("None") IdentityProperties_Type_SystemAssigned = IdentityProperties_Type("SystemAssigned") IdentityProperties_Type_SystemAssignedUserAssigned = IdentityProperties_Type("SystemAssigned, UserAssigned") IdentityProperties_Type_UserAssigned = IdentityProperties_Type("UserAssigned") )
const ( RegistryProperties_NetworkRuleBypassOptions_AzureServices = RegistryProperties_NetworkRuleBypassOptions("AzureServices") RegistryProperties_NetworkRuleBypassOptions_None = RegistryProperties_NetworkRuleBypassOptions("None") )
const ( RegistryProperties_PublicNetworkAccess_Disabled = RegistryProperties_PublicNetworkAccess("Disabled") RegistryProperties_PublicNetworkAccess_Enabled = RegistryProperties_PublicNetworkAccess("Enabled") )
const ( RegistryProperties_ZoneRedundancy_Disabled = RegistryProperties_ZoneRedundancy("Disabled") RegistryProperties_ZoneRedundancy_Enabled = RegistryProperties_ZoneRedundancy("Enabled") )
const ( Sku_Name_Basic = Sku_Name("Basic") Sku_Name_Classic = Sku_Name("Classic") Sku_Name_Premium = Sku_Name("Premium") Sku_Name_Standard = Sku_Name("Standard") )
const ( EncryptionProperty_Status_Disabled = EncryptionProperty_Status("disabled") EncryptionProperty_Status_Enabled = EncryptionProperty_Status("enabled") )
const ( NetworkRuleSet_DefaultAction_Allow = NetworkRuleSet_DefaultAction("Allow") NetworkRuleSet_DefaultAction_Deny = NetworkRuleSet_DefaultAction("Deny") )
const ( ExportPolicy_Status_Disabled = ExportPolicy_Status("disabled") ExportPolicy_Status_Enabled = ExportPolicy_Status("enabled") )
const ( QuarantinePolicy_Status_Disabled = QuarantinePolicy_Status("disabled") QuarantinePolicy_Status_Enabled = QuarantinePolicy_Status("enabled") )
const ( RetentionPolicy_Status_Disabled = RetentionPolicy_Status("disabled") RetentionPolicy_Status_Enabled = RetentionPolicy_Status("enabled") )
const ( TrustPolicy_Status_Disabled = TrustPolicy_Status("disabled") TrustPolicy_Status_Enabled = TrustPolicy_Status("enabled") )
const ( IdentityProperties_Type_STATUS_None = IdentityProperties_Type_STATUS("None") IdentityProperties_Type_STATUS_SystemAssigned = IdentityProperties_Type_STATUS("SystemAssigned") IdentityProperties_Type_STATUS_SystemAssignedUserAssigned = IdentityProperties_Type_STATUS("SystemAssigned, UserAssigned") IdentityProperties_Type_STATUS_UserAssigned = IdentityProperties_Type_STATUS("UserAssigned") )
const ( RegistryProperties_NetworkRuleBypassOptions_STATUS_AzureServices = RegistryProperties_NetworkRuleBypassOptions_STATUS("AzureServices") RegistryProperties_NetworkRuleBypassOptions_STATUS_None = RegistryProperties_NetworkRuleBypassOptions_STATUS("None") )
const ( RegistryProperties_ProvisioningState_STATUS_Canceled = RegistryProperties_ProvisioningState_STATUS("Canceled") RegistryProperties_ProvisioningState_STATUS_Creating = RegistryProperties_ProvisioningState_STATUS("Creating") RegistryProperties_ProvisioningState_STATUS_Deleting = RegistryProperties_ProvisioningState_STATUS("Deleting") RegistryProperties_ProvisioningState_STATUS_Failed = RegistryProperties_ProvisioningState_STATUS("Failed") RegistryProperties_ProvisioningState_STATUS_Succeeded = RegistryProperties_ProvisioningState_STATUS("Succeeded") RegistryProperties_ProvisioningState_STATUS_Updating = RegistryProperties_ProvisioningState_STATUS("Updating") )
const ( RegistryProperties_PublicNetworkAccess_STATUS_Disabled = RegistryProperties_PublicNetworkAccess_STATUS("Disabled") RegistryProperties_PublicNetworkAccess_STATUS_Enabled = RegistryProperties_PublicNetworkAccess_STATUS("Enabled") )
const ( RegistryProperties_ZoneRedundancy_STATUS_Disabled = RegistryProperties_ZoneRedundancy_STATUS("Disabled") RegistryProperties_ZoneRedundancy_STATUS_Enabled = RegistryProperties_ZoneRedundancy_STATUS("Enabled") )
const ( Sku_Name_STATUS_Basic = Sku_Name_STATUS("Basic") Sku_Name_STATUS_Classic = Sku_Name_STATUS("Classic") Sku_Name_STATUS_Premium = Sku_Name_STATUS("Premium") Sku_Name_STATUS_Standard = Sku_Name_STATUS("Standard") )
const ( Sku_Tier_STATUS_Basic = Sku_Tier_STATUS("Basic") Sku_Tier_STATUS_Classic = Sku_Tier_STATUS("Classic") Sku_Tier_STATUS_Premium = Sku_Tier_STATUS("Premium") Sku_Tier_STATUS_Standard = Sku_Tier_STATUS("Standard") )
const ( SystemData_CreatedByType_STATUS_Application = SystemData_CreatedByType_STATUS("Application") SystemData_CreatedByType_STATUS_Key = SystemData_CreatedByType_STATUS("Key") SystemData_CreatedByType_STATUS_ManagedIdentity = SystemData_CreatedByType_STATUS("ManagedIdentity") SystemData_CreatedByType_STATUS_User = SystemData_CreatedByType_STATUS("User") )
const ( SystemData_LastModifiedByType_STATUS_Application = SystemData_LastModifiedByType_STATUS("Application") SystemData_LastModifiedByType_STATUS_Key = SystemData_LastModifiedByType_STATUS("Key") SystemData_LastModifiedByType_STATUS_ManagedIdentity = SystemData_LastModifiedByType_STATUS("ManagedIdentity") SystemData_LastModifiedByType_STATUS_User = SystemData_LastModifiedByType_STATUS("User") )
const ( EncryptionProperty_Status_STATUS_Disabled = EncryptionProperty_Status_STATUS("disabled") EncryptionProperty_Status_STATUS_Enabled = EncryptionProperty_Status_STATUS("enabled") )
const ( NetworkRuleSet_DefaultAction_STATUS_Allow = NetworkRuleSet_DefaultAction_STATUS("Allow") NetworkRuleSet_DefaultAction_STATUS_Deny = NetworkRuleSet_DefaultAction_STATUS("Deny") )
const ( ExportPolicy_Status_STATUS_Disabled = ExportPolicy_Status_STATUS("disabled") ExportPolicy_Status_STATUS_Enabled = ExportPolicy_Status_STATUS("enabled") )
const ( QuarantinePolicy_Status_STATUS_Disabled = QuarantinePolicy_Status_STATUS("disabled") QuarantinePolicy_Status_STATUS_Enabled = QuarantinePolicy_Status_STATUS("enabled") )
const ( RetentionPolicy_Status_STATUS_Disabled = RetentionPolicy_Status_STATUS("disabled") RetentionPolicy_Status_STATUS_Enabled = RetentionPolicy_Status_STATUS("enabled") )
const ( TrustPolicy_Status_STATUS_Disabled = TrustPolicy_Status_STATUS("disabled") TrustPolicy_Status_STATUS_Enabled = TrustPolicy_Status_STATUS("enabled") )
const IPRule_Action_Allow = IPRule_Action("Allow")
const IPRule_Action_STATUS_Allow = IPRule_Action_STATUS("Allow")
const TrustPolicy_Type_Notary = TrustPolicy_Type("Notary")
const TrustPolicy_Type_STATUS_Notary = TrustPolicy_Type_STATUS("Notary")
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncryptionProperty ¶
type EncryptionProperty struct {
// KeyVaultProperties: Key vault properties.
KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"`
// Status: Indicates whether or not the encryption is enabled for container registry.
Status *EncryptionProperty_Status `json:"status,omitempty"`
}
type EncryptionProperty_STATUS ¶
type EncryptionProperty_STATUS struct {
// KeyVaultProperties: Key vault properties.
KeyVaultProperties *KeyVaultProperties_STATUS `json:"keyVaultProperties,omitempty"`
// Status: Indicates whether or not the encryption is enabled for container registry.
Status *EncryptionProperty_Status_STATUS `json:"status,omitempty"`
}
type EncryptionProperty_Status ¶
type EncryptionProperty_Status string
+kubebuilder:validation:Enum={"disabled","enabled"}
type EncryptionProperty_Status_STATUS ¶
type EncryptionProperty_Status_STATUS string
type ExportPolicy ¶
type ExportPolicy struct {
// Status: The value that indicates whether the policy is enabled or not.
Status *ExportPolicy_Status `json:"status,omitempty"`
}
The export policy for a container registry.
type ExportPolicy_STATUS ¶
type ExportPolicy_STATUS struct {
// Status: The value that indicates whether the policy is enabled or not.
Status *ExportPolicy_Status_STATUS `json:"status,omitempty"`
}
The export policy for a container registry.
type ExportPolicy_Status ¶
type ExportPolicy_Status string
+kubebuilder:validation:Enum={"disabled","enabled"}
type ExportPolicy_Status_STATUS ¶
type ExportPolicy_Status_STATUS string
type IPRule ¶
type IPRule struct {
// Action: The action of IP ACL rule.
Action *IPRule_Action `json:"action,omitempty"`
// Value: Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
Value *string `json:"value,omitempty"`
}
IP rule with specific IP or IP range in CIDR format.
type IPRule_Action_STATUS ¶
type IPRule_Action_STATUS string
type IPRule_STATUS ¶
type IPRule_STATUS struct {
// Action: The action of IP ACL rule.
Action *IPRule_Action_STATUS `json:"action,omitempty"`
// Value: Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
Value *string `json:"value,omitempty"`
}
IP rule with specific IP or IP range in CIDR format.
type IdentityProperties ¶
type IdentityProperties struct {
// PrincipalId: The principal ID of resource identity.
PrincipalId *string `json:"principalId,omitempty"`
// TenantId: The tenant ID of resource.
TenantId *string `json:"tenantId,omitempty"`
// Type: The identity type.
Type *IdentityProperties_Type `json:"type,omitempty"`
UserAssignedIdentities map[string]UserAssignedIdentityDetails `json:"userAssignedIdentities,omitempty"`
}
Managed identity for the resource.
type IdentityProperties_STATUS ¶
type IdentityProperties_STATUS struct {
// PrincipalId: The principal ID of resource identity.
PrincipalId *string `json:"principalId,omitempty"`
// TenantId: The tenant ID of resource.
TenantId *string `json:"tenantId,omitempty"`
// Type: The identity type.
Type *IdentityProperties_Type_STATUS `json:"type,omitempty"`
// UserAssignedIdentities: The list of user identities associated with the resource. The user identity
// dictionary key references will be ARM resource ids in the form:
// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/
// providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
UserAssignedIdentities map[string]UserIdentityProperties_STATUS `json:"userAssignedIdentities,omitempty"`
}
Managed identity for the resource.
type IdentityProperties_Type ¶
type IdentityProperties_Type string
+kubebuilder:validation:Enum={"None","SystemAssigned","SystemAssigned, UserAssigned","UserAssigned"}
type IdentityProperties_Type_STATUS ¶
type IdentityProperties_Type_STATUS string
type KeyVaultProperties ¶
type KeyVaultProperties_STATUS ¶
type KeyVaultProperties_STATUS struct {
// Identity: The client id of the identity which will be used to access key vault.
Identity *string `json:"identity,omitempty"`
// KeyIdentifier: Key vault uri to access the encryption key.
KeyIdentifier *string `json:"keyIdentifier,omitempty"`
// KeyRotationEnabled: Auto key rotation status for a CMK enabled registry.
KeyRotationEnabled *bool `json:"keyRotationEnabled,omitempty"`
// LastKeyRotationTimestamp: Timestamp of the last successful key rotation.
LastKeyRotationTimestamp *string `json:"lastKeyRotationTimestamp,omitempty"`
// VersionedKeyIdentifier: The fully qualified key identifier that includes the version of the key that is actually used
// for encryption.
VersionedKeyIdentifier *string `json:"versionedKeyIdentifier,omitempty"`
}
type NetworkRuleSet ¶
type NetworkRuleSet struct {
// DefaultAction: The default action of allow or deny when no other rules match.
DefaultAction *NetworkRuleSet_DefaultAction `json:"defaultAction,omitempty"`
// IpRules: The IP ACL rules.
IpRules []IPRule `json:"ipRules,omitempty"`
}
The network rule set for a container registry.
type NetworkRuleSet_DefaultAction ¶
type NetworkRuleSet_DefaultAction string
+kubebuilder:validation:Enum={"Allow","Deny"}
type NetworkRuleSet_DefaultAction_STATUS ¶
type NetworkRuleSet_DefaultAction_STATUS string
type NetworkRuleSet_STATUS ¶
type NetworkRuleSet_STATUS struct {
// DefaultAction: The default action of allow or deny when no other rules match.
DefaultAction *NetworkRuleSet_DefaultAction_STATUS `json:"defaultAction,omitempty"`
// IpRules: The IP ACL rules.
IpRules []IPRule_STATUS `json:"ipRules,omitempty"`
}
The network rule set for a container registry.
type Policies ¶
type Policies struct {
// ExportPolicy: The export policy for a container registry.
ExportPolicy *ExportPolicy `json:"exportPolicy,omitempty"`
// QuarantinePolicy: The quarantine policy for a container registry.
QuarantinePolicy *QuarantinePolicy `json:"quarantinePolicy,omitempty"`
// RetentionPolicy: The retention policy for a container registry.
RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"`
// TrustPolicy: The content trust policy for a container registry.
TrustPolicy *TrustPolicy `json:"trustPolicy,omitempty"`
}
The policies for a container registry.
type Policies_STATUS ¶
type Policies_STATUS struct {
// ExportPolicy: The export policy for a container registry.
ExportPolicy *ExportPolicy_STATUS `json:"exportPolicy,omitempty"`
// QuarantinePolicy: The quarantine policy for a container registry.
QuarantinePolicy *QuarantinePolicy_STATUS `json:"quarantinePolicy,omitempty"`
// RetentionPolicy: The retention policy for a container registry.
RetentionPolicy *RetentionPolicy_STATUS `json:"retentionPolicy,omitempty"`
// TrustPolicy: The content trust policy for a container registry.
TrustPolicy *TrustPolicy_STATUS `json:"trustPolicy,omitempty"`
}
The policies for a container registry.
type PrivateEndpointConnection_STATUS ¶
type PrivateEndpointConnection_STATUS struct {
// Id: The resource ID.
Id *string `json:"id,omitempty"`
}
An object that represents a private endpoint connection for a container registry.
type QuarantinePolicy ¶
type QuarantinePolicy struct {
// Status: The value that indicates whether the policy is enabled or not.
Status *QuarantinePolicy_Status `json:"status,omitempty"`
}
The quarantine policy for a container registry.
type QuarantinePolicy_STATUS ¶
type QuarantinePolicy_STATUS struct {
// Status: The value that indicates whether the policy is enabled or not.
Status *QuarantinePolicy_Status_STATUS `json:"status,omitempty"`
}
The quarantine policy for a container registry.
type QuarantinePolicy_Status ¶
type QuarantinePolicy_Status string
+kubebuilder:validation:Enum={"disabled","enabled"}
type QuarantinePolicy_Status_STATUS ¶
type QuarantinePolicy_Status_STATUS string
type RegistryProperties ¶
type RegistryProperties struct {
// AdminUserEnabled: The value that indicates whether the admin user is enabled.
AdminUserEnabled *bool `json:"adminUserEnabled,omitempty"`
// DataEndpointEnabled: Enable a single data endpoint per region for serving data.
DataEndpointEnabled *bool `json:"dataEndpointEnabled,omitempty"`
// Encryption: The encryption settings of container registry.
Encryption *EncryptionProperty `json:"encryption,omitempty"`
// NetworkRuleBypassOptions: Whether to allow trusted Azure services to access a network restricted registry.
NetworkRuleBypassOptions *RegistryProperties_NetworkRuleBypassOptions `json:"networkRuleBypassOptions,omitempty"`
// NetworkRuleSet: The network rule set for a container registry.
NetworkRuleSet *NetworkRuleSet `json:"networkRuleSet,omitempty"`
// Policies: The policies for a container registry.
Policies *Policies `json:"policies,omitempty"`
// PublicNetworkAccess: Whether or not public network access is allowed for the container registry.
PublicNetworkAccess *RegistryProperties_PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
// ZoneRedundancy: Whether or not zone redundancy is enabled for this container registry
ZoneRedundancy *RegistryProperties_ZoneRedundancy `json:"zoneRedundancy,omitempty"`
}
The properties of a container registry.
type RegistryProperties_NetworkRuleBypassOptions ¶
type RegistryProperties_NetworkRuleBypassOptions string
+kubebuilder:validation:Enum={"AzureServices","None"}
type RegistryProperties_NetworkRuleBypassOptions_STATUS ¶
type RegistryProperties_NetworkRuleBypassOptions_STATUS string
type RegistryProperties_ProvisioningState_STATUS ¶
type RegistryProperties_ProvisioningState_STATUS string
type RegistryProperties_PublicNetworkAccess ¶
type RegistryProperties_PublicNetworkAccess string
+kubebuilder:validation:Enum={"Disabled","Enabled"}
type RegistryProperties_PublicNetworkAccess_STATUS ¶
type RegistryProperties_PublicNetworkAccess_STATUS string
type RegistryProperties_STATUS ¶
type RegistryProperties_STATUS struct {
// AdminUserEnabled: The value that indicates whether the admin user is enabled.
AdminUserEnabled *bool `json:"adminUserEnabled,omitempty"`
// CreationDate: The creation date of the container registry in ISO8601 format.
CreationDate *string `json:"creationDate,omitempty"`
// DataEndpointEnabled: Enable a single data endpoint per region for serving data.
DataEndpointEnabled *bool `json:"dataEndpointEnabled,omitempty"`
// DataEndpointHostNames: List of host names that will serve data when dataEndpointEnabled is true.
DataEndpointHostNames []string `json:"dataEndpointHostNames,omitempty"`
// Encryption: The encryption settings of container registry.
Encryption *EncryptionProperty_STATUS `json:"encryption,omitempty"`
// LoginServer: The URL that can be used to log into the container registry.
LoginServer *string `json:"loginServer,omitempty"`
// NetworkRuleBypassOptions: Whether to allow trusted Azure services to access a network restricted registry.
NetworkRuleBypassOptions *RegistryProperties_NetworkRuleBypassOptions_STATUS `json:"networkRuleBypassOptions,omitempty"`
// NetworkRuleSet: The network rule set for a container registry.
NetworkRuleSet *NetworkRuleSet_STATUS `json:"networkRuleSet,omitempty"`
// Policies: The policies for a container registry.
Policies *Policies_STATUS `json:"policies,omitempty"`
// PrivateEndpointConnections: List of private endpoint connections for a container registry.
PrivateEndpointConnections []PrivateEndpointConnection_STATUS `json:"privateEndpointConnections,omitempty"`
// ProvisioningState: The provisioning state of the container registry at the time the operation was called.
ProvisioningState *RegistryProperties_ProvisioningState_STATUS `json:"provisioningState,omitempty"`
// PublicNetworkAccess: Whether or not public network access is allowed for the container registry.
PublicNetworkAccess *RegistryProperties_PublicNetworkAccess_STATUS `json:"publicNetworkAccess,omitempty"`
// Status: The status of the container registry at the time the operation was called.
Status *Status_STATUS `json:"status,omitempty"`
// ZoneRedundancy: Whether or not zone redundancy is enabled for this container registry
ZoneRedundancy *RegistryProperties_ZoneRedundancy_STATUS `json:"zoneRedundancy,omitempty"`
}
The properties of a container registry.
type RegistryProperties_ZoneRedundancy ¶
type RegistryProperties_ZoneRedundancy string
+kubebuilder:validation:Enum={"Disabled","Enabled"}
type RegistryProperties_ZoneRedundancy_STATUS ¶
type RegistryProperties_ZoneRedundancy_STATUS string
type Registry_STATUS ¶
type Registry_STATUS struct {
// Id: The resource ID.
Id *string `json:"id,omitempty"`
// Identity: The identity of the container registry.
Identity *IdentityProperties_STATUS `json:"identity,omitempty"`
// Location: The location of the resource. This cannot be changed after the resource is created.
Location *string `json:"location,omitempty"`
// Name: The name of the resource.
Name *string `json:"name,omitempty"`
// Properties: The properties of the container registry.
Properties *RegistryProperties_STATUS `json:"properties,omitempty"`
// Sku: The SKU of the container registry.
Sku *Sku_STATUS `json:"sku,omitempty"`
// SystemData: Metadata pertaining to creation and last modification of the resource.
SystemData *SystemData_STATUS `json:"systemData,omitempty"`
// Tags: The tags of the resource.
Tags map[string]string `json:"tags,omitempty"`
// Type: The type of the resource.
Type *string `json:"type,omitempty"`
}
An object that represents a container registry.
type Registry_Spec ¶
type Registry_Spec struct {
// Identity: The identity of the container registry.
Identity *IdentityProperties `json:"identity,omitempty"`
// Location: The location of the resource. This cannot be changed after the resource is created.
Location *string `json:"location,omitempty"`
Name string `json:"name,omitempty"`
// Properties: The properties of the container registry.
Properties *RegistryProperties `json:"properties,omitempty"`
// Sku: The SKU of the container registry.
Sku *Sku `json:"sku,omitempty"`
// Tags: The tags of the resource.
Tags map[string]string `json:"tags,omitempty"`
}
func (Registry_Spec) GetAPIVersion ¶
func (registry Registry_Spec) GetAPIVersion() string
GetAPIVersion returns the ARM API version of the resource. This is always "2021-09-01"
func (*Registry_Spec) GetName ¶
func (registry *Registry_Spec) GetName() string
GetName returns the Name of the resource
func (*Registry_Spec) GetType ¶
func (registry *Registry_Spec) GetType() string
GetType returns the ARM Type of the resource. This is always "Microsoft.ContainerRegistry/registries"
type RetentionPolicy ¶
type RetentionPolicy struct {
// Days: The number of days to retain an untagged manifest after which it gets purged.
Days *int `json:"days,omitempty"`
// Status: The value that indicates whether the policy is enabled or not.
Status *RetentionPolicy_Status `json:"status,omitempty"`
}
The retention policy for a container registry.
type RetentionPolicy_STATUS ¶
type RetentionPolicy_STATUS struct {
// Days: The number of days to retain an untagged manifest after which it gets purged.
Days *int `json:"days,omitempty"`
// LastUpdatedTime: The timestamp when the policy was last updated.
LastUpdatedTime *string `json:"lastUpdatedTime,omitempty"`
// Status: The value that indicates whether the policy is enabled or not.
Status *RetentionPolicy_Status_STATUS `json:"status,omitempty"`
}
The retention policy for a container registry.
type RetentionPolicy_Status ¶
type RetentionPolicy_Status string
+kubebuilder:validation:Enum={"disabled","enabled"}
type RetentionPolicy_Status_STATUS ¶
type RetentionPolicy_Status_STATUS string
type Sku ¶
type Sku struct {
// Name: The SKU name of the container registry. Required for registry creation.
Name *Sku_Name `json:"name,omitempty"`
}
The SKU of a container registry.
type Sku_Name ¶
type Sku_Name string
+kubebuilder:validation:Enum={"Basic","Classic","Premium","Standard"}
type Sku_Name_STATUS ¶
type Sku_Name_STATUS string
type Sku_STATUS ¶
type Sku_STATUS struct {
// Name: The SKU name of the container registry. Required for registry creation.
Name *Sku_Name_STATUS `json:"name,omitempty"`
// Tier: The SKU tier based on the SKU name.
Tier *Sku_Tier_STATUS `json:"tier,omitempty"`
}
The SKU of a container registry.
type Sku_Tier_STATUS ¶
type Sku_Tier_STATUS string
type Status_STATUS ¶
type Status_STATUS struct {
// DisplayStatus: The short label for the status.
DisplayStatus *string `json:"displayStatus,omitempty"`
// Message: The detailed message for the status, including alerts and error messages.
Message *string `json:"message,omitempty"`
// Timestamp: The timestamp when the status was changed to the current value.
Timestamp *string `json:"timestamp,omitempty"`
}
The status of an Azure resource at the time the operation was called.
type SystemData_CreatedByType_STATUS ¶
type SystemData_CreatedByType_STATUS string
type SystemData_LastModifiedByType_STATUS ¶
type SystemData_LastModifiedByType_STATUS string
type SystemData_STATUS ¶
type SystemData_STATUS struct {
// CreatedAt: The timestamp of resource creation (UTC).
CreatedAt *string `json:"createdAt,omitempty"`
// CreatedBy: The identity that created the resource.
CreatedBy *string `json:"createdBy,omitempty"`
// CreatedByType: The type of identity that created the resource.
CreatedByType *SystemData_CreatedByType_STATUS `json:"createdByType,omitempty"`
// LastModifiedAt: The timestamp of resource modification (UTC).
LastModifiedAt *string `json:"lastModifiedAt,omitempty"`
// LastModifiedBy: The identity that last modified the resource.
LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
// LastModifiedByType: The type of identity that last modified the resource.
LastModifiedByType *SystemData_LastModifiedByType_STATUS `json:"lastModifiedByType,omitempty"`
}
Metadata pertaining to creation and last modification of the resource.
type TrustPolicy ¶
type TrustPolicy struct {
// Status: The value that indicates whether the policy is enabled or not.
Status *TrustPolicy_Status `json:"status,omitempty"`
// Type: The type of trust policy.
Type *TrustPolicy_Type `json:"type,omitempty"`
}
The content trust policy for a container registry.
type TrustPolicy_STATUS ¶
type TrustPolicy_STATUS struct {
// Status: The value that indicates whether the policy is enabled or not.
Status *TrustPolicy_Status_STATUS `json:"status,omitempty"`
// Type: The type of trust policy.
Type *TrustPolicy_Type_STATUS `json:"type,omitempty"`
}
The content trust policy for a container registry.
type TrustPolicy_Status ¶
type TrustPolicy_Status string
+kubebuilder:validation:Enum={"disabled","enabled"}
type TrustPolicy_Status_STATUS ¶
type TrustPolicy_Status_STATUS string
type TrustPolicy_Type_STATUS ¶
type TrustPolicy_Type_STATUS string
type UserAssignedIdentityDetails ¶
type UserAssignedIdentityDetails struct {
}
Information about the user assigned identity for the resource