ProviderOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:provider> attribute.
- Inheritance
-
builtins.objectProviderOperations
Constructor
ProviderOperations(*args, **kwargs)
Methods
get_available_stacks |
Get available application frameworks and their versions. Get available application frameworks and their versions. |
get_available_stacks_on_prem |
Get available application frameworks and their versions. Get available application frameworks and their versions. |
get_function_app_stacks |
Get available Function app frameworks and their versions. Get available Function app frameworks and their versions. |
get_function_app_stacks_for_location |
Get available Function app frameworks and their versions for location. Get available Function app frameworks and their versions for location. |
get_web_app_stacks |
Get available Web app frameworks and their versions. Get available Web app frameworks and their versions. |
get_web_app_stacks_for_location |
Get available Web app frameworks and their versions for location. Get available Web app frameworks and their versions for location. |
list_operations |
Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions. Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions. |
get_available_stacks
Get available application frameworks and their versions.
Get available application frameworks and their versions.
get_available_stacks(os_type_selected: str | ProviderOsTypeSelected | None = None, **kwargs: Any) -> Iterable[ApplicationStackResource]
Parameters
Name | Description |
---|---|
os_type_selected
Required
|
Known values are: "Windows", "Linux", "WindowsFunctions", "LinuxFunctions", and "All". Default value is None. |
Returns
Type | Description |
---|---|
An iterator like instance of either ApplicationStackResource or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get_available_stacks_on_prem
Get available application frameworks and their versions.
Get available application frameworks and their versions.
get_available_stacks_on_prem(os_type_selected: str | ProviderOsTypeSelected | None = None, **kwargs: Any) -> Iterable[ApplicationStackResource]
Parameters
Name | Description |
---|---|
os_type_selected
Required
|
Known values are: "Windows", "Linux", "WindowsFunctions", "LinuxFunctions", and "All". Default value is None. |
Returns
Type | Description |
---|---|
An iterator like instance of either ApplicationStackResource or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get_function_app_stacks
Get available Function app frameworks and their versions.
Get available Function app frameworks and their versions.
get_function_app_stacks(stack_os_type: str | ProviderStackOsType | None = None, **kwargs: Any) -> Iterable[FunctionAppStack]
Parameters
Name | Description |
---|---|
stack_os_type
Required
|
Stack OS Type. Known values are: "Windows", "Linux", and "All". Default value is None. |
Returns
Type | Description |
---|---|
An iterator like instance of either FunctionAppStack or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get_function_app_stacks_for_location
Get available Function app frameworks and their versions for location.
Get available Function app frameworks and their versions for location.
get_function_app_stacks_for_location(location: str, stack_os_type: str | ProviderStackOsType | None = None, **kwargs: Any) -> Iterable[FunctionAppStack]
Parameters
Name | Description |
---|---|
location
Required
|
Function App stack location. Required. |
stack_os_type
Required
|
Stack OS Type. Known values are: "Windows", "Linux", and "All". Default value is None. |
Returns
Type | Description |
---|---|
An iterator like instance of either FunctionAppStack or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get_web_app_stacks
Get available Web app frameworks and their versions.
Get available Web app frameworks and their versions.
get_web_app_stacks(stack_os_type: str | ProviderStackOsType | None = None, **kwargs: Any) -> Iterable[WebAppStack]
Parameters
Name | Description |
---|---|
stack_os_type
Required
|
Stack OS Type. Known values are: "Windows", "Linux", and "All". Default value is None. |
Returns
Type | Description |
---|---|
An iterator like instance of either WebAppStack or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get_web_app_stacks_for_location
Get available Web app frameworks and their versions for location.
Get available Web app frameworks and their versions for location.
get_web_app_stacks_for_location(location: str, stack_os_type: str | ProviderStackOsType | None = None, **kwargs: Any) -> Iterable[WebAppStack]
Parameters
Name | Description |
---|---|
location
Required
|
Web App stack location. Required. |
stack_os_type
Required
|
Stack OS Type. Known values are: "Windows", "Linux", and "All". Default value is None. |
Returns
Type | Description |
---|---|
An iterator like instance of either WebAppStack or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_operations
Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions.
Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions.
list_operations(**kwargs: Any) -> Iterable[CsmOperationDescription]
Returns
Type | Description |
---|---|
An iterator like instance of either CsmOperationDescription or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.web.v2021_03_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\web\\v2021_03_01\\models\\__init__.py'>
Azure SDK for Python