azure-mgmt-agricultureplatform 1.0.0b1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. azure/mgmt/agricultureplatform/__init__.py +32 -0
  2. azure/mgmt/agricultureplatform/_client.py +137 -0
  3. azure/mgmt/agricultureplatform/_configuration.py +80 -0
  4. azure/mgmt/agricultureplatform/_patch.py +21 -0
  5. azure/mgmt/agricultureplatform/_utils/__init__.py +6 -0
  6. azure/mgmt/agricultureplatform/_utils/model_base.py +1337 -0
  7. azure/mgmt/agricultureplatform/_utils/serialization.py +2041 -0
  8. azure/mgmt/agricultureplatform/_version.py +9 -0
  9. azure/mgmt/agricultureplatform/aio/__init__.py +29 -0
  10. azure/mgmt/agricultureplatform/aio/_client.py +141 -0
  11. azure/mgmt/agricultureplatform/aio/_configuration.py +80 -0
  12. azure/mgmt/agricultureplatform/aio/_patch.py +21 -0
  13. azure/mgmt/agricultureplatform/aio/operations/__init__.py +27 -0
  14. azure/mgmt/agricultureplatform/aio/operations/_operations.py +1102 -0
  15. azure/mgmt/agricultureplatform/aio/operations/_patch.py +21 -0
  16. azure/mgmt/agricultureplatform/models/__init__.py +92 -0
  17. azure/mgmt/agricultureplatform/models/_enums.py +103 -0
  18. azure/mgmt/agricultureplatform/models/_models.py +1037 -0
  19. azure/mgmt/agricultureplatform/models/_patch.py +21 -0
  20. azure/mgmt/agricultureplatform/operations/__init__.py +27 -0
  21. azure/mgmt/agricultureplatform/operations/_operations.py +1303 -0
  22. azure/mgmt/agricultureplatform/operations/_patch.py +21 -0
  23. azure/mgmt/agricultureplatform/py.typed +1 -0
  24. azure_mgmt_agricultureplatform-1.0.0b1.dist-info/METADATA +94 -0
  25. azure_mgmt_agricultureplatform-1.0.0b1.dist-info/RECORD +28 -0
  26. azure_mgmt_agricultureplatform-1.0.0b1.dist-info/WHEEL +5 -0
  27. azure_mgmt_agricultureplatform-1.0.0b1.dist-info/licenses/LICENSE +21 -0
  28. azure_mgmt_agricultureplatform-1.0.0b1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,21 @@
