/
storage_accounts_queue_service_spec_arm_types_gen.go
37 lines (29 loc) · 1.49 KB
/
storage_accounts_queue_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
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package v1api20220901
import "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
type StorageAccounts_QueueService_Spec_ARM struct {
Name string `json:"name,omitempty"`
// Properties: The properties of a storage account’s Queue service.
Properties *StorageAccounts_QueueService_Properties_Spec_ARM `json:"properties,omitempty"`
}
var _ genruntime.ARMResourceSpec = &StorageAccounts_QueueService_Spec_ARM{}
// GetAPIVersion returns the ARM API version of the resource. This is always "2022-09-01"
func (service StorageAccounts_QueueService_Spec_ARM) GetAPIVersion() string {
return string(APIVersion_Value)
}
// GetName returns the Name of the resource
func (service *StorageAccounts_QueueService_Spec_ARM) GetName() string {
return service.Name
}
// GetType returns the ARM Type of the resource. This is always "Microsoft.Storage/storageAccounts/queueServices"
func (service *StorageAccounts_QueueService_Spec_ARM) GetType() string {
return "Microsoft.Storage/storageAccounts/queueServices"
}
type StorageAccounts_QueueService_Properties_Spec_ARM struct {
// Cors: Specifies CORS rules for the Queue 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
// Queue service.
Cors *CorsRules_ARM `json:"cors,omitempty"`
}