-
Notifications
You must be signed in to change notification settings - Fork 238
/
azure.mgmt.storage.v2021_08_01.operations.FileServicesOperations.yml
125 lines (112 loc) · 4.58 KB
/
azure.mgmt.storage.v2021_08_01.operations.FileServicesOperations.yml
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
### YamlMime:PythonClass
uid: azure.mgmt.storage.v2021_08_01.operations.FileServicesOperations
name: FileServicesOperations
fullName: azure.mgmt.storage.v2021_08_01.operations.FileServicesOperations
module: azure.mgmt.storage.v2021_08_01.operations
inheritances:
- builtins.object
summary: "> [!WARNING]\n> DO NOT instantiate this class directly.\n>\n> \n>\n> Instead,\
\ you should access the following operations through\n>\n> <xref:azure.mgmt.storage.v2021_08_01.StorageManagementClient>'s\n\
>\n> <xref:file_services> attribute.\n>"
constructor:
syntax: FileServicesOperations(*args, **kwargs)
methods:
- uid: azure.mgmt.storage.v2021_08_01.operations.FileServicesOperations.get_service_properties
name: get_service_properties
summary: 'Gets the properties of file services in storage accounts, including CORS
(Cross-Origin Resource
Sharing) rules.'
signature: 'get_service_properties(resource_group_name: str, account_name: str,
**kwargs: Any) -> FileServiceProperties'
parameters:
- name: resource_group_name
description: 'The name of the resource group within the user''s subscription.
The
name is case insensitive. Required.'
isRequired: true
types:
- <xref:str>
- name: account_name
description: 'The name of the storage account within the specified resource group.
Storage account names must be between 3 and 24 characters in length and use
numbers and
lower-case letters only. Required.'
isRequired: true
types:
- <xref:str>
return:
description: FileServiceProperties or the result of cls(response)
types:
- <xref:azure.mgmt.storage.v2021_08_01.models.FileServiceProperties>
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.storage.v2021_08_01.operations.FileServicesOperations.list
name: list
summary: List all file services in storage accounts.
signature: 'list(resource_group_name: str, account_name: str, **kwargs: Any) ->
FileServiceItems'
parameters:
- name: resource_group_name
description: 'The name of the resource group within the user''s subscription.
The
name is case insensitive. Required.'
isRequired: true
types:
- <xref:str>
- name: account_name
description: 'The name of the storage account within the specified resource group.
Storage account names must be between 3 and 24 characters in length and use
numbers and
lower-case letters only. Required.'
isRequired: true
types:
- <xref:str>
return:
description: FileServiceItems or the result of cls(response)
types:
- <xref:azure.mgmt.storage.v2021_08_01.models.FileServiceItems>
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.storage.v2021_08_01.operations.FileServicesOperations.set_service_properties
name: set_service_properties
summary: 'Sets the properties of file services in storage accounts, including CORS
(Cross-Origin Resource
Sharing) rules.'
signature: 'set_service_properties(resource_group_name: str, account_name: str,
parameters: _models.FileServiceProperties, *, content_type: str = ''application/json'',
**kwargs: Any) -> _models.FileServiceProperties'
parameters:
- name: resource_group_name
description: 'The name of the resource group within the user''s subscription.
The
name is case insensitive. Required.'
isRequired: true
types:
- <xref:str>
- name: account_name
description: 'The name of the storage account within the specified resource group.
Storage account names must be between 3 and 24 characters in length and use
numbers and
lower-case letters only. Required.'
isRequired: true
types:
- <xref:str>
- name: parameters
description: 'The properties of file services in storage accounts, including CORS
(Cross-Origin Resource Sharing) rules. Is either a FileServiceProperties type
or a IO[bytes]
type. Required.'
isRequired: true
types:
- <xref:azure.mgmt.storage.v2021_08_01.models.FileServiceProperties>
- <xref:typing.IO>[<xref:bytes>]
return:
description: FileServiceProperties or the result of cls(response)
types:
- <xref:azure.mgmt.storage.v2021_08_01.models.FileServiceProperties>
exceptions:
- type: azure.core.exceptions.HttpResponseError
attributes:
- uid: azure.mgmt.storage.v2021_08_01.operations.FileServicesOperations.models
name: models
signature: models = <module 'azure.mgmt.storage.v2021_08_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\storage\\v2021_08_01\\models\\__init__.py'>