Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
8ea8421
add appservice-kube extension
ebencarek May 6, 2020
aa0795f
Retrieving function triggers from the function image
SatishRanjan May 16, 2020
ff3b68f
Retrieving function triggers from the function image
SatishRanjan May 16, 2020
ca0276d
Fix appservice kube list by subscription
ebencarek May 15, 2020
31c796b
Fix transient error when loading arguments
ebencarek May 15, 2020
9a9a90f
Added az webapp up support
sanchitmehta May 11, 2020
b7fb864
Handled code review comments
sanchitmehta May 26, 2020
7b62957
bump up version to 0.1.1
ebencarek May 27, 2020
bb3a2a2
Use custom sdk code for app service plan command sdk
ebencarek Jun 11, 2020
faebbf0
Version 0.1.2
ebencarek Jun 11, 2020
c3c0fd5
Private registry image support and fixig windows to unix line feed ch…
SatishRanjan Jun 27, 2020
2e2ecb4
Removing debugpy.breaspoint() line
SatishRanjan Jun 30, 2020
9a1f432
Update custom.py
SatishRanjan Jul 7, 2020
60a3e9b
Update custom.py
SatishRanjan Jul 7, 2020
694cf05
fixing the condition when the image is from the public registry with …
SatishRanjan Jul 23, 2020
1d3f93c
Update sdk, add BYO AKS cluster to kube create command
ebencarek Sep 18, 2020
2b27df4
Add version 0.1.3
ebencarek Sep 18, 2020
8d4d3f0
Copying getfunctionsjson.sh as part of appservice-kube extension and …
SatishRanjan Oct 2, 2020
9e95f2d
Adding version 0.1.4
ebencarek Oct 5, 2020
714248e
fix
calvinsID Oct 9, 2020
752926b
Update version to 0.1.5
ebencarek Oct 9, 2020
11999bb
Update kube environments SDK
ebencarek Oct 28, 2020
6432dbb
Add version 0.1.6
ebencarek Oct 28, 2020
ff7c355
Update kube environments SDK (using api version 2020-06-01), delete o…
ebencarek Dec 22, 2020
35221e9
Add version 0.1.7
ebencarek Dec 22, 2020
eecafb2
remove azure-cli-core dependency
ebencarek Feb 19, 2021
ffcfc23
Add version 0.1.8
ebencarek Feb 19, 2021
c6b63e6
Add latest changes from cli core (except az webapp up)
calvinsID Mar 24, 2021
bb83774
Bugfix: if ftp deployment profile doesn't exist, zip deploy fails
calvinsID Mar 30, 2021
bb3f860
Bugfix: index.json had weird merge conflict
calvinsID Mar 30, 2021
b2293f6
Bugfix: webapp config container set wasn't setting
calvinsID Mar 30, 2021
5bd7f73
Version 0.1.9
calvinsID Mar 31, 2021
b83b2a2
Add functionapp config container set
calvinsID Apr 6, 2021
db7a304
Start referencing main cli
calvinsID Apr 6, 2021
3bf5215
Functionapp deployment source config-zip command fix (copy over from …
calvinsID Apr 6, 2021
6ead073
Functions CLI should not pull docker image
calvinsID Apr 9, 2021
6ee2fb5
Plan creation should drop --kube-environment and --kube-sku
calvinsID Apr 10, 2021
f03a04c
Change kind to 'linux,kubernetes'
calvinsID Apr 10, 2021
2096657
Help text changes
calvinsID Apr 10, 2021
7cda49f
Publish extension v 0.1.10
calvinsID Apr 12, 2021
5d1d5e6
Version 0.1.11, since broke appservice plan create for non-k8se plans
calvinsID Apr 12, 2021
fa243d7
Allow specifying custom location by name rather than resource ID
calvinsID Apr 13, 2021
e2322a4
az appservice kube create command
calvinsID Apr 13, 2021
18a95f3
Change ASP kind back to K8SE, reserved to None
calvinsID Apr 13, 2021
34992e7
Publish 0.1.12 whl
calvinsID Apr 14, 2021
2be983a
az webapp create doesn't require plan for k8se
calvinsID Apr 20, 2021
42e83d0
Change app service plan kind to 'linux,kubernetes' and reserved=true if
calvinsID Apr 20, 2021
0eac695
Webapp create should pass with ASP kind=linux if SKU is a kube sku
calvinsID Apr 20, 2021
6878773
az functionapp create without plan
calvinsID Apr 20, 2021
fe960bb
Fix bug where if webapp/functionapp create called to update, if --pla…
calvinsID Apr 20, 2021
81aa8db
fix webapp/functionapp create, if calling create again with new custo…
calvinsID Apr 21, 2021
b48e04d
Version 0.1.13
calvinsID Apr 21, 2021
7d96f27
Version 0.1.14 temporary change to stop doing the list in web/func ap…
calvinsID Apr 26, 2021
7fff6b2
Add better help text for appservice create with custom location
calvinsID Apr 30, 2021
03cc4c8
Update appservice SDK for kube extension to 2020-12-01
calvinsID Apr 30, 2021
40aa79d
Clean up az kube create
calvinsID Apr 30, 2021
cb8c593
Update to version 0.1.15
calvinsID May 3, 2021
f93c898
Fix dotnet5 bug
calvinsID May 5, 2021
40afbc4
Converting skus for kubernetes ASPs to the new values
ebencarek May 5, 2021
16ee7bb
Merge pull request #1 from calvinsID/user/ebcarek/new-kube-skus
calvinsID May 5, 2021
96760a2
0.1.16 version
calvinsID May 5, 2021
692e4fa
Set number of workers to 1 when creating ASP
calvinsID May 6, 2021
ed34d7b
Add webapp scale command
calvinsID May 6, 2021
c5c6f6b
Version 0.1.17 with az webapp scale
calvinsID May 7, 2021
859bdf5
rename az webapp scale param
calvinsID May 8, 2021
9105dfd
Move restart in from main CLI, since api returns 202 rather than 200.…
calvinsID May 12, 2021
db89855
Change SDK to have extended location envelope manually - need to see why
calvinsID May 8, 2021
4ce2e59
Pass ExtendedLocationEnvelope to web/functionapp, appservice plan and…
calvinsID May 12, 2021
908dd85
Version 0.1.18
calvinsID May 13, 2021
5f12407
Remove webapp up from extension
calvinsID May 14, 2021
0f85643
Use delete_app_settings function from cli core
calvinsID May 14, 2021
1f2e1d3
Use webapp validator from core CLI
calvinsID May 17, 2021
3cfdb04
Use updated update_app_settings function from core CLI
calvinsID May 17, 2021
17dfd66
0.1.19 version
calvinsID May 17, 2021
02770eb
Fix regression when using main CLI validators
calvinsID May 17, 2021
4ffb55a
0.1.20 version
calvinsID May 17, 2021
5549691
az appservice kube create: better error message when conflict
calvinsID Jun 29, 2021
ba59ea6
Remove vsts_cd_manager
calvinsID Jul 22, 2021
0d174f4
Version 0.1.21
calvinsID Jul 22, 2021
e3afa2d
Merge latest master
calvinsID Jul 22, 2021
97e4b5f
Update index.json
calvinsID Jul 22, 2021
79aff04
K8se master kube env create validations (#3)
calvinsID Jul 22, 2021
86d8a53
Version 0.2.0
calvinsID Jul 22, 2021
9d29882
Use ExtendedLocation property ob object level (#4)
calvinsID Aug 24, 2021
0508a6e
Static ip not required property in kube create
calvinsID Aug 25, 2021
a1ead2f
Version 0.2.1
calvinsID Aug 25, 2021
550a56b
Fix NoneType object has no attribute custom_location error
calvinsID Aug 27, 2021
6ab0f7b
Bugfix: Wrong custom location being used if multiple custom locations…
calvinsID Sep 2, 2021
d119388
Merge branch 'k8se-master' of https://github.com/calvinsID/azure-cli-…
calvinsID Sep 2, 2021
7ccd608
Version 0.2.2
calvinsID Sep 2, 2021
f158c95
remove old SDK and start 'az appservice kube' rewrite
StrawnSC Sep 8, 2021
e1b8a14
rewrite 'az appservice kube show'
StrawnSC Sep 8, 2021
d7df221
rewrite 'az appservice kube list'
StrawnSC Sep 8, 2021
defcbad
rewrite 'az appservice kube delete'
StrawnSC Sep 8, 2021
af91efa
re-add appservice kube create checks and start appservice kube update…
StrawnSC Sep 9, 2021
afbac84
raise exception for 'az appservice kube update'
StrawnSC Sep 10, 2021
75b6efe
add 'az appservice kube wait'
StrawnSC Sep 10, 2021
a245c55
add kube list pagination
StrawnSC Sep 10, 2021
597c305
fix 'az appservice create'
StrawnSC Sep 13, 2021
084a0ae
fix 'az appservice plan update'
StrawnSC Sep 13, 2021
c333051
fix 'az webapp create'
StrawnSC Sep 17, 2021
e941fa5
fix az webapp show/restart
StrawnSC Sep 17, 2021
ebb6a9c
remove 'az webapp config container set'
StrawnSC Sep 23, 2021
cb66bff
remove uneeded TODOs
StrawnSC Sep 27, 2021
7fc671e
format results of 'az appservice kube show/list'
StrawnSC Sep 27, 2021
110081f
remove TODOs and fix 'az webapp show -s'
StrawnSC Sep 29, 2021
6731f84
add misc style fixes
StrawnSC Sep 30, 2021
e2344c8
fix more style issues
StrawnSC Sep 30, 2021
68d70e4
revert src/index.json to master version
StrawnSC Sep 30, 2021
1f640fc
add summary
StrawnSC Sep 30, 2021
a91b053
merge master and fix merge conflict
StrawnSC Sep 30, 2021
6f4319c
fix linter issues
StrawnSC Sep 30, 2021
9382be0
remove out-of-date test
StrawnSC Sep 30, 2021
0b8c1dd
fix appservice kube CLI linter issues
StrawnSC Sep 30, 2021
2256638
fix ASP sku validation
StrawnSC Oct 1, 2021
8345bdf
fix style
StrawnSC Oct 1, 2021
34aeafa
increment appservice-kube release number and fix service_name.json
StrawnSC Oct 1, 2021
2d03c5d
fix hardcoded 'verify_linter.py'
StrawnSC Oct 1, 2021
02d2e2e
add testing -- WIP
StrawnSC Oct 5, 2021
d614ed8
update codeowners and fix 'az appservice kube list' bug
StrawnSC Oct 25, 2021
aa1a81b
remove unfinished tests
StrawnSC Oct 25, 2021
da8fc36
remove unnecessary branching
StrawnSC Oct 26, 2021
386c31e
remove unnecessary options lists
StrawnSC Oct 26, 2021
aecde8a
use specific CLI error types
StrawnSC Oct 26, 2021
aa79f3c
use more specific error type
StrawnSC Oct 26, 2021
6b4ab5e
fix more error types
StrawnSC Oct 26, 2021
66f1f8b
use HttpResponseError
StrawnSC Oct 26, 2021
0dc7a9d
fix style
StrawnSC Oct 26, 2021
aa2a822
revert version and erase history
StrawnSC Oct 26, 2021
b469377
Merge branch 'main' into lima-extension-remove-local-sdk
StrawnSC Oct 27, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update kube environments SDK
  • Loading branch information
ebencarek authored and calvinsID committed Mar 25, 2021
commit 11999bbba71e64ebca57616168ff24b36d46fa3a
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from ._models_py3 import ApplicationLogsConfig
from ._models_py3 import ApplicationStack
from ._models_py3 import ApplicationStackResource
from ._models_py3 import AppLogsConfiguration
from ._models_py3 import AppServiceCertificate
from ._models_py3 import AppServiceCertificateOrder
from ._models_py3 import AppServiceCertificateOrderPatchResource
Expand Down Expand Up @@ -108,6 +109,7 @@
from ._models_py3 import EndpointDetail
from ._models_py3 import ErrorEntity
from ._models_py3 import Experiments
from ._models_py3 import ExtendedLocation
from ._models_py3 import FileSystemApplicationLogsConfig
from ._models_py3 import FileSystemHttpLogsConfig
from ._models_py3 import FrontEndConfiguration
Expand Down Expand Up @@ -137,6 +139,7 @@
from ._models_py3 import KubeEnvironmentProfile
from ._models_py3 import KubeNodePool
from ._models_py3 import LocalizableString
from ._models_py3 import LogAnalyticsConfiguration
from ._models_py3 import LogSpecification
from ._models_py3 import ManagedServiceIdentity
from ._models_py3 import ManagedServiceIdentityUserAssignedIdentitiesValue
Expand Down Expand Up @@ -279,6 +282,7 @@
from ._models import ApplicationLogsConfig
from ._models import ApplicationStack
from ._models import ApplicationStackResource
from ._models import AppLogsConfiguration
from ._models import AppServiceCertificate
from ._models import AppServiceCertificateOrder
from ._models import AppServiceCertificateOrderPatchResource
Expand Down Expand Up @@ -366,6 +370,7 @@
from ._models import EndpointDetail
from ._models import ErrorEntity
from ._models import Experiments
from ._models import ExtendedLocation
from ._models import FileSystemApplicationLogsConfig
from ._models import FileSystemHttpLogsConfig
from ._models import FrontEndConfiguration
Expand Down Expand Up @@ -395,6 +400,7 @@
from ._models import KubeEnvironmentProfile
from ._models import KubeNodePool
from ._models import LocalizableString
from ._models import LogAnalyticsConfiguration
from ._models import LogSpecification
from ._models import ManagedServiceIdentity
from ._models import ManagedServiceIdentityUserAssignedIdentitiesValue
Expand Down Expand Up @@ -675,6 +681,7 @@
'ApplicationLogsConfig',
'ApplicationStack',
'ApplicationStackResource',
'AppLogsConfiguration',
'AppServiceCertificate',
'AppServiceCertificateOrder',
'AppServiceCertificateOrderPatchResource',
Expand Down Expand Up @@ -762,6 +769,7 @@
'EndpointDetail',
'ErrorEntity',
'Experiments',
'ExtendedLocation',
'FileSystemApplicationLogsConfig',
'FileSystemHttpLogsConfig',
'FrontEndConfiguration',
Expand Down Expand Up @@ -791,6 +799,7 @@
'KubeEnvironmentProfile',
'KubeNodePool',
'LocalizableString',
'LogAnalyticsConfiguration',
'LogSpecification',
'ManagedServiceIdentity',
'ManagedServiceIdentityUserAssignedIdentitiesValue',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,27 @@ def __init__(self, **kwargs):
self.frameworks = kwargs.get('frameworks', None)


class AppLogsConfiguration(Model):
"""AppLogsConfiguration.

:param destination:
:type destination: str
:param log_analytics_configuration:
:type log_analytics_configuration:
~azure.mgmt.web.v2019_08_01.models.LogAnalyticsConfiguration
"""

_attribute_map = {
'destination': {'key': 'destination', 'type': 'str'},
'log_analytics_configuration': {'key': 'logAnalyticsConfiguration', 'type': 'LogAnalyticsConfiguration'},
}

def __init__(self, **kwargs):
super(AppLogsConfiguration, self).__init__(**kwargs)
self.destination = kwargs.get('destination', None)
self.log_analytics_configuration = kwargs.get('log_analytics_configuration', None)


class AppServiceCertificate(Model):
"""Key Vault container for a certificate that is purchased through Azure.

Expand Down Expand Up @@ -2007,6 +2028,9 @@ class ArcConfiguration(Model):
:param front_end_service_configuration:
:type front_end_service_configuration:
~azure.mgmt.web.v2019_08_01.models.FrontEndConfiguration
:param app_logs_configuration:
:type app_logs_configuration:
~azure.mgmt.web.v2019_08_01.models.AppLogsConfiguration
:param kube_config:
:type kube_config: str
:param aks_engine_resource_group:
Expand All @@ -2019,6 +2043,7 @@ class ArcConfiguration(Model):
'artifact_storage_mount_path': {'key': 'artifactStorageMountPath', 'type': 'str'},
'artifact_storage_node_name': {'key': 'artifactStorageNodeName', 'type': 'str'},
'front_end_service_configuration': {'key': 'frontEndServiceConfiguration', 'type': 'FrontEndConfiguration'},
'app_logs_configuration': {'key': 'appLogsConfiguration', 'type': 'AppLogsConfiguration'},
'kube_config': {'key': 'kubeConfig', 'type': 'str'},
'aks_engine_resource_group': {'key': 'aksEngineResourceGroup', 'type': 'str'},
}
Expand All @@ -2030,6 +2055,7 @@ def __init__(self, **kwargs):
self.artifact_storage_mount_path = kwargs.get('artifact_storage_mount_path', None)
self.artifact_storage_node_name = kwargs.get('artifact_storage_node_name', None)
self.front_end_service_configuration = kwargs.get('front_end_service_configuration', None)
self.app_logs_configuration = kwargs.get('app_logs_configuration', None)
self.kube_config = kwargs.get('kube_config', None)
self.aks_engine_resource_group = kwargs.get('aks_engine_resource_group', None)

Expand Down Expand Up @@ -5427,6 +5453,22 @@ def __init__(self, **kwargs):
self.ramp_up_rules = kwargs.get('ramp_up_rules', None)


class ExtendedLocation(Model):
"""ExtendedLocation.

:param custom_location:
:type custom_location: str
"""

_attribute_map = {
'custom_location': {'key': 'customLocation', 'type': 'str'},
}

def __init__(self, **kwargs):
super(ExtendedLocation, self).__init__(**kwargs)
self.custom_location = kwargs.get('custom_location', None)


class FileSystemApplicationLogsConfig(Model):
"""Application logs to file system configuration.

Expand Down Expand Up @@ -6467,6 +6509,9 @@ class KubeEnvironment(Resource):
:vartype type: str
:param tags: Resource tags.
:type tags: dict[str, str]
:param extended_location:
:type extended_location:
~azure.mgmt.web.v2019_08_01.models.ExtendedLocation
:ivar provisioning_state: Provisioning state of the Kubernetes
Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled',
'Waiting', 'InitializationInProgress', 'ARMDeploymentInProgress',
Expand Down Expand Up @@ -6565,6 +6610,7 @@ class KubeEnvironment(Resource):
'location': {'key': 'location', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'extended_location': {'key': 'properties.extendedLocation', 'type': 'ExtendedLocation'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'K8SEProvisioningState'},
'node_pools': {'key': 'properties.nodePools', 'type': '[KubeNodePool]'},
'subscription_id': {'key': 'properties.subscriptionId', 'type': 'str'},
Expand All @@ -6590,6 +6636,7 @@ class KubeEnvironment(Resource):

def __init__(self, **kwargs):
super(KubeEnvironment, self).__init__(**kwargs)
self.extended_location = kwargs.get('extended_location', None)
self.provisioning_state = None
self.node_pools = kwargs.get('node_pools', None)
self.subscription_id = None
Expand Down Expand Up @@ -6693,6 +6740,26 @@ def __init__(self, **kwargs):
self.localized_value = kwargs.get('localized_value', None)


class LogAnalyticsConfiguration(Model):
"""LogAnalyticsConfiguration.

:param customer_id:
:type customer_id: str
:param shared_key:
:type shared_key: str
"""

_attribute_map = {
'customer_id': {'key': 'customerId', 'type': 'str'},
'shared_key': {'key': 'sharedKey', 'type': 'str'},
}

def __init__(self, **kwargs):
super(LogAnalyticsConfiguration, self).__init__(**kwargs)
self.customer_id = kwargs.get('customer_id', None)
self.shared_key = kwargs.get('shared_key', None)


class LogSpecification(Model):
"""Log Definition of a single resource metric.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,27 @@ def __init__(self, *, kind: str=None, application_stack_resource_name: str=None,
self.frameworks = frameworks


class AppLogsConfiguration(Model):
"""AppLogsConfiguration.

:param destination:
:type destination: str
:param log_analytics_configuration:
:type log_analytics_configuration:
~azure.mgmt.web.v2019_08_01.models.LogAnalyticsConfiguration
"""

_attribute_map = {
'destination': {'key': 'destination', 'type': 'str'},
'log_analytics_configuration': {'key': 'logAnalyticsConfiguration', 'type': 'LogAnalyticsConfiguration'},
}

def __init__(self, *, destination: str=None, log_analytics_configuration=None, **kwargs) -> None:
super(AppLogsConfiguration, self).__init__(**kwargs)
self.destination = destination
self.log_analytics_configuration = log_analytics_configuration


class AppServiceCertificate(Model):
"""Key Vault container for a certificate that is purchased through Azure.

Expand Down Expand Up @@ -2007,6 +2028,9 @@ class ArcConfiguration(Model):
:param front_end_service_configuration:
:type front_end_service_configuration:
~azure.mgmt.web.v2019_08_01.models.FrontEndConfiguration
:param app_logs_configuration:
:type app_logs_configuration:
~azure.mgmt.web.v2019_08_01.models.AppLogsConfiguration
:param kube_config:
:type kube_config: str
:param aks_engine_resource_group:
Expand All @@ -2019,17 +2043,19 @@ class ArcConfiguration(Model):
'artifact_storage_mount_path': {'key': 'artifactStorageMountPath', 'type': 'str'},
'artifact_storage_node_name': {'key': 'artifactStorageNodeName', 'type': 'str'},
'front_end_service_configuration': {'key': 'frontEndServiceConfiguration', 'type': 'FrontEndConfiguration'},
'app_logs_configuration': {'key': 'appLogsConfiguration', 'type': 'AppLogsConfiguration'},
'kube_config': {'key': 'kubeConfig', 'type': 'str'},
'aks_engine_resource_group': {'key': 'aksEngineResourceGroup', 'type': 'str'},
}

def __init__(self, *, artifacts_storage_type=None, artifact_storage_class_name: str=None, artifact_storage_mount_path: str=None, artifact_storage_node_name: str=None, front_end_service_configuration=None, kube_config: str=None, aks_engine_resource_group: str=None, **kwargs) -> None:
def __init__(self, *, artifacts_storage_type=None, artifact_storage_class_name: str=None, artifact_storage_mount_path: str=None, artifact_storage_node_name: str=None, front_end_service_configuration=None, app_logs_configuration=None, kube_config: str=None, aks_engine_resource_group: str=None, **kwargs) -> None:
super(ArcConfiguration, self).__init__(**kwargs)
self.artifacts_storage_type = artifacts_storage_type
self.artifact_storage_class_name = artifact_storage_class_name
self.artifact_storage_mount_path = artifact_storage_mount_path
self.artifact_storage_node_name = artifact_storage_node_name
self.front_end_service_configuration = front_end_service_configuration
self.app_logs_configuration = app_logs_configuration
self.kube_config = kube_config
self.aks_engine_resource_group = aks_engine_resource_group

Expand Down Expand Up @@ -5427,6 +5453,22 @@ def __init__(self, *, ramp_up_rules=None, **kwargs) -> None:
self.ramp_up_rules = ramp_up_rules


class ExtendedLocation(Model):
"""ExtendedLocation.

:param custom_location:
:type custom_location: str
"""

_attribute_map = {
'custom_location': {'key': 'customLocation', 'type': 'str'},
}

def __init__(self, *, custom_location: str=None, **kwargs) -> None:
super(ExtendedLocation, self).__init__(**kwargs)
self.custom_location = custom_location


class FileSystemApplicationLogsConfig(Model):
"""Application logs to file system configuration.

Expand Down Expand Up @@ -6467,6 +6509,9 @@ class KubeEnvironment(Resource):
:vartype type: str
:param tags: Resource tags.
:type tags: dict[str, str]
:param extended_location:
:type extended_location:
~azure.mgmt.web.v2019_08_01.models.ExtendedLocation
:ivar provisioning_state: Provisioning state of the Kubernetes
Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled',
'Waiting', 'InitializationInProgress', 'ARMDeploymentInProgress',
Expand Down Expand Up @@ -6565,6 +6610,7 @@ class KubeEnvironment(Resource):
'location': {'key': 'location', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'extended_location': {'key': 'properties.extendedLocation', 'type': 'ExtendedLocation'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'K8SEProvisioningState'},
'node_pools': {'key': 'properties.nodePools', 'type': '[KubeNodePool]'},
'subscription_id': {'key': 'properties.subscriptionId', 'type': 'str'},
Expand All @@ -6588,8 +6634,9 @@ class KubeEnvironment(Resource):
'aks_resource_id': {'key': 'properties.aksResourceID', 'type': 'str'},
}

def __init__(self, *, location: str, node_pools, kind: str=None, tags=None, internal_load_balancer_enabled: bool=None, vnet_subnet_id: str=None, network_plugin=None, service_cidr: str=None, dns_service_ip: str=None, docker_bridge_cidr: str=None, service_principal_client_id: str=None, service_principal_client_secret: str=None, static_ip: str=None, default_certificate_provision_start_time: str=None, log_analytics_workspace_id: str=None, compute_platform: str=None, namespace: str=None, arc_configuration=None, aks_resource_id: str=None, **kwargs) -> None:
def __init__(self, *, location: str, node_pools, kind: str=None, tags=None, extended_location=None, internal_load_balancer_enabled: bool=None, vnet_subnet_id: str=None, network_plugin=None, service_cidr: str=None, dns_service_ip: str=None, docker_bridge_cidr: str=None, service_principal_client_id: str=None, service_principal_client_secret: str=None, static_ip: str=None, default_certificate_provision_start_time: str=None, log_analytics_workspace_id: str=None, compute_platform: str=None, namespace: str=None, arc_configuration=None, aks_resource_id: str=None, **kwargs) -> None:
super(KubeEnvironment, self).__init__(kind=kind, location=location, tags=tags, **kwargs)
self.extended_location = extended_location
self.provisioning_state = None
self.node_pools = node_pools
self.subscription_id = None
Expand Down Expand Up @@ -6693,6 +6740,26 @@ def __init__(self, *, value: str=None, localized_value: str=None, **kwargs) -> N
self.localized_value = localized_value


class LogAnalyticsConfiguration(Model):
"""LogAnalyticsConfiguration.

:param customer_id:
:type customer_id: str
:param shared_key:
:type shared_key: str
"""

_attribute_map = {
'customer_id': {'key': 'customerId', 'type': 'str'},
'shared_key': {'key': 'sharedKey', 'type': 'str'},
}

def __init__(self, *, customer_id: str=None, shared_key: str=None, **kwargs) -> None:
super(LogAnalyticsConfiguration, self).__init__(**kwargs)
self.customer_id = customer_id
self.shared_key = shared_key


class LogSpecification(Model):
"""Log Definition of a single resource metric.

Expand Down
Loading