-
Notifications
You must be signed in to change notification settings - Fork 233
/
azure.mgmt.cosmosdb.aio.operations.ServiceOperations.yml
142 lines (136 loc) · 4.94 KB
/
azure.mgmt.cosmosdb.aio.operations.ServiceOperations.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
### YamlMime:PythonClass
uid: azure.mgmt.cosmosdb.aio.operations.ServiceOperations
name: ServiceOperations
fullName: azure.mgmt.cosmosdb.aio.operations.ServiceOperations
module: azure.mgmt.cosmosdb.aio.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.cosmosdb.aio.CosmosDBManagementClient>'s\n\
>\n> <xref:service> attribute.\n>"
constructor:
syntax: ServiceOperations(*args, **kwargs)
methods:
- uid: azure.mgmt.cosmosdb.aio.operations.ServiceOperations.begin_create
name: begin_create
summary: Creates a service.
signature: 'async begin_create(resource_group_name: str, account_name: str, service_name:
str, create_update_parameters: _models.ServiceResourceCreateUpdateParameters,
*, content_type: str = ''application/json'', **kwargs: Any) -> AsyncLROPoller[_models.ServiceResource]'
parameters:
- name: resource_group_name
description: 'The name of the resource group. The name is case insensitive.
Required.'
isRequired: true
types:
- <xref:str>
- name: account_name
description: Cosmos DB database account name. Required.
isRequired: true
types:
- <xref:str>
- name: service_name
description: Cosmos DB service name. Required.
isRequired: true
types:
- <xref:str>
- name: create_update_parameters
description: 'The Service resource parameters. Is either a
ServiceResourceCreateUpdateParameters type or a IO[bytes] type. Required.'
isRequired: true
types:
- <xref:azure.mgmt.cosmosdb.models.ServiceResourceCreateUpdateParameters>
- <xref:typing.IO>[<xref:bytes>]
return:
description: 'An instance of AsyncLROPoller that returns either ServiceResource
or the result of
cls(response)'
types:
- <xref:azure.core.polling.AsyncLROPoller>[<xref:azure.mgmt.cosmosdb.models.ServiceResource>]
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.cosmosdb.aio.operations.ServiceOperations.begin_delete
name: begin_delete
summary: Deletes service with the given serviceName.
signature: 'async begin_delete(resource_group_name: str, account_name: str, service_name:
str, **kwargs: Any) -> AsyncLROPoller[None]'
parameters:
- name: resource_group_name
description: 'The name of the resource group. The name is case insensitive.
Required.'
isRequired: true
types:
- <xref:str>
- name: account_name
description: Cosmos DB database account name. Required.
isRequired: true
types:
- <xref:str>
- name: service_name
description: Cosmos DB service name. Required.
isRequired: true
types:
- <xref:str>
return:
description: An instance of AsyncLROPoller that returns either None or the result
of cls(response)
types:
- <xref:azure.core.polling.AsyncLROPoller>[<xref:None>]
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.cosmosdb.aio.operations.ServiceOperations.get
name: get
summary: Gets the status of service.
signature: 'async get(resource_group_name: str, account_name: str, service_name:
str, **kwargs: Any) -> ServiceResource'
parameters:
- name: resource_group_name
description: 'The name of the resource group. The name is case insensitive.
Required.'
isRequired: true
types:
- <xref:str>
- name: account_name
description: Cosmos DB database account name. Required.
isRequired: true
types:
- <xref:str>
- name: service_name
description: Cosmos DB service name. Required.
isRequired: true
types:
- <xref:str>
return:
description: ServiceResource or the result of cls(response)
types:
- <xref:azure.mgmt.cosmosdb.models.ServiceResource>
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.cosmosdb.aio.operations.ServiceOperations.list
name: list
summary: Gets the status of service.
signature: 'list(resource_group_name: str, account_name: str, **kwargs: Any) ->
AsyncIterable[ServiceResource]'
parameters:
- name: resource_group_name
description: 'The name of the resource group. The name is case insensitive.
Required.'
isRequired: true
types:
- <xref:str>
- name: account_name
description: Cosmos DB database account name. Required.
isRequired: true
types:
- <xref:str>
return:
description: An iterator like instance of either ServiceResource or the result
of cls(response)
types:
- <xref:azure.core.async_paging.AsyncItemPaged>[<xref:azure.mgmt.cosmosdb.models.ServiceResource>]
exceptions:
- type: azure.core.exceptions.HttpResponseError
attributes:
- uid: azure.mgmt.cosmosdb.aio.operations.ServiceOperations.models
name: models
signature: models = <module 'azure.mgmt.cosmosdb.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\cosmosdb\\models\\__init__.py'>