Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue when registry creds are provided for ACRs using containerapp up command #7198

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
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
1 change: 1 addition & 0 deletions src/containerapp/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ upcoming
* 'az containerapp env dapr-component resiliency': Add support for Dapr Component Resiliency Circuit Breakers
* 'az containerapp create/update/up': Don't compress jar/war/zip file before upload source code
* 'az containerapp create/update/up': Update source to cloud builder to 20240124.1
* 'az containerapp up': Fix registry not found error in subscription when registry server parameters are provided for ACR from another subscription
* 'az containerapp env java-component': Support list Java components
* 'az containerapp env java-component spring-cloud-config': Support create/update/show/delete Spring Cloud Config
* 'az containerapp env java-component spring-cloud-eureka': Support create/update/show/delete Spring Cloud Eureka
Expand Down
6 changes: 4 additions & 2 deletions src/containerapp/azext_containerapp/_up_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,8 @@ def _set_up_defaults(
env: "ContainerAppEnvironment",
app: "ContainerApp",
custom_location: "CustomLocation",
extension: "Extension"
extension: "Extension",
is_registry_server_params_set=None
):
# If no RG passed in and a singular app exists with the same name, get its env and rg
_get_app_env_and_group(cmd, name, resource_group, env, location, custom_location)
Expand Down Expand Up @@ -1384,7 +1385,8 @@ def _set_up_defaults(

_infer_existing_custom_location_or_extension(cmd, name, location, resource_group, env, custom_location, extension)

_get_acr_from_image(cmd, app)
if not is_registry_server_params_set:

This comment was marked as off-topic.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently with az containerapp up it will failed with error:
Failed to retrieve credentials for container registry. Please provide the registry username and password

_get_acr_from_image(cmd, app)


# Try to get existed connected environment
Expand Down
6 changes: 4 additions & 2 deletions src/containerapp/azext_containerapp/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def delete_weaviate_service(cmd, service_name, resource_group_name, no_wait=Fals


def create_milvus_service(cmd, service_name, environment_name, resource_group_name, no_wait=False,
disable_warnings=True):
disable_warnings=True):
return DevServiceUtils.create_service(cmd, service_name, environment_name, resource_group_name, no_wait,
disable_warnings, DEV_MILVUS_IMAGE, DEV_MILVUS_SERVICE_TYPE,
DEV_MILVUS_CONTAINER_NAME)
Expand Down Expand Up @@ -1191,7 +1191,9 @@ def containerapp_up(cmd,
env = ContainerAppEnvironment(cmd, environment, resource_group, location=location, logs_key=logs_key, logs_customer_id=logs_customer_id, custom_location_id=custom_location_id, connected_cluster_id=connected_cluster_id)
app = ContainerApp(cmd, name, resource_group, None, image, env, target_port, registry_server, registry_user, registry_pass, env_vars, workload_profile_name, ingress)

_set_up_defaults(cmd, name, resource_group_name, logs_customer_id, location, resource_group, env, app, custom_location, extension)
# Check and see if registry username and passwords are specified. If so, set is_registry_server_params_set to True to use those creds.
is_registry_server_params_set = bool(registry_server and registry_user and registry_pass)

This comment was marked as off-topic.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I noticed the command az containerapp up parameters not support --registry-identity, which supported in command az containerapp create.

_set_up_defaults(cmd, name, resource_group_name, logs_customer_id, location, resource_group, env, app, custom_location, extension, is_registry_server_params_set)

if app.check_exists():
if app.get()["properties"]["provisioningState"] == "InProgress":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster?api-version=2022-10-01-preview
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","name":"my-connected-cluster","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-11-22T04:57:58.8415473Z","lastModifiedBy":"64b12d6e-6549-484c-8cc6-6281839ba394","lastModifiedByType":"Application","lastModifiedAt":"2023-11-22T05:00:48.7458368Z"},"identity":{"principalId":"6ba6e69e-9551-4f2d-aa94-50f52e792ee7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connected","privateLinkState":"Disabled","azureHybridBenefit":"NotApplicable","agentPublicKeyCertificate":"MIICCgKCAgEAuYHv0yJ/x7IyhLLBOTsjiewYapDTXehXFmomuWH4YVYPxbvKPQLv+x9tTaN4QJwcwjSkuRGoE8ROuOOBYMhQzyNIgHV4VF6X1VhPqG6GpBZnfqVv+F8pDewJlETZlVtcvG1Xfk5/i81WgplNRrIXSHzffQ/nY9vjH05BfFi7ZLt89OkwQ5HIGD8f9xCKG7o/75cHXYS2+8wp7xK1k5moHr2w1+3wL31UfvEb6u1hyZzkLJPm7X0vTYH0argBci6s6bqca7x5oS2XOQo/7HXgGYqeJ92KroHJxL4t8J7h7AK9nNNfSFXq5IHKA81kjX2Ah5j/fIHMV0dqX7kUoG4JUQzDDRIsZcO9X651KowwEOP14fzTK+znMYcFdLSvYssQZD1NzoigjXimny8hfM4GvxobwdXHmCdAxA2VYhivmWCRiqaBBBUAeNuf4nHgjsUufPqIB8JwkhIjmuDKJVurDFyNRPKNqy5C/AMJ+B7zYmm97oMvv9wimBtSH7/XS4SuKtSi5ZC/PfQN18i9+saEh3IOm9GQcI+i5QV9PW5QYjxEt4EzbnRGywqJMgPf7a/BcfZ1TdMKWycaJ5+OypVfSs4Dk220EzboSq/+gnM2RLKDWge6oxM0BjY6DDR3LFG8dw5z9h9IwVkoqwC+h2pBMO++dT28WiAHJ7yEUkuc4/sCAwEAAQ==","distribution":"aks","infrastructure":"azure","kubernetesVersion":"1.27.7","totalNodeCount":4,"agentVersion":"1.13.7","totalCoreCount":8,"lastConnectivityTime":"2023-11-22T05:00:45.505Z","managedIdentityCertificateExpirationTime":"2024-02-20T04:52:00Z"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","name":"my-connected-cluster","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-11-22T04:57:58.8415473Z","lastModifiedBy":"64b12d6e-6549-484c-8cc6-6281839ba394","lastModifiedByType":"Application","lastModifiedAt":"2023-11-22T05:00:48.7458368Z"},"identity":{"principalId":"6ba6e69e-9551-4f2d-aa94-50f52e792ee7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connected","privateLinkState":"Disabled","azureHybridBenefit":"NotApplicable","agentPublicKeyCertificate":"abc123","distribution":"aks","infrastructure":"azure","kubernetesVersion":"1.27.7","totalNodeCount":4,"agentVersion":"1.13.7","totalCoreCount":8,"lastConnectivityTime":"2023-11-22T05:00:45.505Z","managedIdentityCertificateExpirationTime":"2024-02-20T04:52:00Z"}}'
headers:
cache-control:
- no-cache
Expand Down Expand Up @@ -735,7 +735,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster?api-version=2021-10-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","name":"my-connected-cluster","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-11-22T04:57:58.8415473Z","lastModifiedBy":"64b12d6e-6549-484c-8cc6-6281839ba394","lastModifiedByType":"Application","lastModifiedAt":"2023-11-22T05:00:48.7458368Z"},"identity":{"principalId":"6ba6e69e-9551-4f2d-aa94-50f52e792ee7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connected","agentPublicKeyCertificate":"MIICCgKCAgEAuYHv0yJ/x7IyhLLBOTsjiewYapDTXehXFmomuWH4YVYPxbvKPQLv+x9tTaN4QJwcwjSkuRGoE8ROuOOBYMhQzyNIgHV4VF6X1VhPqG6GpBZnfqVv+F8pDewJlETZlVtcvG1Xfk5/i81WgplNRrIXSHzffQ/nY9vjH05BfFi7ZLt89OkwQ5HIGD8f9xCKG7o/75cHXYS2+8wp7xK1k5moHr2w1+3wL31UfvEb6u1hyZzkLJPm7X0vTYH0argBci6s6bqca7x5oS2XOQo/7HXgGYqeJ92KroHJxL4t8J7h7AK9nNNfSFXq5IHKA81kjX2Ah5j/fIHMV0dqX7kUoG4JUQzDDRIsZcO9X651KowwEOP14fzTK+znMYcFdLSvYssQZD1NzoigjXimny8hfM4GvxobwdXHmCdAxA2VYhivmWCRiqaBBBUAeNuf4nHgjsUufPqIB8JwkhIjmuDKJVurDFyNRPKNqy5C/AMJ+B7zYmm97oMvv9wimBtSH7/XS4SuKtSi5ZC/PfQN18i9+saEh3IOm9GQcI+i5QV9PW5QYjxEt4EzbnRGywqJMgPf7a/BcfZ1TdMKWycaJ5+OypVfSs4Dk220EzboSq/+gnM2RLKDWge6oxM0BjY6DDR3LFG8dw5z9h9IwVkoqwC+h2pBMO++dT28WiAHJ7yEUkuc4/sCAwEAAQ==","distribution":"aks","infrastructure":"azure","kubernetesVersion":"1.27.7","totalNodeCount":4,"agentVersion":"1.13.7","totalCoreCount":8,"lastConnectivityTime":"2023-11-22T05:00:45.505Z","managedIdentityCertificateExpirationTime":"2024-02-20T04:52:00Z"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","name":"my-connected-cluster","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-11-22T04:57:58.8415473Z","lastModifiedBy":"64b12d6e-6549-484c-8cc6-6281839ba394","lastModifiedByType":"Application","lastModifiedAt":"2023-11-22T05:00:48.7458368Z"},"identity":{"principalId":"6ba6e69e-9551-4f2d-aa94-50f52e792ee7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connected","agentPublicKeyCertificate":"abc123","distribution":"aks","infrastructure":"azure","kubernetesVersion":"1.27.7","totalNodeCount":4,"agentVersion":"1.13.7","totalCoreCount":8,"lastConnectivityTime":"2023-11-22T05:00:45.505Z","managedIdentityCertificateExpirationTime":"2024-02-20T04:52:00Z"}}'
headers:
cache-control:
- no-cache
Expand Down Expand Up @@ -1659,7 +1659,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster?api-version=2021-10-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","name":"my-connected-cluster","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-11-22T04:57:58.8415473Z","lastModifiedBy":"64b12d6e-6549-484c-8cc6-6281839ba394","lastModifiedByType":"Application","lastModifiedAt":"2023-11-22T05:00:48.7458368Z"},"identity":{"principalId":"6ba6e69e-9551-4f2d-aa94-50f52e792ee7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connected","agentPublicKeyCertificate":"MIICCgKCAgEAuYHv0yJ/x7IyhLLBOTsjiewYapDTXehXFmomuWH4YVYPxbvKPQLv+x9tTaN4QJwcwjSkuRGoE8ROuOOBYMhQzyNIgHV4VF6X1VhPqG6GpBZnfqVv+F8pDewJlETZlVtcvG1Xfk5/i81WgplNRrIXSHzffQ/nY9vjH05BfFi7ZLt89OkwQ5HIGD8f9xCKG7o/75cHXYS2+8wp7xK1k5moHr2w1+3wL31UfvEb6u1hyZzkLJPm7X0vTYH0argBci6s6bqca7x5oS2XOQo/7HXgGYqeJ92KroHJxL4t8J7h7AK9nNNfSFXq5IHKA81kjX2Ah5j/fIHMV0dqX7kUoG4JUQzDDRIsZcO9X651KowwEOP14fzTK+znMYcFdLSvYssQZD1NzoigjXimny8hfM4GvxobwdXHmCdAxA2VYhivmWCRiqaBBBUAeNuf4nHgjsUufPqIB8JwkhIjmuDKJVurDFyNRPKNqy5C/AMJ+B7zYmm97oMvv9wimBtSH7/XS4SuKtSi5ZC/PfQN18i9+saEh3IOm9GQcI+i5QV9PW5QYjxEt4EzbnRGywqJMgPf7a/BcfZ1TdMKWycaJ5+OypVfSs4Dk220EzboSq/+gnM2RLKDWge6oxM0BjY6DDR3LFG8dw5z9h9IwVkoqwC+h2pBMO++dT28WiAHJ7yEUkuc4/sCAwEAAQ==","distribution":"aks","infrastructure":"azure","kubernetesVersion":"1.27.7","totalNodeCount":4,"agentVersion":"1.13.7","totalCoreCount":8,"lastConnectivityTime":"2023-11-22T05:00:45.505Z","managedIdentityCertificateExpirationTime":"2024-02-20T04:52:00Z"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","name":"my-connected-cluster","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-11-22T04:57:58.8415473Z","lastModifiedBy":"64b12d6e-6549-484c-8cc6-6281839ba394","lastModifiedByType":"Application","lastModifiedAt":"2023-11-22T05:00:48.7458368Z"},"identity":{"principalId":"6ba6e69e-9551-4f2d-aa94-50f52e792ee7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connected","agentPublicKeyCertificate":"abc123","distribution":"aks","infrastructure":"azure","kubernetesVersion":"1.27.7","totalNodeCount":4,"agentVersion":"1.13.7","totalCoreCount":8,"lastConnectivityTime":"2023-11-22T05:00:45.505Z","managedIdentityCertificateExpirationTime":"2024-02-20T04:52:00Z"}}'
headers:
cache-control:
- no-cache
Expand Down Expand Up @@ -2370,7 +2370,7 @@ interactions:
"clusterName": "containerapp-ext", "logProcessor.appLogs.destination": "log-analytics"},
"configurationProtectedSettings": {"logProcessor.appLogs.logAnalyticsConfig.customerId":
"ZTNmMmZmZjgtMmFhMy00YjA3LWJhNWItZGUzODE4ZWZjOGY4", "logProcessor.appLogs.logAnalyticsConfig.sharedKey":
"cnMvRWN1YS9PUk95OXVWU3hYQVNwRHdSdlRLbzI2WXdIL01HT2VMNDErVjJyZFlrMzNQdnRKaXdyL05oQ256NmQ0Tk9mNTZaTHgySWp0WTVvUVlJZWc9PQ=="}}}'
"abc123"}}}'
headers:
Accept:
- application/json
Expand Down Expand Up @@ -16998,7 +16998,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster?api-version=2021-10-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","name":"my-connected-cluster","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-11-22T04:57:58.8415473Z","lastModifiedBy":"64b12d6e-6549-484c-8cc6-6281839ba394","lastModifiedByType":"Application","lastModifiedAt":"2023-11-22T05:10:23.0611068Z"},"identity":{"principalId":"6ba6e69e-9551-4f2d-aa94-50f52e792ee7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connected","agentPublicKeyCertificate":"MIICCgKCAgEAuYHv0yJ/x7IyhLLBOTsjiewYapDTXehXFmomuWH4YVYPxbvKPQLv+x9tTaN4QJwcwjSkuRGoE8ROuOOBYMhQzyNIgHV4VF6X1VhPqG6GpBZnfqVv+F8pDewJlETZlVtcvG1Xfk5/i81WgplNRrIXSHzffQ/nY9vjH05BfFi7ZLt89OkwQ5HIGD8f9xCKG7o/75cHXYS2+8wp7xK1k5moHr2w1+3wL31UfvEb6u1hyZzkLJPm7X0vTYH0argBci6s6bqca7x5oS2XOQo/7HXgGYqeJ92KroHJxL4t8J7h7AK9nNNfSFXq5IHKA81kjX2Ah5j/fIHMV0dqX7kUoG4JUQzDDRIsZcO9X651KowwEOP14fzTK+znMYcFdLSvYssQZD1NzoigjXimny8hfM4GvxobwdXHmCdAxA2VYhivmWCRiqaBBBUAeNuf4nHgjsUufPqIB8JwkhIjmuDKJVurDFyNRPKNqy5C/AMJ+B7zYmm97oMvv9wimBtSH7/XS4SuKtSi5ZC/PfQN18i9+saEh3IOm9GQcI+i5QV9PW5QYjxEt4EzbnRGywqJMgPf7a/BcfZ1TdMKWycaJ5+OypVfSs4Dk220EzboSq/+gnM2RLKDWge6oxM0BjY6DDR3LFG8dw5z9h9IwVkoqwC+h2pBMO++dT28WiAHJ7yEUkuc4/sCAwEAAQ==","distribution":"aks","infrastructure":"azure","kubernetesVersion":"1.27.7","totalNodeCount":4,"agentVersion":"1.13.7","totalCoreCount":8,"lastConnectivityTime":"2023-11-22T05:10:15.526Z","managedIdentityCertificateExpirationTime":"2024-02-20T04:52:00Z"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","name":"my-connected-cluster","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-11-22T04:57:58.8415473Z","lastModifiedBy":"64b12d6e-6549-484c-8cc6-6281839ba394","lastModifiedByType":"Application","lastModifiedAt":"2023-11-22T05:10:23.0611068Z"},"identity":{"principalId":"6ba6e69e-9551-4f2d-aa94-50f52e792ee7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connected","agentPublicKeyCertificate":"abc123","distribution":"aks","infrastructure":"azure","kubernetesVersion":"1.27.7","totalNodeCount":4,"agentVersion":"1.13.7","totalCoreCount":8,"lastConnectivityTime":"2023-11-22T05:10:15.526Z","managedIdentityCertificateExpirationTime":"2024-02-20T04:52:00Z"}}'
headers:
cache-control:
- no-cache
Expand Down Expand Up @@ -19930,7 +19930,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster?api-version=2021-10-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","name":"my-connected-cluster","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-11-22T04:57:58.8415473Z","lastModifiedBy":"64b12d6e-6549-484c-8cc6-6281839ba394","lastModifiedByType":"Application","lastModifiedAt":"2023-11-22T05:10:23.0611068Z"},"identity":{"principalId":"6ba6e69e-9551-4f2d-aa94-50f52e792ee7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connected","agentPublicKeyCertificate":"MIICCgKCAgEAuYHv0yJ/x7IyhLLBOTsjiewYapDTXehXFmomuWH4YVYPxbvKPQLv+x9tTaN4QJwcwjSkuRGoE8ROuOOBYMhQzyNIgHV4VF6X1VhPqG6GpBZnfqVv+F8pDewJlETZlVtcvG1Xfk5/i81WgplNRrIXSHzffQ/nY9vjH05BfFi7ZLt89OkwQ5HIGD8f9xCKG7o/75cHXYS2+8wp7xK1k5moHr2w1+3wL31UfvEb6u1hyZzkLJPm7X0vTYH0argBci6s6bqca7x5oS2XOQo/7HXgGYqeJ92KroHJxL4t8J7h7AK9nNNfSFXq5IHKA81kjX2Ah5j/fIHMV0dqX7kUoG4JUQzDDRIsZcO9X651KowwEOP14fzTK+znMYcFdLSvYssQZD1NzoigjXimny8hfM4GvxobwdXHmCdAxA2VYhivmWCRiqaBBBUAeNuf4nHgjsUufPqIB8JwkhIjmuDKJVurDFyNRPKNqy5C/AMJ+B7zYmm97oMvv9wimBtSH7/XS4SuKtSi5ZC/PfQN18i9+saEh3IOm9GQcI+i5QV9PW5QYjxEt4EzbnRGywqJMgPf7a/BcfZ1TdMKWycaJ5+OypVfSs4Dk220EzboSq/+gnM2RLKDWge6oxM0BjY6DDR3LFG8dw5z9h9IwVkoqwC+h2pBMO++dT28WiAHJ7yEUkuc4/sCAwEAAQ==","distribution":"aks","infrastructure":"azure","kubernetesVersion":"1.27.7","totalNodeCount":4,"agentVersion":"1.13.7","totalCoreCount":8,"lastConnectivityTime":"2023-11-22T05:10:15.526Z","managedIdentityCertificateExpirationTime":"2024-02-20T04:52:00Z"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","name":"my-connected-cluster","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-11-22T04:57:58.8415473Z","lastModifiedBy":"64b12d6e-6549-484c-8cc6-6281839ba394","lastModifiedByType":"Application","lastModifiedAt":"2023-11-22T05:10:23.0611068Z"},"identity":{"principalId":"6ba6e69e-9551-4f2d-aa94-50f52e792ee7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connected","agentPublicKeyCertificate":"abc123","distribution":"aks","infrastructure":"azure","kubernetesVersion":"1.27.7","totalNodeCount":4,"agentVersion":"1.13.7","totalCoreCount":8,"lastConnectivityTime":"2023-11-22T05:10:15.526Z","managedIdentityCertificateExpirationTime":"2024-02-20T04:52:00Z"}}'
headers:
cache-control:
- no-cache
Expand Down
Loading