Skip to content

Commit 2fdabbd

Browse files
committed
2 parents e7e93cb + a59f1dd commit 2fdabbd

File tree

202 files changed

+23095
-11374
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

202 files changed

+23095
-11374
lines changed

.github/policies/resourceManagement.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,19 @@ configuration:
606606
- kushagraThapar
607607
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
608608
assignMentionees: False
609+
- if:
610+
- hasLabel:
611+
label: Service Attention
612+
- hasLabel:
613+
label: AzureDataTransfer
614+
then:
615+
- mentionUsers:
616+
mentionees:
617+
- lasuredd-msft
618+
- fzkhan
619+
- pkuma-msft
620+
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
621+
assignMentionees: False
609622
- if:
610623
- hasLabel:
611624
label: Service Attention
@@ -2266,6 +2279,19 @@ configuration:
22662279
- AzMonEssential
22672280
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
22682281
assignMentionees: False
2282+
- if:
2283+
- hasLabel:
2284+
label: Service Attention
2285+
- hasLabel:
2286+
label: Monitor - ScheduledQueryRule
2287+
then:
2288+
- mentionUsers:
2289+
mentionees:
2290+
- azmonapplicationinsights
2291+
- asafst
2292+
- efratbp
2293+
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
2294+
assignMentionees: False
22692295
- if:
22702296
- hasLabel:
22712297
label: Service Attention
@@ -2697,6 +2723,7 @@ configuration:
26972723
- mentionUsers:
26982724
mentionees:
26992725
- jfggdl
2726+
- damodaravadhani
27002727
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
27012728
assignMentionees: False
27022729
- if:
@@ -2744,6 +2771,17 @@ configuration:
27442771
- stephbaron
27452772
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
27462773
assignMentionees: False
2774+
- if:
2775+
- hasLabel:
2776+
label: Service Attention
2777+
- hasLabel:
2778+
label: ResourceMover
2779+
then:
2780+
- mentionUsers:
2781+
mentionees:
2782+
- yashjain4
2783+
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
2784+
assignMentionees: False
27472785
- if:
27482786
- hasLabel:
27492787
label: Service Attention

src/acrcssc/HISTORY.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
33
Release History
44
===============
5+
6+
1.0.0b5
7+
++++++++
8+
* Update minCliCoreVersion
9+
10+
1.0.0b4
11+
+++++++
12+
* Fix resource SDK import error
13+
514
1.0.0b3
615
+++++++
716
* Remove msrestazure dependency
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"azext.isPreview": true,
3-
"azext.minCliCoreVersion": "2.60.0"
3+
"azext.minCliCoreVersion": "2.73.0"
44
}

