FactoriesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:factories> attribute.
- Inheritance
-
builtins.objectFactoriesOperations
Constructor
FactoriesOperations(*args, **kwargs)
Methods
| configure_factory_repo |
Updates a factory's repo information. |
| create_or_update |
Creates or updates a factory. |
| delete |
Deletes a factory. |
| get |
Gets a factory. |
| get_data_plane_access |
Get Data Plane access. |
| get_git_hub_access_token |
Get GitHub Access Token. |
| list |
Lists factories under the specified subscription. |
| list_by_resource_group |
Lists factories. |
| update |
Updates a factory. |
configure_factory_repo
Updates a factory's repo information.
async configure_factory_repo(location_id: str, factory_repo_update: azure.mgmt.datafactory.models._models_py3.FactoryRepoUpdate, **kwargs: Any) -> azure.mgmt.datafactory.models._models_py3.Factory
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Factory, or the result of cls(response)
Return type
Exceptions
create_or_update
Creates or updates a factory.
async create_or_update(resource_group_name: str, factory_name: str, factory: azure.mgmt.datafactory.models._models_py3.Factory, if_match: Optional[str] = None, **kwargs: Any) -> azure.mgmt.datafactory.models._models_py3.Factory
Parameters
- if_match
- str
ETag of the factory entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. Default value is None.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Factory, or the result of cls(response)
Return type
Exceptions
delete
Deletes a factory.
async delete(resource_group_name: str, factory_name: str, **kwargs: Any) -> None
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
get
Gets a factory.
async get(resource_group_name: str, factory_name: str, if_none_match: Optional[str] = None, **kwargs: Any) -> Optional[azure.mgmt.datafactory.models._models_py3.Factory]
Parameters
- if_none_match
- str
ETag of the factory entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned. Default value is None.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Factory, or the result of cls(response)
Return type
Exceptions
get_data_plane_access
Get Data Plane access.
async get_data_plane_access(resource_group_name: str, factory_name: str, policy: azure.mgmt.datafactory.models._models_py3.UserAccessPolicy, **kwargs: Any) -> azure.mgmt.datafactory.models._models_py3.AccessPolicyResponse
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
AccessPolicyResponse, or the result of cls(response)
Return type
Exceptions
get_git_hub_access_token
Get GitHub Access Token.
async get_git_hub_access_token(resource_group_name: str, factory_name: str, git_hub_access_token_request: azure.mgmt.datafactory.models._models_py3.GitHubAccessTokenRequest, **kwargs: Any) -> azure.mgmt.datafactory.models._models_py3.GitHubAccessTokenResponse
Parameters
- git_hub_access_token_request
- GitHubAccessTokenRequest
Get GitHub access token request definition.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
GitHubAccessTokenResponse, or the result of cls(response)
Return type
Exceptions
list
Lists factories under the specified subscription.
list(**kwargs: Any) -> AsyncIterable[azure.mgmt.datafactory.models._models_py3.FactoryListResponse]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either FactoryListResponse or the result of cls(response)
Return type
Exceptions
list_by_resource_group
Lists factories.
list_by_resource_group(resource_group_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.datafactory.models._models_py3.FactoryListResponse]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either FactoryListResponse or the result of cls(response)
Return type
Exceptions
update
Updates a factory.
async update(resource_group_name: str, factory_name: str, factory_update_parameters: azure.mgmt.datafactory.models._models_py3.FactoryUpdateParameters, **kwargs: Any) -> azure.mgmt.datafactory.models._models_py3.Factory
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Factory, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.datafactory.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\datafactory\\models\\__init__.py'>
Feedback
Submit and view feedback for