1
+ # coding=utf-8
2
+ # --------------------------------------------------------------------------
3
+ # Copyright (c) Microsoft Corporation. All rights reserved.
4
+ # Licensed under the MIT License. See License.txt in the project root for license information.
5
+ # --------------------------------------------------------------------------
6
+ """Customize generated code here.
7
+
8
+ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
9
+ """
10
+
11
+
12
+ __all__: list[str] = [] # Add all objects you want publicly available to users at this package level
13
+
14
+
15
+ def patch_sdk():
16
+ """Do not remove from this file.
17
+
18
+ `patch_sdk` is a last resort escape hatch that allows you to do customizations
19
+ you can't accomplish using the techniques described in
20
+ https://aka.ms/azsdk/python/dpcodegen/python/customize
21
+ """
@@ -0,0 +1,92 @@
1
+ # coding=utf-8
2
+ # --------------------------------------------------------------------------
3
+ # Copyright (c) Microsoft Corporation. All rights reserved.
4
+ # Licensed under the MIT License. See License.txt in the project root for license information.
5
+ # Code generated by Microsoft (R) Python Code Generator.
6
+ # Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ # --------------------------------------------------------------------------
8
+ # pylint: disable=wrong-import-position
9
+
10
+ from typing import TYPE_CHECKING
11
+
12
+ if TYPE_CHECKING:
13
+ from ._patch import * # pylint: disable=unused-wildcard-import
14
+
15
+
16
+ from ._models import ( # type: ignore
17
+ AgriServiceConfig,
18
+ AgriServiceResource,
19
+ AgriServiceResourceProperties,
20
+ AgriServiceResourceUpdate,
21
+ AgriServiceResourceUpdateProperties,
22
+ AvailableAgriSolutionListResult,
23
+ DataConnectorCredentialMap,
24
+ DataConnectorCredentials,
25
+ DataManagerForAgricultureSolution,
26
+ ErrorAdditionalInfo,
27
+ ErrorDetail,
28
+ ErrorResponse,
29
+ InstalledSolutionMap,
30
+ ManagedOnBehalfOfConfiguration,
31
+ ManagedServiceIdentity,
32
+ MarketPlaceOfferDetails,
33
+ MoboBrokerResource,
34
+ Operation,
35
+ OperationDisplay,
36
+ Resource,
37
+ Sku,
38
+ Solution,
39
+ SystemData,
40
+ TrackedResource,
41
+ UserAssignedIdentity,
42
+ )
43
+
44
+ from ._enums import ( # type: ignore
45
+ ActionType,
46
+ AuthCredentialsKind,
47
+ CreatedByType,
48
+ ManagedServiceIdentityType,
49
+ Origin,
50
+ ProvisioningState,
51
+ SkuTier,
52
+ )
53
+ from ._patch import __all__ as _patch_all
54
+ from ._patch import *
55
+ from ._patch import patch_sdk as _patch_sdk
56
+
57
+ __all__ = [
58
+ "AgriServiceConfig",
59
+ "AgriServiceResource",
60
+ "AgriServiceResourceProperties",
61
+ "AgriServiceResourceUpdate",
62
+ "AgriServiceResourceUpdateProperties",
63
+ "AvailableAgriSolutionListResult",
64
+ "DataConnectorCredentialMap",
65
+ "DataConnectorCredentials",
66
+ "DataManagerForAgricultureSolution",
67
+ "ErrorAdditionalInfo",
68
+ "ErrorDetail",
69
+ "ErrorResponse",
70
+ "InstalledSolutionMap",
71
+ "ManagedOnBehalfOfConfiguration",
72
+ "ManagedServiceIdentity",
73
+ "MarketPlaceOfferDetails",
74
+ "MoboBrokerResource",
75
+ "Operation",
76
+ "OperationDisplay",
77
+ "Resource",
78
+ "Sku",
79
+ "Solution",
80
+ "SystemData",
81
+ "TrackedResource",
82
+ "UserAssignedIdentity",
83
+ "ActionType",
84
+ "AuthCredentialsKind",
85
+ "CreatedByType",
86
+ "ManagedServiceIdentityType",
87
+ "Origin",
88
+ "ProvisioningState",
89
+ "SkuTier",
90
+ ]
91
+ __all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
92
+ _patch_sdk()
@@ -0,0 +1,103 @@
1
+ # coding=utf-8
2
+ # --------------------------------------------------------------------------
3
+ # Copyright (c) Microsoft Corporation. All rights reserved.
4
+ # Licensed under the MIT License. See License.txt in the project root for license information.
5
+ # Code generated by Microsoft (R) Python Code Generator.
6
+ # Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ # --------------------------------------------------------------------------
8
+
9
+ from enum import Enum
10
+ from azure.core import CaseInsensitiveEnumMeta
11
+
12
+
13
+ class ActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
14
+ """Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal
15
+ only APIs.
16
+ """
17
+
18
+ INTERNAL = "Internal"
19
+ """Actions are for internal-only APIs."""
20
+
21
+
22
+ class AuthCredentialsKind(str, Enum, metaclass=CaseInsensitiveEnumMeta):
23
+ """Types of different kind of Data connector auth credentials supported."""
24
+
25
+ O_AUTH_CLIENT_CREDENTIALS = "OAuthClientCredentials"
26
+ """OAuth Client Credential type."""
27
+ API_KEY_AUTH_CREDENTIALS = "ApiKeyAuthCredentials"
28
+ """API Key Auth Credential type."""
29
+
30
+
31
+ class CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
32
+ """The kind of entity that created the resource."""
33
+
34
+ USER = "User"
35
+ """The entity was created by a user."""
36
+ APPLICATION = "Application"
37
+ """The entity was created by an application."""
38
+ MANAGED_IDENTITY = "ManagedIdentity"
39
+ """The entity was created by a managed identity."""
40
+ KEY = "Key"
41
+ """The entity was created by a key."""
42
+
43
+
44
+ class ManagedServiceIdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
45
+ """Type of managed service identity (where both SystemAssigned and UserAssigned types are
46
+ allowed).
47
+ """
48
+
49
+ NONE = "None"
50
+ """No managed identity."""
51
+ SYSTEM_ASSIGNED = "SystemAssigned"
52
+ """System assigned managed identity."""
53
+ USER_ASSIGNED = "UserAssigned"
54
+ """User assigned managed identity."""
55
+ SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned,UserAssigned"
56
+ """System and user assigned managed identity."""
57
+
58
+
59
+ class Origin(str, Enum, metaclass=CaseInsensitiveEnumMeta):
60
+ """The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit
61
+ logs UX. Default value is "user,system".
62
+ """
63
+
64
+ USER = "user"
65
+ """Indicates the operation is initiated by a user."""
66
+ SYSTEM = "system"
67
+ """Indicates the operation is initiated by a system."""
68
+ USER_SYSTEM = "user,system"
69
+ """Indicates the operation is initiated by a user or system."""
70
+
71
+
72
+ class ProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
73
+ """The status of the current operation."""
74
+
75
+ SUCCEEDED = "Succeeded"
76
+ """Resource has been created."""
77
+ FAILED = "Failed"
78
+ """Resource creation failed."""
79
+ CANCELED = "Canceled"
80
+ """Resource creation was canceled."""
81
+ PROVISIONING = "Provisioning"
82
+ """The resource is being provisioned."""
83
+ UPDATING = "Updating"
84
+ """The resource is updating."""
85
+ DELETING = "Deleting"
86
+ """The resource is being deleted."""
87
+ ACCEPTED = "Accepted"
88
+ """The resource create request has been accepted."""
89
+
90
+
91
+ class SkuTier(str, Enum, metaclass=CaseInsensitiveEnumMeta):
92
+ """This field is required to be implemented by the Resource Provider if the service has more than
93
+ one tier, but is not required on a PUT.
94
+ """
95
+
96
+ FREE = "Free"
97
+ """The Free service tier."""
98
+ BASIC = "Basic"
99
+ """The Basic service tier."""
100
+ STANDARD = "Standard"
101
+ """The Standard service tier."""
102
+ PREMIUM = "Premium"
103
+ """The Premium service tier."""