src/acrcssc/azext_acrcssc/helper/_deployment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from azure.cli.core.util import get_file_json
1010
from azure.cli.core.azclierror import AzCLIError
1111
from azure.cli.core.commands import LongRunningOperation
12-
from azure.mgmt.resource.resources.models import (
12+
from azure.mgmt.resource.deployments.models import (
1313
DeploymentExtended,
1414
DeploymentProperties,
1515
DeploymentMode,

src/acrcssc/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from distutils import log as logger
1414
logger.warn("Wheel is not available, disabling bdist_wheel hook")
1515

16-
VERSION = '1.0.0b3'
16+
VERSION = '1.0.0b5'
1717

1818
# The full list of classifiers is available at
1919
# https://pypi.python.org/pypi?%3Aaction=list_classifiers

src/aks-preview/HISTORY.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ To release a new version, please select a new version number (usually plus 1 to
1212
Pending
1313
+++++++
1414

15+
18.0.0b26
16+
+++++++
17+
* Add `az aks identity-binding` command group for identity binding feataure.
18+
19+
18.0.0b25
20+
+++++++
21+
* Update for `az aks machine show` and `az aks machine list` to show more details about the machine.
22+
1523
18.0.0b24
1624
+++++++
1725
* Suppress the ssh access annoying message if the cluster sku name is automatic.

src/aks-preview/azext_aks_preview/_client_factory.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ def cf_machines(cli_ctx, *_):
4343
return get_container_service_client(cli_ctx).machines
4444

4545

46+
def cf_identity_bindings(cli_ctx, *_):
47+
return get_container_service_client(cli_ctx).identity_bindings
48+
49+
4650
def cf_operations(cli_ctx, *_):
4751
return get_container_service_client(cli_ctx).operation_status_result
4852

src/aks-preview/azext_aks_preview/_format.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,18 @@ def parser(entry):
6262
entry["ipv4"] = ipv4_addresses
6363
entry["ipv6"] = ipv6_addresses
6464
parsed = compile_jmes("""{
65-
name: name,
66-
ipv4: ipv4,
67-
ipv6: ipv6
68-
}""")
65+
name: name,
66+
zones: zones,
67+
ipv4: ipv4,
68+
ipv6: ipv6,
69+
nodeImageVersion: nodeImageVersion,
70+
provisioningState: provisioningState,
71+
orchestratorVersion: orchestratorVersion,
72+
currentOrchestratorVersion: currentOrchestratorVersion,
73+
vmSize: vmSize,
74+
priority: priority,
75+
mode: mode
76+
}""")
6977
return parsed.search(entry, Options(dict_cls=OrderedDict))
7078
return parser(result)
7179

src/aks-preview/azext_aks_preview/_help.py

Lines changed: 58 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2372,22 +2372,22 @@
23722372

23732373
helps['aks machine list'] = """
23742374
type: command
2375-
short-summary: Get information about IP Addresses, Hostname for all machines in an agentpool
2375+
short-summary: List the details for all machines in an agentpool
23762376
parameters:
23772377
- name: --cluster-name
23782378
type: string
23792379
short-summary: Name of the managed cluster
23802380
- name: --nodepool-name
23812381
type: string
23822382
short-summary: Name of the agentpool of a managed cluster
2383-
exmaples:
2384-
- name: Get information about IP Addresses, Hostname for all machines in an agentpool
2385-
text: az aks machine list --cluster-name <clusterName> --nodepool-name <apName>
2383+
examples:
2384+
- name: List the details for all machines in an agentpool
2385+
text: az aks machine list --resource-group <resourceGroupName> --cluster-name <clusterName> --nodepool-name <apName>
23862386
"""
23872387

23882388
helps['aks machine show'] = """
23892389
type: command
2390-
short-summary: Show IP Addresses, Hostname for a specific machine in an agentpool for a managedcluster.
2390+
short-summary: Show the details of a specific machine in an agentpool of a managedcluster.
23912391
parameters:
23922392
- name: --cluster-name
23932393
type: string
@@ -2397,10 +2397,10 @@
23972397
short-summary: Name of the agentpool of a managed cluster
23982398
- name: --machine-name
23992399
type: string
2400-
short-summary: Get IP Addresses, Hostname for a specific machine in an agentpool
2401-
exmaples:
2402-
- name: Get IP Addresses, Hostname for a specific machine in an agentpool
2403-
text: az aks machine show --cluster-name <clusterName> --nodepool-name <apName> --machine-name <machineName>
2400+
short-summary: Name of the machine
2401+
examples:
2402+
- name: Show the details of a specific machine in an agentpool of a managedcluster.
2403+
text: az aks machine show --resource-group <resourceGroupName> --cluster-name <clusterName> --nodepool-name <apName> --machine-name <machineName>
24042404
"""
24052405

24062406
helps['aks operation'] = """
@@ -3894,3 +3894,52 @@
38943894
- name: Connect to a managed Kubernetes cluster using Azure Bastion with custom port and admin credentials.
38953895
text: az aks bastion -g MyResourceGroup --name MyManagedCluster --bastion MyBastionResource --port 50001 --admin
38963896
"""
3897+
3898+
helps['aks identity-binding'] = """
3899+
type: group
3900+
short-summary: Commands to manage identity bindings in Azure Kubernetes Service.
3901+
"""
3902+
helps['aks identity-binding show'] = """
3903+
type: command
3904+
short-summary: Show details of a specific identity binding in a managed Kubernetes cluster.
3905+
parameters:
3906+
- name: --cluster-name
3907+
type: string
3908+
short-summary: Name of the managed Kubernetes cluster.
3909+
- name: --name -n
3910+
type: string
3911+
short-summary: Name of the identity binding to show.
3912+
"""
3913+
helps['aks identity-binding list'] = """
3914+
type: command
3915+
short-summary: List all identity bindings under a managed Kubernetes cluster.
3916+
parameters:
3917+
- name: --cluster-name
3918+
type: string
3919+
short-summary: Name of the managed Kubernetes cluster.
3920+
"""
3921+
helps['aks identity-binding create'] = """
3922+
type: command
3923+
short-summary: Create a new identity binding in a managed Kubernetes cluster.
3924+
parameters:
3925+
- name: --cluster-name
3926+
type: string
3927+
short-summary: Name of the managed Kubernetes cluster.
3928+
- name: --name -n
3929+
type: string
3930+
short-summary: Name of the identity binding to show.
3931+
- name: --managed-identity-resource-id
3932+
type: string
3933+
short-summary: The resource ID of the managed identity to use.
3934+
"""
3935+
helps['aks identity-binding delete'] = """
3936+
type: command
3937+
short-summary: Delete a specific identity binding in a managed Kubernetes cluster.
3938+
parameters:
3939+
- name: --cluster-name
3940+
type: string
3941+
short-summary: Name of the managed Kubernetes cluster.
3942+
- name: --name -n
3943+
type: string
3944+
short-summary: Name of the identity binding to show.
3945+
"""

src/aks-preview/azext_aks_preview/aks_identity_binding/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)