/
storage_accounts_file_service_spec_arm_types_gen.go
77 lines (60 loc) · 3.23 KB
/
storage_accounts_file_service_spec_arm_types_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package v1api20230101
import "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
type StorageAccounts_FileService_Spec_ARM struct {
Name string `json:"name,omitempty"`
// Properties: The properties of File services in storage account.
Properties *StorageAccounts_FileService_Properties_Spec_ARM `json:"properties,omitempty"`
}
var _ genruntime.ARMResourceSpec = &StorageAccounts_FileService_Spec_ARM{}
// GetAPIVersion returns the ARM API version of the resource. This is always "2023-01-01"
func (service StorageAccounts_FileService_Spec_ARM) GetAPIVersion() string {
return string(APIVersion_Value)
}
// GetName returns the Name of the resource
func (service *StorageAccounts_FileService_Spec_ARM) GetName() string {
return service.Name
}
// GetType returns the ARM Type of the resource. This is always "Microsoft.Storage/storageAccounts/fileServices"
func (service *StorageAccounts_FileService_Spec_ARM) GetType() string {
return "Microsoft.Storage/storageAccounts/fileServices"
}
type StorageAccounts_FileService_Properties_Spec_ARM struct {
// Cors: Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no
// CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the
// File service.
Cors *CorsRules_ARM `json:"cors,omitempty"`
// ProtocolSettings: Protocol settings for file service
ProtocolSettings *ProtocolSettings_ARM `json:"protocolSettings,omitempty"`
// ShareDeleteRetentionPolicy: The file service properties for share soft delete.
ShareDeleteRetentionPolicy *DeleteRetentionPolicy_ARM `json:"shareDeleteRetentionPolicy,omitempty"`
}
// Protocol settings for file service
type ProtocolSettings_ARM struct {
// Smb: Setting for SMB protocol
Smb *SmbSetting_ARM `json:"smb,omitempty"`
}
// Setting for SMB protocol
type SmbSetting_ARM struct {
// AuthenticationMethods: SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be
// passed as a string with delimiter ';'.
AuthenticationMethods *string `json:"authenticationMethods,omitempty"`
// ChannelEncryption: SMB channel encryption supported by server. Valid values are AES-128-CCM, AES-128-GCM, AES-256-GCM.
// Should be passed as a string with delimiter ';'.
ChannelEncryption *string `json:"channelEncryption,omitempty"`
// KerberosTicketEncryption: Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be
// passed as a string with delimiter ';'
KerberosTicketEncryption *string `json:"kerberosTicketEncryption,omitempty"`
// Multichannel: Multichannel setting. Applies to Premium FileStorage only.
Multichannel *Multichannel_ARM `json:"multichannel,omitempty"`
// Versions: SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a
// string with delimiter ';'.
Versions *string `json:"versions,omitempty"`
}
// Multichannel setting. Applies to Premium FileStorage only.
type Multichannel_ARM struct {
// Enabled: Indicates whether multichannel is enabled
Enabled *bool `json:"enabled,omitempty"`
}