diff --git a/src/azure-cli-testsdk/HISTORY.rst b/src/azure-cli-testsdk/HISTORY.rst index 59e34af8535..5681305ee8b 100644 --- a/src/azure-cli-testsdk/HISTORY.rst +++ b/src/azure-cli-testsdk/HISTORY.rst @@ -3,6 +3,10 @@ Release History =============== +0.2.2 ++++++ +* Add ManagedApplicationPreparer + 0.2.1 +++++ * Minor fixes diff --git a/src/azure-cli-testsdk/azure/cli/testsdk/__init__.py b/src/azure-cli-testsdk/azure/cli/testsdk/__init__.py index fa6db78d5cf..deb85675d03 100644 --- a/src/azure-cli-testsdk/azure/cli/testsdk/__init__.py +++ b/src/azure-cli-testsdk/azure/cli/testsdk/__init__.py @@ -7,7 +7,7 @@ from .base import ScenarioTest, LiveScenarioTest from .preparers import (StorageAccountPreparer, ResourceGroupPreparer, RoleBasedServicePrincipalPreparer, - KeyVaultPreparer) + ManagedApplicationPreparer, KeyVaultPreparer) from .exceptions import CliTestError from .checkers import (JMESPathCheck, JMESPathCheckExists, JMESPathCheckGreaterThan, NoneCheck, StringCheck, StringContainCheck) @@ -15,9 +15,10 @@ from .utilities import create_random_name __all__ = ['ScenarioTest', 'LiveScenarioTest', 'ResourceGroupPreparer', 'StorageAccountPreparer', - 'RoleBasedServicePrincipalPreparer', 'CliTestError', 'JMESPathCheck', 'JMESPathCheckExists', 'NoneCheck', - 'live_only', 'record_only', 'StringCheck', 'StringContainCheck', 'get_sha1_hash', 'KeyVaultPreparer', - 'JMESPathCheckGreaterThan', 'api_version_constraint', 'create_random_name'] + 'RoleBasedServicePrincipalPreparer', 'ManagedApplicationPreparer', 'CliTestError', 'JMESPathCheck', + 'JMESPathCheckExists', 'NoneCheck', 'live_only', 'record_only', 'StringCheck', 'StringContainCheck', + 'get_sha1_hash', 'KeyVaultPreparer', 'JMESPathCheckGreaterThan', 'api_version_constraint', + 'create_random_name'] __version__ = '0.1.0' diff --git a/src/azure-cli-testsdk/azure/cli/testsdk/preparers.py b/src/azure-cli-testsdk/azure/cli/testsdk/preparers.py index 88357d81265..f8dcacb3c7b 100644 --- a/src/azure-cli-testsdk/azure/cli/testsdk/preparers.py +++ b/src/azure-cli-testsdk/azure/cli/testsdk/preparers.py @@ -174,6 +174,40 @@ def remove_resource(self, name, **kwargs): execute(self.cli_ctx, 'az ad sp delete --id {}'.format(self.result['appId'])) +# Managed Application preparer + +# pylint: disable=too-many-instance-attributes +class ManagedApplicationPreparer(AbstractPreparer, SingleValueReplacer): + def __init__(self, name_prefix='clitest', parameter_name='aad_client_app_id', + parameter_secret='aad_client_app_secret', app_name='app_name', + dev_setting_app_name='AZURE_CLI_TEST_DEV_APP_NAME', + dev_setting_app_secret='AZURE_CLI_TEST_DEV_APP_SECRET', key='app'): + super(ManagedApplicationPreparer, self).__init__(name_prefix, 24) + self.cli_ctx = get_dummy_cli() + self.parameter_name = parameter_name + self.parameter_secret = parameter_secret + self.result = {} + self.app_name = app_name + self.dev_setting_app_name = os.environ.get(dev_setting_app_name, None) + self.dev_setting_app_secret = os.environ.get(dev_setting_app_secret, None) + self.key = key + + def create_resource(self, name, **kwargs): + if not self.dev_setting_app_name: + template = 'az ad app create --display-name {} --key-type Password --password {} --identifier-uris ' \ + 'http://{}' + self.result = execute(self.cli_ctx, template.format(name, name, name)).get_output_in_json() + self.test_class_instance.kwargs[self.key] = name + # The slice is the easiest way for know to return the Teanant from the same command + return {self.parameter_name: self.result['appId'], self.parameter_secret: name} + self.test_class_instance.kwargs[self.key] = name + return {self.parameter_name: self.dev_setting_sp_name, + self.parameter_secret: self.dev_setting_app_secret} + + def remove_resource(self, name, **kwargs): + if not self.dev_setting_app_name: + execute(self.cli_ctx, 'az ad app delete --id {}'.format(self.result['appId'])) + # Utility diff --git a/src/azure-cli-testsdk/setup.py b/src/azure-cli-testsdk/setup.py index 503d1d1c414..139ea992379 100644 --- a/src/azure-cli-testsdk/setup.py +++ b/src/azure-cli-testsdk/setup.py @@ -14,7 +14,7 @@ logger.warn("Wheel is not available, disabling bdist_wheel hook") cmdclass = {} -VERSION = "0.2.1" +VERSION = "0.2.2" CLASSIFIERS = [ 'Development Status :: 3 - Alpha', diff --git a/src/command_modules/azure-cli-acs/HISTORY.rst b/src/command_modules/azure-cli-acs/HISTORY.rst index 73635ba3a2e..a60ad0c35a5 100644 --- a/src/command_modules/azure-cli-acs/HISTORY.rst +++ b/src/command_modules/azure-cli-acs/HISTORY.rst @@ -3,6 +3,10 @@ Release History =============== +2.3.7 ++++++ +* Add Managed OpenShift commands + 2.3.6 +++++ * `az aks create/scale --nodepool-name` configures nodepool name, truncated to 12 characters, default - nodepool1 diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_client_factory.py b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_client_factory.py index 5c70f70ffa0..9d0330d625d 100644 --- a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_client_factory.py +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_client_factory.py @@ -19,6 +19,10 @@ def cf_managed_clusters(cli_ctx, *_): return get_container_service_client(cli_ctx).managed_clusters +def cf_openshift_managed_clusters(cli_ctx, *_): + return get_osa_container_service_client(cli_ctx).open_shift_managed_clusters + + def cf_resource_groups(cli_ctx, subscription_id=None): return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES, subscription_id=subscription_id).resource_groups @@ -46,6 +50,12 @@ def get_container_service_client(cli_ctx, **_): return get_mgmt_service_client(cli_ctx, ContainerServiceClient) +def get_osa_container_service_client(cli_ctx, **_): + from azure.mgmt.containerservice import ContainerServiceClient + + return get_mgmt_service_client(cli_ctx, ContainerServiceClient) + + def get_graph_rbac_management_client(cli_ctx, **_): from azure.cli.core.commands.client_factory import configure_common_settings from azure.cli.core._profile import Profile diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_help.py b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_help.py index 43a21b3398b..913b519ee33 100644 --- a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_help.py +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_help.py @@ -526,3 +526,84 @@ text: |- az aks wait -g MyResourceGroup -n MyManagedCluster --updated --interval 60 --timeout 1800 """ + +# OpenShift command help + +helps['openshift'] = """ + type: group + short-summary: (PREVIEW) Manage Azure OpenShift Services. +""" + +helps['openshift create'] = """ + type: command + short-summary: (PREVIEW) Create a new managed OpenShift cluster. + parameters: + - name: --compute-vm-size -s + type: string + short-summary: Size of Virtual Machines to create as OpenShift nodes. + - name: --compute-count -c + type: int + short-summary: Number of nodes in the OpenShift node pool. + - name: --fqdn + type: string + short-summary: FQDN for OpenShift API server loadbalancer internal hostname. For example + myopenshiftcluster.eastus.cloudapp.azure.com + - name: --aad-client-app-id + type: string + short-summary: The ID of an Azure Active Directory client application. If not specified, a new Azure Active Directory client is created. + - name: --aad-client-app-secret + type: string + short-summary: The secret of an Azure Active Directory client application. + - name: --aad-tenant-id + type: string + short-summary: The ID of an Azure Active Directory tenant. + - name: --vnet-peer-id + type: string + short-summary: The ID of a subnet in an existing VNet into which to peer the cluster. + - name: --vnet-cidr + type: string + short-summary: The CIDR used on the VNet into which to deploy the cluster. + - name: --subnet-cidr + type: string + short-summary: The CIDR used on the Subnet into which to deploy the cluster. + + + examples: + - name: Create an OpenShift cluster and auto create an AAD Client + text: az openshift create -g MyResourceGroup -n MyManagedCluster --fqdn + - name: Create an OpenShift cluster with 5 compute nodes and a custom AAD Client. + text: az openshift create -g MyResourceGroup -n MyManagedCluster --fqdn + --aad-client-app-id --aad-client-app-secret --aad-tenant-id --compute-count 5 + - name: Create an Openshift cluster using a custom vnet + text : az openshift create -g MyResourceGroup -n MyManagedCluster --fqdn --vnet-peer-id "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/openshift-vnet/providers/Microsoft.Network/virtualNetworks/test" +""" + +helps['openshift scale'] = """ + type: command + short-summary: (PREVIEW) Scale the compute pool in a managed OpenShift cluster. + parameters: + - name: --compute-count -c + type: int + short-summary: Number of nodes in the OpenShift compute pool. +""" + +helps['openshift show'] = """ + type: command + short-summary: (PREVIEW) Show the details for a managed OpenShift cluster. +""" + +helps['openshift delete'] = """ + type: command + short-summary: (PREVIEW) Delete a managed OpenShift cluster. +""" + +helps['openshift wait'] = """ + type: command + short-summary: (PREVIEW) Wait for a managed OpenShift cluster to reach a desired state. + long-summary: If an operation on a cluster was interrupted or was started with `--no-wait`, use this command to + wait for it to complete. + examples: + - name: Wait for a cluster to be upgraded, polling every minute for up to thirty minutes. + text: |- + az openshift wait -g MyResourceGroup -n MyManagedCluster --updated --interval 60 --timeout 1800 +""" diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_params.py b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_params.py index 364bd37435f..776b22c8013 100644 --- a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_params.py +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_params.py @@ -236,6 +236,26 @@ def load_arguments(self, _): with self.argument_context('aks remove-dev-spaces') as c: c.argument('prompt', options_list=['--yes', '-y'], action='store_true', help='Do not prompt for confirmation') + # OpenShift command argument configuration + with self.argument_context('openshift') as c: + c.argument('resource_name', name_type, help='Name of the managed OpenShift cluster.', + completer=get_resource_name_completion_list('Microsoft.ContainerService/OpenShiftManagedClusters')) + c.argument('name', name_type, help='Name of the managed OpenShift cluster.', + completer=get_resource_name_completion_list('Microsoft.ContainerService/OpenShiftManagedClusters')) + c.argument('compute_count', options_list=['--compute-count', '-c'], type=int, default=4) + c.argument('tags', tags_type) + + with self.argument_context('openshift create') as c: + c.argument('name', validator=validate_linux_host_name) + c.argument('compute_vm_size', options_list=['--compute-vm-size', '-s']) + c.argument('fqdn', required=True) + c.argument('aad_client_app_id') + c.argument('aad_client_app_secret') + c.argument('aad_tenant_id') + c.argument('vnet_cidr') + c.argument('subnet_cidr') + c.argument('vnet_peer_id') + def _get_default_install_location(exe_name): system = platform.system() diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/commands.py b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/commands.py index 587c622c097..26af5ddc0af 100644 --- a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/commands.py +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/commands.py @@ -8,6 +8,7 @@ from ._client_factory import cf_container_services from ._client_factory import cf_managed_clusters +from ._client_factory import cf_openshift_managed_clusters from ._format import aks_list_table_format from ._format import aks_show_table_format from ._format import aks_upgrades_table_format @@ -28,6 +29,12 @@ def load_command_table(self, _): client_factory=cf_managed_clusters ) + openshift_managed_clusters_sdk = CliCommandType( + operations_tmpl='azure.mgmt.containerservice.v2018_09_30_preview.operations.' + 'open_shift_managed_clusters_operations#OpenShiftManagedClustersOperations.{}', + client_factory=cf_openshift_managed_clusters + ) + # ACS base commands with self.command_group('acs', container_services_sdk, client_factory=cf_container_services) as g: g.custom_command('browse', 'acs_browse') @@ -76,3 +83,11 @@ def load_command_table(self, _): with self.command_group('aks', container_services_sdk, client_factory=cf_container_services) as g: g.custom_command('get-versions', 'aks_get_versions', table_transformer=aks_versions_table_format) + + # OSA commands + with self.command_group('openshift', openshift_managed_clusters_sdk, client_factory=cf_openshift_managed_clusters) as g: + g.custom_command('create', 'openshift_create', supports_no_wait=True) + g.command('delete', 'delete', supports_no_wait=True, confirmation=True) + g.custom_command('scale', 'openshift_scale', supports_no_wait=True) + g.custom_show_command('show', 'openshift_show') + g.wait_command('wait') diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py index b75dc0aa7ad..4e855939d85 100644 --- a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py @@ -43,10 +43,12 @@ from azure.cli.core.keys import is_valid_ssh_rsa_public_key from azure.cli.core.util import in_cloud_console, shell_safe_json_parse, truncate_text, sdk_no_wait from azure.graphrbac.models import (ApplicationCreateParameters, + ApplicationUpdateParameters, PasswordCredential, KeyCredential, ServicePrincipalCreateParameters, - GetObjectsParameters) + GetObjectsParameters, + ResourceAccess, RequiredResourceAccess) from azure.mgmt.containerservice.models import ContainerServiceLinuxProfile from azure.mgmt.containerservice.models import ContainerServiceNetworkProfile from azure.mgmt.containerservice.models import ContainerServiceOrchestratorTypes @@ -58,6 +60,18 @@ from azure.mgmt.containerservice.models import ManagedClusterAADProfile from azure.mgmt.containerservice.models import ManagedClusterAddonProfile from azure.mgmt.containerservice.models import ManagedClusterAgentPoolProfile +from azure.mgmt.containerservice.models import OpenShiftManagedClusterAgentPoolProfile +from azure.mgmt.containerservice.models import OSType +from azure.mgmt.containerservice.models import OpenShiftAgentPoolProfileRole +from azure.mgmt.containerservice.models import OpenShiftManagedClusterIdentityProvider +from azure.mgmt.containerservice.models import OpenShiftManagedClusterAADIdentityProvider +from azure.mgmt.containerservice.models import OpenShiftManagedCluster +from azure.mgmt.containerservice.models import OpenShiftManagedClusterMasterPoolProfile +from azure.mgmt.containerservice.models import OpenShiftContainerServiceVMSize +from azure.mgmt.containerservice.models import OpenShiftRouterProfile +from azure.mgmt.containerservice.models import OpenShiftManagedClusterAuthProfile +from azure.mgmt.containerservice.models import NetworkProfile + from ._client_factory import cf_container_services from ._client_factory import cf_resource_groups from ._client_factory import get_auth_management_client @@ -1160,7 +1174,7 @@ def _resolve_service_principal(client, identifier): def create_application(client, display_name, homepage, identifier_uris, available_to_other_tenants=False, password=None, reply_urls=None, key_value=None, key_type=None, key_usage=None, start_date=None, - end_date=None): + end_date=None, required_resource_accesses=None): from azure.graphrbac.models import GraphErrorException password_creds, key_creds = _build_application_creds(password, key_value, key_type, key_usage, start_date, end_date) @@ -1171,7 +1185,8 @@ def create_application(client, display_name, homepage, identifier_uris, homepage=homepage, reply_urls=reply_urls, key_credentials=key_creds, - password_credentials=password_creds) + password_credentials=password_creds, + required_resource_access=required_resource_accesses) try: return client.create(app_create_param) except GraphErrorException as ex: @@ -1182,6 +1197,27 @@ def create_application(client, display_name, homepage, identifier_uris, raise +def update_application(client, object_id, display_name, homepage, identifier_uris, + available_to_other_tenants=False, password=None, reply_urls=None, + key_value=None, key_type=None, key_usage=None, start_date=None, + end_date=None, required_resource_accesses=None): + from azure.graphrbac.models import GraphErrorException + password_creds, key_creds = _build_application_creds(password, key_value, key_type, + key_usage, start_date, end_date) + try: + if key_creds: + client.update_key_credentials(object_id, key_creds) + if password_creds: + client.update_password_credentials(object_id, password_creds) + return + except GraphErrorException as ex: + if 'insufficient privileges' in str(ex).lower(): + link = 'https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-create-service-principal-portal' # pylint: disable=line-too-long + raise CLIError("Directory permission is needed for the current user to register the application. " + "For how to configure, please refer '{}'. Original error: {}".format(link, ex)) + raise + + def _build_application_creds(password=None, key_value=None, key_type=None, key_usage=None, start_date=None, end_date=None): if password and key_value: @@ -2074,6 +2110,61 @@ def _ensure_aks_service_principal(cli_ctx, return load_acs_service_principal(subscription_id, file_name=file_name_aks) +def _ensure_osa_aad(cli_ctx, + aad_client_app_id=None, + aad_client_app_secret=None, + aad_tenant_id=None, + identifier=None, + name=None, update=False): + rbac_client = get_graph_rbac_management_client(cli_ctx) + if not aad_client_app_id: + if not aad_client_app_secret and update: + aad_client_app_secret = binascii.b2a_hex(os.urandom(10)).decode('utf-8') + reply_url = 'https://{}/oauth2callback/Azure%20AD'.format(identifier) + + # Delegate Sign In and Read User Profile permissions on Windows Azure Active Directory API + resource_access = ResourceAccess(id="311a71cc-e848-46a1-bdf8-97ff7156d8e6", + additional_properties=None, type="Scope") + required_osa_aad_access = RequiredResourceAccess(resource_access=[resource_access], + additional_properties=None, + resource_app_id="00000002-0000-0000-c000-000000000000") + list_aad_filtered = list(rbac_client.applications.list(filter="identifierUris/any(s:s eq '{}')".format(reply_url))) + if update: + if list_aad_filtered: + update_application(client=rbac_client.applications, + object_id=list_aad_filtered[0].object_id, + display_name=identifier, + identifier_uris=[reply_url], + reply_urls=[reply_url], + homepage=reply_url, + password=aad_client_app_secret, + required_resource_accesses=[required_osa_aad_access]) + aad_client_app_id = list_aad_filtered[0].app_id + logger.info('Updated AAD: %s', aad_client_app_id) + else: + result = create_application(client=rbac_client.applications, + display_name=identifier, + identifier_uris=[reply_url], + reply_urls=[reply_url], + homepage=reply_url, + password=aad_client_app_secret, + required_resource_accesses=[required_osa_aad_access]) + aad_client_app_id = result.app_id + logger.info('Created an AAD: %s', aad_client_app_id) + else: + aad_client_app_id = list_aad_filtered[0].app_id + aad_client_app_secret = 'whatever' + # Get the TenantID + if aad_tenant_id is None: + profile = Profile(cli_ctx=cli_ctx) + _, _, aad_tenant_id = profile.get_login_credentials() + return OpenShiftManagedClusterAADIdentityProvider( + client_id=aad_client_app_id, + secret=aad_client_app_secret, + tenant_id=aad_tenant_id, + kind='AADIdentityProvider') + + def _ensure_service_principal(cli_ctx, service_principal=None, client_secret=None, @@ -2180,6 +2271,30 @@ def _remove_nulls(managed_clusters): return managed_clusters +def _remove_osa_nulls(managed_clusters): + """ + Remove some often-empty fields from a list of OpenShift ManagedClusters, so the JSON representation + doesn't contain distracting null fields. + + This works around a quirk of the SDK for python behavior. These fields are not sent + by the server, but get recreated by the CLI's own "to_dict" serialization. + """ + attrs = ['tags', 'public_hostname', 'plan', 'type', 'id'] + ap_master_attrs = ['name', 'os_type'] + net_attrs = ['peer_vnet_id'] + for managed_cluster in managed_clusters: + for attr in attrs: + if getattr(managed_cluster, attr, None) is None: + delattr(managed_cluster, attr) + for attr in ap_master_attrs: + if getattr(managed_cluster.master_pool_profile, attr, None) is None: + delattr(managed_cluster.master_pool_profile, attr) + for attr in net_attrs: + if getattr(managed_cluster.network_profile, attr, None) is None: + delattr(managed_cluster.network_profile, attr) + return managed_clusters + + def _validate_aci_location(norm_location): """ Validate the Azure Container Instance location @@ -2199,3 +2314,109 @@ def _validate_aci_location(norm_location): if norm_location not in aci_locations: raise CLIError('Azure Container Instance is not available at location "{}".'.format(norm_location) + ' The available locations are "{}"'.format(','.join(aci_locations))) + + +def openshift_create(cmd, client, resource_group_name, name, # pylint: disable=too-many-locals + location=None, + compute_vm_size="Standard_D4s_v3", + compute_count=3, + fqdn='', + aad_client_app_id=None, + aad_client_app_secret=None, + aad_tenant_id=None, + vnet_cidr="10.0.0.0/8", + subnet_cidr="10.0.0.0/24", + vnet_peer_id=None, + tags=None, + no_wait=False): + + rg_location = _get_rg_location(cmd.cli_ctx, resource_group_name) + if location is None: + location = rg_location + agent_pool_profiles = [] + agent_node_pool_profile = OpenShiftManagedClusterAgentPoolProfile( + name='compute', # Must be 12 chars or less before ACS RP adds to it + count=int(compute_count), + vm_size=compute_vm_size, + os_type="Linux", + role=OpenShiftAgentPoolProfileRole.compute, + subnet_cidr=subnet_cidr + ) + + agent_infra_pool_profile = OpenShiftManagedClusterAgentPoolProfile( + name='infra', # Must be 12 chars or less before ACS RP adds to it + count=int(2), + vm_size="Standard_D4s_v3", + os_type="Linux", + role=OpenShiftAgentPoolProfileRole.infra, + subnet_cidr=subnet_cidr + ) + + agent_pool_profiles.append(agent_node_pool_profile) + agent_pool_profiles.append(agent_infra_pool_profile) + + agent_master_pool_profile = OpenShiftManagedClusterAgentPoolProfile( + name='master', # Must be 12 chars or less before ACS RP adds to it + count=int(3), + vm_size="Standard_D4s_v3", + os_type="Linux", + subnet_cidr=subnet_cidr + ) + identity_providers = [] + + # Validating if the cluster is not existing since we are not supporting the AAD rotation on OSA for now + update_aad_secret = False + try: + client.get(resource_group_name, name) + except CloudError as ex: + update_aad_secret = True + osa_aad_identity = _ensure_osa_aad(cmd.cli_ctx, + aad_client_app_id=aad_client_app_id, + aad_client_app_secret=aad_client_app_secret, + aad_tenant_id=aad_tenant_id, identifier=fqdn, + name=name, update=update_aad_secret) + identity_providers.append( + OpenShiftManagedClusterIdentityProvider( + name='Azure AD', + provider=osa_aad_identity + ) + ) + auth_profile = OpenShiftManagedClusterAuthProfile(identity_providers=identity_providers) + + default_router_profile = OpenShiftRouterProfile(name='default') + + network_profile = NetworkProfile(vnet_cidr=vnet_cidr, peer_vnet_id=vnet_peer_id) + + osamc = OpenShiftManagedCluster( + location=location, tags=tags, + open_shift_version="v3.11", + fqdn=fqdn, + network_profile=network_profile, + auth_profile=auth_profile, + agent_pool_profiles=agent_pool_profiles, + master_pool_profile=agent_master_pool_profile, + router_profiles=[default_router_profile]) + + try: + # long_running_operation_timeout=300 + return sdk_no_wait(no_wait, client.create_or_update, + resource_group_name=resource_group_name, resource_name=name, parameters=osamc) + except CloudError as ex: + raise ex + + +def openshift_show(cmd, client, resource_group_name, name): + mc = client.get(resource_group_name, name) + return _remove_osa_nulls([mc]) + + +def openshift_scale(cmd, client, resource_group_name, name, compute_count, no_wait=False): + instance = client.get(resource_group_name, name) + # TODO: change this approach when we support multiple agent pools. + instance.agent_pool_profiles[0].count = int(compute_count) # pylint: disable=no-member + + # null out the AAD profile and add manually the masterAP name because otherwise validation complains + instance.master_pool_profile.name = "master" + instance.auth_profile = None + + return sdk_no_wait(no_wait, client.create_or_update, resource_group_name, name, instance) diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/latest/recordings/test_openshift_create_default_service.yaml b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/latest/recordings/test_openshift_create_default_service.yaml new file mode 100644 index 00000000000..1d8249d2f9c --- /dev/null +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/latest/recordings/test_openshift_create_default_service.yaml @@ -0,0 +1,1375 @@ +interactions: +- request: + body: '{"location": "eastus", "tags": {"product": "azurecli", "cause": "automation", + "date": "2018-09-27T22:48:57Z"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001?api-version=2018-05-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001","name":"clitestosa000001","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2018-09-27T22:48:57Z"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['268'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 27 Sep 2018 22:49:00 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 201, message: Created} +- request: + body: 'b''{"availableToOtherTenants": false, "displayName": "clitest000002", "identifierUris": + ["http://clitest000002"], "passwordCredentials": [{"startDate": "2018-09-27T22:49:00.928661Z", + "endDate": "2019-09-27T22:49:00.928661Z", "keyId": "02d04b17-cc75-443d-af19-78a31eef7433", + "value": "clitest000002"}]}''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [ad app create] + Connection: [keep-alive] + Content-Length: ['331'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-graphrbac/0.40.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: POST + uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/applications?api-version=1.6 + response: + body: {string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/Microsoft.DirectoryServices.Application/@Element","odata.type":"Microsoft.DirectoryServices.Application","objectType":"Application","objectId":"ca42376f-4ee5-4e01-ae01-70d58ad15154","deletionTimestamp":null,"acceptMappedClaims":null,"addIns":[],"appId":"e11a0633-03b1-49f9-8f3e-ab2d3ec9673b","appRoles":[],"availableToOtherTenants":false,"displayName":"clitest000002","errorUrl":null,"groupMembershipClaims":null,"homepage":null,"identifierUris":["http://clitest000002"],"informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"isDeviceOnlyAuthSupported":null,"keyCredentials":[],"knownClientApplications":[],"logoutUrl":null,"logo@odata.mediaContentType":"application/json;odata=minimalmetadata; + charset=utf-8","logoUrl":null,"oauth2AllowIdTokenImplicitFlow":true,"oauth2AllowImplicitFlow":false,"oauth2AllowUrlPathMatching":false,"oauth2Permissions":[{"adminConsentDescription":"Allow + the application to access clitest000002 on behalf of the signed-in user.","adminConsentDisplayName":"Access + clitest000002","id":"43109247-582c-4620-a84b-7a321b870e7e","isEnabled":true,"type":"User","userConsentDescription":"Allow + the application to access clitest000002 on your behalf.","userConsentDisplayName":"Access + clitest000002","value":"user_impersonation"}],"oauth2RequirePostResponse":false,"optionalClaims":null,"orgRestrictions":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[{"customKeyIdentifier":null,"endDate":"2019-09-27T22:49:00.928661Z","keyId":"02d04b17-cc75-443d-af19-78a31eef7433","startDate":"2018-09-27T22:49:00.928661Z","value":null}],"publicClient":null,"publisherDomain":null,"recordConsentConditions":null,"replyUrls":[],"requiredResourceAccess":[],"samlMetadataUrl":null,"signInAudience":"AzureADMyOrg","tokenEncryptionKeyId":null}'} + headers: + access-control-allow-origin: ['*'] + cache-control: [no-cache] + content-length: ['2022'] + content-type: [application/json; odata=minimalmetadata; streaming=true; charset=utf-8] + dataserviceversion: [3.0;] + date: ['Thu, 27 Sep 2018 22:49:02 GMT'] + duration: ['7741754'] + expires: ['-1'] + location: ['https://graph.windows.net/00000000-0000-0000-0000-000000000000/directoryObjects/ca42376f-4ee5-4e01-ae01-70d58ad15154/Microsoft.DirectoryServices.Application'] + ocp-aad-diagnostics-server-name: [g4s8S2CVMJccOOjyJbVz32MTfIGaGCyykdSBjzWi76I=] + ocp-aad-session-key: [OyoZ8oqqqiZUCB1FeLATecUsBr0tYqMot_RHhwobxo7utsKNlIvL4DxYZJY0ZfCafwR-SzszojAJf7kGLWiw0f6vW5Tq2a1M3vLQ4q9ipnCh-ib95bqv8yLsYPnbLUty8AIsZiCI7lg7-b9NjPOiVdJ0bi5ntx7wBLyJLt5WZzKBeg_Vb2zew_dTsvHmLK90CN7dih_73e-B-d1lEGgI7A.RERLEDUqLKd4niNkXQ07AxWeHI9mZbLnVgBjLf1HQs8] + pragma: [no-cache] + request-id: [d23cfd75-2315-4d97-952a-517db737ad7e] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-dirapi-data-contract-version: ['1.6'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001?api-version=2018-05-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001","name":"clitestosa000001","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2018-09-27T22:48:57Z"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['268'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 27 Sep 2018 22:49:02 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: 'b''b\''{"location": "eastus", "properties": {"openShiftVersion": "v3.10", + "fqdn": "clitestosa000003.eastus.cloudapp.azure.com", "routerProfiles": [{"name": + "default"}], "masterPoolProfile": {"name": "master", "count": 3, "vmSize": "Standard_D2s_v3", + "osType": "Linux"}, "agentPoolProfiles": [{"name": "compute", "count": 1, "vmSize": + "Standard_D4s_v3", "osType": "Linux", "role": "compute"}, {"name": "infra", + "count": 2, "vmSize": "Standard_D4s_v3", "osType": "Linux", "role": "infra"}], + "authProfile": {"identityProviders": [{"name": "Azure AD", "provider": {"kind": + "AADIdentityProvider", "clientId": "e11a0633-03b1-49f9-8f3e-ab2d3ec9673b", "secret": + "clitest000002", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}}]}}}\''''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + Content-Length: ['730'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"type\": + \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n \"properties\": + {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": \"v3.10\",\n + \ \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n \"routerProfiles\": + [\n {\n \"name\": \"default\"\n }\n ],\n \"masterPoolProfile\": + {\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": + [\n {\n \"name\": \"compute\",\n \"count\": 1,\n \"vmSize\": + \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": \"compute\"\n + \ },\n {\n \"name\": \"infra\",\n \"count\": 2,\n \"vmSize\": + \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": \"infra\"\n + \ }\n ],\n \"authProfile\": {\n \"identityProviders\": [\n {\n + \ \"name\": \"Azure AD\",\n \"provider\": {\n \"kind\": \"AADIdentityProvider\",\n + \ \"clientId\": \"e11a0633-03b1-49f9-8f3e-ab2d3ec9673b\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n ]\n }\n }\n + }"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31'] + cache-control: [no-cache] + content-length: ['1164'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:49:05 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:49:37 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:50:07 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:50:39 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:51:10 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:51:40 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:52:10 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:52:42 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:53:23 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:53:54 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:54:25 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:54:55 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:55:27 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:55:58 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:56:28 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:57:00 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:57:30 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:58:01 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:58:32 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:59:03 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['125'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 22:59:34 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/979045e0-ff19-49ca-a1a3-36b8d44f62b9?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"e0459097-19ff-ca49-a1a3-36b8d44f62b9\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2018-09-27T22:49:05.986712Z\",\n \"endTime\": + \"2018-09-27T22:59:50.9933073Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['169'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:00:05 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"type\": + \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n \"properties\": + {\n \"provisioningState\": \"Succeeded\",\n \"openShiftVersion\": \"v3.10\",\n + \ \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n \"routerProfiles\": + [\n {\n \"name\": \"default\",\n \"publicSubdomain\": \"ff31eb96188c4ca1adab.eastus.int.aksapp.io\",\n + \ \"fqdn\": \"osad58027bbeb9943da9ee4.eastus.cloudapp.azure.com\"\n }\n + \ ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\"\n + \ },\n \"agentPoolProfiles\": [\n {\n \"name\": \"compute\",\n \"count\": + 1,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"compute\"\n },\n {\n \"name\": \"infra\",\n \"count\": 2,\n + \ \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"infra\"\n }\n ],\n \"authProfile\": {\n \"identityProviders\": + [\n {\n \"name\": \"Azure AD\",\n \"provider\": {\n \"kind\": + \"AADIdentityProvider\",\n \"clientId\": \"e11a0633-03b1-49f9-8f3e-ab2d3ec9673b\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1300'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:00:06 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift show] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"type\": + \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n \"properties\": + {\n \"provisioningState\": \"Succeeded\",\n \"openShiftVersion\": \"v3.10\",\n + \ \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n \"routerProfiles\": + [\n {\n \"name\": \"default\",\n \"publicSubdomain\": \"ff31eb96188c4ca1adab.eastus.int.aksapp.io\",\n + \ \"fqdn\": \"osad58027bbeb9943da9ee4.eastus.cloudapp.azure.com\"\n }\n + \ ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\"\n + \ },\n \"agentPoolProfiles\": [\n {\n \"name\": \"compute\",\n \"count\": + 1,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"compute\"\n },\n {\n \"name\": \"infra\",\n \"count\": 2,\n + \ \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"infra\"\n }\n ],\n \"authProfile\": {\n \"identityProviders\": + [\n {\n \"name\": \"Azure AD\",\n \"provider\": {\n \"kind\": + \"AADIdentityProvider\",\n \"clientId\": \"e11a0633-03b1-49f9-8f3e-ab2d3ec9673b\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1300'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:00:07 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"type\": + \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n \"properties\": + {\n \"provisioningState\": \"Succeeded\",\n \"openShiftVersion\": \"v3.10\",\n + \ \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n \"routerProfiles\": + [\n {\n \"name\": \"default\",\n \"publicSubdomain\": \"ff31eb96188c4ca1adab.eastus.int.aksapp.io\",\n + \ \"fqdn\": \"osad58027bbeb9943da9ee4.eastus.cloudapp.azure.com\"\n }\n + \ ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\"\n + \ },\n \"agentPoolProfiles\": [\n {\n \"name\": \"compute\",\n \"count\": + 1,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"compute\"\n },\n {\n \"name\": \"infra\",\n \"count\": 2,\n + \ \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"infra\"\n }\n ],\n \"authProfile\": {\n \"identityProviders\": + [\n {\n \"name\": \"Azure AD\",\n \"provider\": {\n \"kind\": + \"AADIdentityProvider\",\n \"clientId\": \"e11a0633-03b1-49f9-8f3e-ab2d3ec9673b\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1300'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:00:07 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: 'b''{"location": "eastus", "properties": {"openShiftVersion": "v3.10", "fqdn": + "clitestosa000003.eastus.cloudapp.azure.com", "routerProfiles": [{"name": "default", + "publicSubdomain": "ff31eb96188c4ca1adab.eastus.int.aksapp.io"}], "masterPoolProfile": + {"name": "master", "count": 3, "vmSize": "Standard_D2s_v3"}, "agentPoolProfiles": + [{"name": "compute", "count": 3, "vmSize": "Standard_D4s_v3", "osType": "Linux", + "role": "compute"}, {"name": "infra", "count": 2, "vmSize": "Standard_D4s_v3", + "osType": "Linux", "role": "infra"}]}}''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + Content-Length: ['526'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n + \ \"properties\": {\n \"provisioningState\": \"Updating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"ff31eb96188c4ca1adab.eastus.int.aksapp.io\",\n \"fqdn\": \"osad58027bbeb9943da9ee4.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 3,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"e11a0633-03b1-49f9-8f3e-ab2d3ec9673b\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/f4e6f2ad-4a9d-4bca-8675-82d72510f199?api-version=2017-08-31'] + cache-control: [no-cache] + content-length: ['1060'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:00:10 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/f4e6f2ad-4a9d-4bca-8675-82d72510f199?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"adf2e6f4-9d4a-ca4b-8675-82d72510f199\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:00:10.9739838Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:00:41 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/f4e6f2ad-4a9d-4bca-8675-82d72510f199?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"adf2e6f4-9d4a-ca4b-8675-82d72510f199\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:00:10.9739838Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:01:12 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/f4e6f2ad-4a9d-4bca-8675-82d72510f199?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"adf2e6f4-9d4a-ca4b-8675-82d72510f199\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:00:10.9739838Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:01:43 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/f4e6f2ad-4a9d-4bca-8675-82d72510f199?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"adf2e6f4-9d4a-ca4b-8675-82d72510f199\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:00:10.9739838Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:02:13 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/f4e6f2ad-4a9d-4bca-8675-82d72510f199?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"adf2e6f4-9d4a-ca4b-8675-82d72510f199\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:00:10.9739838Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:02:45 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/f4e6f2ad-4a9d-4bca-8675-82d72510f199?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"adf2e6f4-9d4a-ca4b-8675-82d72510f199\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:00:10.9739838Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:03:15 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/f4e6f2ad-4a9d-4bca-8675-82d72510f199?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"adf2e6f4-9d4a-ca4b-8675-82d72510f199\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2018-09-27T23:00:10.9739838Z\",\n \"endTime\": + \"2018-09-27T23:03:43.2066801Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['170'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:03:46 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n + \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"ff31eb96188c4ca1adab.eastus.int.aksapp.io\",\n \"fqdn\": \"osad58027bbeb9943da9ee4.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 3,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"e11a0633-03b1-49f9-8f3e-ab2d3ec9673b\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1061'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:03:47 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift show] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n + \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"ff31eb96188c4ca1adab.eastus.int.aksapp.io\",\n \"fqdn\": \"osad58027bbeb9943da9ee4.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 3,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"e11a0633-03b1-49f9-8f3e-ab2d3ec9673b\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1061'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:03:49 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + Content-Length: ['0'] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/630d5777-5560-417a-af15-a9ba5fe346cf?api-version=2017-08-31'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 27 Sep 2018 23:03:51 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operationresults/630d5777-5560-417a-af15-a9ba5fe346cf?api-version=2017-08-31'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14997'] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [ad app delete] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-graphrbac/0.40.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/applications?$filter=identifierUris%2Fany%28s%3As%20eq%20%27e11a0633-03b1-49f9-8f3e-ab2d3ec9673b%27%29&api-version=1.6 + response: + body: {string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[]}'} + headers: + access-control-allow-origin: ['*'] + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json; odata=minimalmetadata; streaming=true; charset=utf-8] + dataserviceversion: [3.0;] + date: ['Thu, 27 Sep 2018 23:03:52 GMT'] + duration: ['624263'] + expires: ['-1'] + ocp-aad-diagnostics-server-name: [ibSVhRliBYH5tIt62VqfsdJkAo3D90LR3MkNq2uSDPA=] + ocp-aad-session-key: [cjmPfKsqiBlYccyE8aruloZD37ld49TCUWQ0mKw6t6DmH5mdYlcA6x9TOB8H1O_W6HgI7goEpWG2asVjO2HFXX_XWZ_tR_q7rqLYkGQigYf8AY_ujuDkMciJP1QPPiPce8lsAo_a2UIVkvl7dPEBl5ZdPsEc2jg3ByKRpn3IpjUMMFcu7NtWjPkDqRkT28-H5k1YCKKQypjALeZmXSet2w.nFAi_sOtcNkKjoo0tGG0eQCOv9dgclZZP1qEJGlTpW0] + pragma: [no-cache] + request-id: [e53d2822-81d6-4271-954f-aae69871cce0] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-ms-dirapi-data-contract-version: ['1.6'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [ad app delete] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-graphrbac/0.40.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/applications?$filter=appId%20eq%20%27e11a0633-03b1-49f9-8f3e-ab2d3ec9673b%27&api-version=1.6 + response: + body: {string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.Application","objectType":"Application","objectId":"ca42376f-4ee5-4e01-ae01-70d58ad15154","deletionTimestamp":null,"acceptMappedClaims":null,"addIns":[],"appId":"e11a0633-03b1-49f9-8f3e-ab2d3ec9673b","appRoles":[],"availableToOtherTenants":false,"displayName":"clitest000002","errorUrl":null,"groupMembershipClaims":null,"homepage":null,"identifierUris":["http://clitest000002"],"informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"isDeviceOnlyAuthSupported":null,"keyCredentials":[],"knownClientApplications":[],"logoutUrl":null,"logo@odata.mediaEditLink":"directoryObjects/ca42376f-4ee5-4e01-ae01-70d58ad15154/Microsoft.DirectoryServices.Application/logo","logoUrl":null,"mainLogo@odata.mediaEditLink":"directoryObjects/ca42376f-4ee5-4e01-ae01-70d58ad15154/Microsoft.DirectoryServices.Application/mainLogo","oauth2AllowIdTokenImplicitFlow":true,"oauth2AllowImplicitFlow":false,"oauth2AllowUrlPathMatching":false,"oauth2Permissions":[{"adminConsentDescription":"Allow + the application to access clitest000002 on behalf of the signed-in user.","adminConsentDisplayName":"Access + clitest000002","id":"43109247-582c-4620-a84b-7a321b870e7e","isEnabled":true,"type":"User","userConsentDescription":"Allow + the application to access clitest000002 on your behalf.","userConsentDisplayName":"Access + clitest000002","value":"user_impersonation"}],"oauth2RequirePostResponse":false,"optionalClaims":null,"orgRestrictions":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[{"customKeyIdentifier":null,"endDate":"2019-09-27T22:49:00.928661Z","keyId":"02d04b17-cc75-443d-af19-78a31eef7433","startDate":"2018-09-27T22:49:00.928661Z","value":null}],"publicClient":null,"publisherDomain":null,"recordConsentConditions":null,"replyUrls":[],"requiredResourceAccess":[],"samlMetadataUrl":null,"signInAudience":"AzureADMyOrg","tokenEncryptionKeyId":null}]}'} + headers: + access-control-allow-origin: ['*'] + cache-control: [no-cache] + content-length: ['2163'] + content-type: [application/json; odata=minimalmetadata; streaming=true; charset=utf-8] + dataserviceversion: [3.0;] + date: ['Thu, 27 Sep 2018 23:03:53 GMT'] + duration: ['474790'] + expires: ['-1'] + ocp-aad-diagnostics-server-name: [evsRSR5DO7q01AXoKm+ZyHztJZdBKEUSG+kXCXlrYfo=] + ocp-aad-session-key: [vr96utt3l6TW8bZJRURvSbyol7Gcw_VKM6VjoB8Bly0aF80_2jWAH-iTyhyrE6vnCwHmoMsUxCsH6_AJQ8MdDxQzoWVG2-TMg95q-mnKl5-YCxLfcnrzA5hGGkpi-IMtJIoioAvcO3O__gkSEU60-IvDfLCcNrCnPalBO-vQ38eL1ROwWlKypuJWBNEwuxDyweDxix-Uv9XTQyyM_OaAYw.NZOEbwvB1psUVRuaTmcEJ44Cjeju8NUprWEPhJTxm7g] + pragma: [no-cache] + request-id: [cf0830a5-24e2-4f4f-975b-76158b9d52a6] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-ms-dirapi-data-contract-version: ['1.6'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [ad app delete] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-graphrbac/0.40.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: DELETE + uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/applications/ca42376f-4ee5-4e01-ae01-70d58ad15154?api-version=1.6 + response: + body: {string: ''} + headers: + access-control-allow-origin: ['*'] + cache-control: [no-cache] + dataserviceversion: [1.0;] + date: ['Thu, 27 Sep 2018 23:03:56 GMT'] + duration: ['35785145'] + expires: ['-1'] + ocp-aad-diagnostics-server-name: [bOSVw5ebUyVNrnHERuA1cFYGZib69gI5UzRTYzSt7ZU=] + ocp-aad-session-key: [n_7RkDePIECp2xQVTVEfcbd2KPZRJQOIbu4j0giFzP8VZ1h8_KIREhgc2T-IkJXWnep1T5w31wJP3DBaWimHTIdXV3vCkWMTaX9CWOarLdbtCO9qsKo_u-ur6-AC4a8d1_dpsw005v-Cj5_wDeuXvg0j8Vbg1Xl3sGWfkWOXfa3qfjqWsAvvWqDXOtbezQvnDVkRP2XvN0EuCp8OLG2dzg.o8M0jweb13K34mggx9T-4Nmm-oxE5Yiev-SEbcwDoog] + pragma: [no-cache] + request-id: [93cf4f86-04fe-4aff-bd99-5e2d2f313861] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-dirapi-data-contract-version: ['1.6'] + x-powered-by: [ASP.NET] + status: {code: 204, message: No Content} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001?api-version=2018-05-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 27 Sep 2018 23:03:57 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUT1NBVFBHWkFORS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/latest/recordings/test_openshift_create_default_service_no_aad.yaml b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/latest/recordings/test_openshift_create_default_service_no_aad.yaml new file mode 100644 index 00000000000..a74b85b8af7 --- /dev/null +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/latest/recordings/test_openshift_create_default_service_no_aad.yaml @@ -0,0 +1,1437 @@ +interactions: +- request: + body: '{"location": "eastus", "tags": {"product": "azurecli", "cause": "automation", + "date": "2018-09-27T23:03:58Z"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001?api-version=2018-05-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001","name":"clitestosa000001","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2018-09-27T23:03:58Z"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['268'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 27 Sep 2018 23:03:58 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001?api-version=2018-05-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001","name":"clitestosa000001","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2018-09-27T23:03:58Z"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['268'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 27 Sep 2018 23:03:59 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: 'b''{"availableToOtherTenants": false, "displayName": "clitestosa000002.eastus.cloudapp.azure.com", + "homepage": "https://clitestosa000002.eastus.cloudapp.azure.com/oauth2callback/Azure%20AD", + "identifierUris": ["https://clitestosa000002.eastus.cloudapp.azure.com/oauth2callback/Azure%20AD"], + "replyUrls": ["https://clitestosa000002.eastus.cloudapp.azure.com/oauth2callback/Azure%20AD"], + "passwordCredentials": [{"startDate": "2018-09-27T23:03:59.913591Z", "endDate": + "2019-09-27T23:03:59.913591Z", "keyId": "8fb95065-8259-4b6d-ad80-f727ce919075", + "value": "53b8f3d9dd3350a0bd7d"}]}''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + Content-Length: ['573'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-graphrbac/0.40.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: POST + uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/applications?api-version=1.6 + response: + body: {string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/Microsoft.DirectoryServices.Application/@Element","odata.type":"Microsoft.DirectoryServices.Application","objectType":"Application","objectId":"45b72d49-b36a-4b0a-8eb1-cae772b61b4c","deletionTimestamp":null,"acceptMappedClaims":null,"addIns":[],"appId":"902e6685-e856-4cea-921f-2c230a5f1604","appRoles":[],"availableToOtherTenants":false,"displayName":"clitestosa000002.eastus.cloudapp.azure.com","errorUrl":null,"groupMembershipClaims":null,"homepage":"https://clitestosa000002.eastus.cloudapp.azure.com/oauth2callback/Azure%20AD","identifierUris":["https://clitestosa000002.eastus.cloudapp.azure.com/oauth2callback/Azure%20AD"],"informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"isDeviceOnlyAuthSupported":null,"keyCredentials":[],"knownClientApplications":[],"logoutUrl":null,"logo@odata.mediaContentType":"application/json;odata=minimalmetadata; + charset=utf-8","logoUrl":null,"oauth2AllowIdTokenImplicitFlow":true,"oauth2AllowImplicitFlow":false,"oauth2AllowUrlPathMatching":false,"oauth2Permissions":[{"adminConsentDescription":"Allow + the application to access clitestosa000002.eastus.cloudapp.azure.com on behalf + of the signed-in user.","adminConsentDisplayName":"Access clitestosa000002.eastus.cloudapp.azure.com","id":"3a5dd06b-05f8-4f25-92f7-b876515a4829","isEnabled":true,"type":"User","userConsentDescription":"Allow + the application to access clitestosa000002.eastus.cloudapp.azure.com on your + behalf.","userConsentDisplayName":"Access clitestosa000002.eastus.cloudapp.azure.com","value":"user_impersonation"}],"oauth2RequirePostResponse":false,"optionalClaims":null,"orgRestrictions":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[{"customKeyIdentifier":null,"endDate":"2019-09-27T23:03:59.913591Z","keyId":"8fb95065-8259-4b6d-ad80-f727ce919075","startDate":"2018-09-27T23:03:59.913591Z","value":null}],"publicClient":null,"publisherDomain":null,"recordConsentConditions":null,"replyUrls":["https://clitestosa000002.eastus.cloudapp.azure.com/oauth2callback/Azure%20AD"],"requiredResourceAccess":[],"samlMetadataUrl":null,"signInAudience":"AzureADMyOrg","tokenEncryptionKeyId":null}'} + headers: + access-control-allow-origin: ['*'] + cache-control: [no-cache] + content-length: ['2301'] + content-type: [application/json; odata=minimalmetadata; streaming=true; charset=utf-8] + dataserviceversion: [3.0;] + date: ['Thu, 27 Sep 2018 23:04:00 GMT'] + duration: ['6193317'] + expires: ['-1'] + location: ['https://graph.windows.net/00000000-0000-0000-0000-000000000000/directoryObjects/45b72d49-b36a-4b0a-8eb1-cae772b61b4c/Microsoft.DirectoryServices.Application'] + ocp-aad-diagnostics-server-name: [1k53FcPYgK2SZ25YiU0qVV+QKBx8wtm6d95AjfIOWOI=] + ocp-aad-session-key: [4JnuBM_f62_36F_sTLSy6rgh-zi_l2Fkjwi5rUQiuQQ2qnbZAk09dXmbUwWxwJnFcX9NUsir66Z_ApgW1Vq5AJqz7lH6QCnNziRgqfRWqbfW_nGNVnikujylqIoZSB1U5rp_CCb76aQ3-T5VicKphnIbFzd3jKWh78EBBDnDK-ThpSH47aatLCSSy3URxIl-88XHiDojtm7H4P66CJrNhw.1JySlUXaUzbfOqZpGh-cWe8E9tr-r_ZHcZiw1vVE8hk] + pragma: [no-cache] + request-id: [a0e93393-1749-4d9c-a27c-7cd0336e353d] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-dirapi-data-contract-version: ['1.6'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: 'b''{"location": "eastus", "properties": {"openShiftVersion": "v3.10", "fqdn": + "clitestosa000002.eastus.cloudapp.azure.com", "routerProfiles": [{"name": "default"}], + "masterPoolProfile": {"name": "master", "count": 3, "vmSize": "Standard_D2s_v3", + "osType": "Linux"}, "agentPoolProfiles": [{"name": "compute", "count": 1, "vmSize": + "Standard_D4s_v3", "osType": "Linux", "role": "compute"}, {"name": "infra", + "count": 2, "vmSize": "Standard_D4s_v3", "osType": "Linux", "role": "infra"}], + "authProfile": {"identityProviders": [{"name": "Azure AD", "provider": {"kind": + "AADIdentityProvider", "clientId": "902e6685-e856-4cea-921f-2c230a5f1604", "secret": + "53b8f3d9dd3350a0bd7d", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}}]}}}''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + Content-Length: ['726'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000002?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000002\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000002\",\n \"type\": + \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n \"properties\": + {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": \"v3.10\",\n + \ \"fqdn\": \"clitestosa000002.eastus.cloudapp.azure.com\",\n \"routerProfiles\": + [\n {\n \"name\": \"default\"\n }\n ],\n \"masterPoolProfile\": + {\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": + [\n {\n \"name\": \"compute\",\n \"count\": 1,\n \"vmSize\": + \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": \"compute\"\n + \ },\n {\n \"name\": \"infra\",\n \"count\": 2,\n \"vmSize\": + \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": \"infra\"\n + \ }\n ],\n \"authProfile\": {\n \"identityProviders\": [\n {\n + \ \"name\": \"Azure AD\",\n \"provider\": {\n \"kind\": \"AADIdentityProvider\",\n + \ \"clientId\": \"902e6685-e856-4cea-921f-2c230a5f1604\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n ]\n }\n }\n + }"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31'] + cache-control: [no-cache] + content-length: ['1164'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:04:03 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:04:34 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:05:04 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:05:36 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:06:07 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:06:37 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:07:09 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:07:40 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:08:11 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:08:41 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:09:12 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:09:43 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:10:14 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:10:44 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:11:15 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:11:47 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:12:18 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:12:48 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:13:20 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:13:50 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:14:21 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:14:51 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:15:22 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7724e4a7-694b-4d7e-9e83-0cd70bf24dbf?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"a7e42477-4b69-7e4d-9e83-0cd70bf24dbf\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2018-09-27T23:04:03.8913441Z\",\n \"endTime\": + \"2018-09-27T23:15:33.3474734Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['170'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:15:53 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000002?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000002\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000002\",\n \"type\": + \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n \"properties\": + {\n \"provisioningState\": \"Succeeded\",\n \"openShiftVersion\": \"v3.10\",\n + \ \"fqdn\": \"clitestosa000002.eastus.cloudapp.azure.com\",\n \"routerProfiles\": + [\n {\n \"name\": \"default\",\n \"publicSubdomain\": \"bfb5da4fb394435282ba.eastus.int.aksapp.io\",\n + \ \"fqdn\": \"osab5e3f3812ee448d1bbe4.eastus.cloudapp.azure.com\"\n }\n + \ ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\"\n + \ },\n \"agentPoolProfiles\": [\n {\n \"name\": \"compute\",\n \"count\": + 1,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"compute\"\n },\n {\n \"name\": \"infra\",\n \"count\": 2,\n + \ \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"infra\"\n }\n ],\n \"authProfile\": {\n \"identityProviders\": + [\n {\n \"name\": \"Azure AD\",\n \"provider\": {\n \"kind\": + \"AADIdentityProvider\",\n \"clientId\": \"902e6685-e856-4cea-921f-2c230a5f1604\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1300'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:15:54 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift show] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000002?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000002\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000002\",\n \"type\": + \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n \"properties\": + {\n \"provisioningState\": \"Succeeded\",\n \"openShiftVersion\": \"v3.10\",\n + \ \"fqdn\": \"clitestosa000002.eastus.cloudapp.azure.com\",\n \"routerProfiles\": + [\n {\n \"name\": \"default\",\n \"publicSubdomain\": \"bfb5da4fb394435282ba.eastus.int.aksapp.io\",\n + \ \"fqdn\": \"osab5e3f3812ee448d1bbe4.eastus.cloudapp.azure.com\"\n }\n + \ ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\"\n + \ },\n \"agentPoolProfiles\": [\n {\n \"name\": \"compute\",\n \"count\": + 1,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"compute\"\n },\n {\n \"name\": \"infra\",\n \"count\": 2,\n + \ \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"infra\"\n }\n ],\n \"authProfile\": {\n \"identityProviders\": + [\n {\n \"name\": \"Azure AD\",\n \"provider\": {\n \"kind\": + \"AADIdentityProvider\",\n \"clientId\": \"902e6685-e856-4cea-921f-2c230a5f1604\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1300'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:15:56 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000002?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000002\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000002\",\n \"type\": + \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n \"properties\": + {\n \"provisioningState\": \"Succeeded\",\n \"openShiftVersion\": \"v3.10\",\n + \ \"fqdn\": \"clitestosa000002.eastus.cloudapp.azure.com\",\n \"routerProfiles\": + [\n {\n \"name\": \"default\",\n \"publicSubdomain\": \"bfb5da4fb394435282ba.eastus.int.aksapp.io\",\n + \ \"fqdn\": \"osab5e3f3812ee448d1bbe4.eastus.cloudapp.azure.com\"\n }\n + \ ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\"\n + \ },\n \"agentPoolProfiles\": [\n {\n \"name\": \"compute\",\n \"count\": + 1,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"compute\"\n },\n {\n \"name\": \"infra\",\n \"count\": 2,\n + \ \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"infra\"\n }\n ],\n \"authProfile\": {\n \"identityProviders\": + [\n {\n \"name\": \"Azure AD\",\n \"provider\": {\n \"kind\": + \"AADIdentityProvider\",\n \"clientId\": \"902e6685-e856-4cea-921f-2c230a5f1604\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1300'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:15:56 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: 'b''{"location": "eastus", "properties": {"openShiftVersion": "v3.10", "fqdn": + "clitestosa000002.eastus.cloudapp.azure.com", "routerProfiles": [{"name": "default", + "publicSubdomain": "bfb5da4fb394435282ba.eastus.int.aksapp.io"}], "masterPoolProfile": + {"name": "master", "count": 3, "vmSize": "Standard_D2s_v3"}, "agentPoolProfiles": + [{"name": "compute", "count": 3, "vmSize": "Standard_D4s_v3", "osType": "Linux", + "role": "compute"}, {"name": "infra", "count": 2, "vmSize": "Standard_D4s_v3", + "osType": "Linux", "role": "infra"}]}}''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + Content-Length: ['526'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000002?api-version=2018-09-30-preview + response: + body: {string: "{\n \"location\": \"eastus\",\n \"name\": \"clitestosa000002\",\n + \ \"properties\": {\n \"provisioningState\": \"Updating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000002.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"bfb5da4fb394435282ba.eastus.int.aksapp.io\",\n \"fqdn\": \"osab5e3f3812ee448d1bbe4.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 3,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"902e6685-e856-4cea-921f-2c230a5f1604\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1e7a8f11-95d4-4706-a75f-4f5dedcb7a90?api-version=2017-08-31'] + cache-control: [no-cache] + content-length: ['1060'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:16:00 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1e7a8f11-95d4-4706-a75f-4f5dedcb7a90?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"118f7a1e-d495-0647-a75f-4f5dedcb7a90\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:16:00.1765502Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:16:30 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1e7a8f11-95d4-4706-a75f-4f5dedcb7a90?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"118f7a1e-d495-0647-a75f-4f5dedcb7a90\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:16:00.1765502Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:17:01 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1e7a8f11-95d4-4706-a75f-4f5dedcb7a90?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"118f7a1e-d495-0647-a75f-4f5dedcb7a90\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:16:00.1765502Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:17:32 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1e7a8f11-95d4-4706-a75f-4f5dedcb7a90?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"118f7a1e-d495-0647-a75f-4f5dedcb7a90\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:16:00.1765502Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:18:03 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1e7a8f11-95d4-4706-a75f-4f5dedcb7a90?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"118f7a1e-d495-0647-a75f-4f5dedcb7a90\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:16:00.1765502Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:18:34 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1e7a8f11-95d4-4706-a75f-4f5dedcb7a90?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"118f7a1e-d495-0647-a75f-4f5dedcb7a90\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:16:00.1765502Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:19:04 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1e7a8f11-95d4-4706-a75f-4f5dedcb7a90?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"118f7a1e-d495-0647-a75f-4f5dedcb7a90\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:16:00.1765502Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:19:35 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1e7a8f11-95d4-4706-a75f-4f5dedcb7a90?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"118f7a1e-d495-0647-a75f-4f5dedcb7a90\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:16:00.1765502Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:20:06 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1e7a8f11-95d4-4706-a75f-4f5dedcb7a90?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"118f7a1e-d495-0647-a75f-4f5dedcb7a90\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:16:00.1765502Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:20:36 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1e7a8f11-95d4-4706-a75f-4f5dedcb7a90?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"118f7a1e-d495-0647-a75f-4f5dedcb7a90\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:16:00.1765502Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:21:08 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1e7a8f11-95d4-4706-a75f-4f5dedcb7a90?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"118f7a1e-d495-0647-a75f-4f5dedcb7a90\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2018-09-27T23:16:00.1765502Z\",\n \"endTime\": + \"2018-09-27T23:21:12.7311468Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['170'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:21:39 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift scale] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000002?api-version=2018-09-30-preview + response: + body: {string: "{\n \"location\": \"eastus\",\n \"name\": \"clitestosa000002\",\n + \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000002.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"bfb5da4fb394435282ba.eastus.int.aksapp.io\",\n \"fqdn\": \"osab5e3f3812ee448d1bbe4.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 3,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"902e6685-e856-4cea-921f-2c230a5f1604\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1061'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:21:40 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift show] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000002?api-version=2018-09-30-preview + response: + body: {string: "{\n \"location\": \"eastus\",\n \"name\": \"clitestosa000002\",\n + \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000002.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"bfb5da4fb394435282ba.eastus.int.aksapp.io\",\n \"fqdn\": \"osab5e3f3812ee448d1bbe4.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 3,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"902e6685-e856-4cea-921f-2c230a5f1604\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1061'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:21:41 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + Content-Length: ['0'] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000002?api-version=2018-09-30-preview + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/bd8acd9a-cd02-43b1-af8a-31a4c2d47d40?api-version=2017-08-31'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 27 Sep 2018 23:21:44 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operationresults/bd8acd9a-cd02-43b1-af8a-31a4c2d47d40?api-version=2017-08-31'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001?api-version=2018-05-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 27 Sep 2018 23:21:45 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUT1NBSlE1SDVRTy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/latest/recordings/test_openshift_create_service_no_wait.yaml b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/latest/recordings/test_openshift_create_service_no_wait.yaml new file mode 100644 index 00000000000..aaf46444512 --- /dev/null +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/latest/recordings/test_openshift_create_service_no_wait.yaml @@ -0,0 +1,2002 @@ +interactions: +- request: + body: '{"location": "eastus", "tags": {"product": "azurecli", "cause": "automation", + "date": "2018-09-27T23:21:45Z"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001?api-version=2018-05-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001","name":"clitestosa000001","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2018-09-27T23:21:45Z"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['268'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 27 Sep 2018 23:21:47 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + status: {code: 201, message: Created} +- request: + body: 'b''{"availableToOtherTenants": false, "displayName": "clitest000002", "identifierUris": + ["http://clitest000002"], "passwordCredentials": [{"startDate": "2018-09-27T23:21:47.517812Z", + "endDate": "2019-09-27T23:21:47.517812Z", "keyId": "2ff12b9d-7813-4799-ace3-da2810319601", + "value": "clitest000002"}]}''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [ad app create] + Connection: [keep-alive] + Content-Length: ['331'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-graphrbac/0.40.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: POST + uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/applications?api-version=1.6 + response: + body: {string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/Microsoft.DirectoryServices.Application/@Element","odata.type":"Microsoft.DirectoryServices.Application","objectType":"Application","objectId":"c7c9feff-5f0a-4376-836c-df9159d4aa0c","deletionTimestamp":null,"acceptMappedClaims":null,"addIns":[],"appId":"81f8c91c-325b-4d88-8db2-40a25dc1fb37","appRoles":[],"availableToOtherTenants":false,"displayName":"clitest000002","errorUrl":null,"groupMembershipClaims":null,"homepage":null,"identifierUris":["http://clitest000002"],"informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"isDeviceOnlyAuthSupported":null,"keyCredentials":[],"knownClientApplications":[],"logoutUrl":null,"logo@odata.mediaContentType":"application/json;odata=minimalmetadata; + charset=utf-8","logoUrl":null,"oauth2AllowIdTokenImplicitFlow":true,"oauth2AllowImplicitFlow":false,"oauth2AllowUrlPathMatching":false,"oauth2Permissions":[{"adminConsentDescription":"Allow + the application to access clitest000002 on behalf of the signed-in user.","adminConsentDisplayName":"Access + clitest000002","id":"967c9f49-2643-4821-9451-9ade70ccc230","isEnabled":true,"type":"User","userConsentDescription":"Allow + the application to access clitest000002 on your behalf.","userConsentDisplayName":"Access + clitest000002","value":"user_impersonation"}],"oauth2RequirePostResponse":false,"optionalClaims":null,"orgRestrictions":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[{"customKeyIdentifier":null,"endDate":"2019-09-27T23:21:47.517812Z","keyId":"2ff12b9d-7813-4799-ace3-da2810319601","startDate":"2018-09-27T23:21:47.517812Z","value":null}],"publicClient":null,"publisherDomain":null,"recordConsentConditions":null,"replyUrls":[],"requiredResourceAccess":[],"samlMetadataUrl":null,"signInAudience":"AzureADMyOrg","tokenEncryptionKeyId":null}'} + headers: + access-control-allow-origin: ['*'] + cache-control: [no-cache] + content-length: ['2022'] + content-type: [application/json; odata=minimalmetadata; streaming=true; charset=utf-8] + dataserviceversion: [3.0;] + date: ['Thu, 27 Sep 2018 23:21:59 GMT'] + duration: ['6967117'] + expires: ['-1'] + location: ['https://graph.windows.net/00000000-0000-0000-0000-000000000000/directoryObjects/c7c9feff-5f0a-4376-836c-df9159d4aa0c/Microsoft.DirectoryServices.Application'] + ocp-aad-diagnostics-server-name: [64ZBYS/rhn9X5IrXsifmDxTyaADWHKUPnfRbwFlkKUg=] + ocp-aad-session-key: [O3_s0EYFSOhNHiEZYlRDe_4RXvavwQEJvIuCFBDGT0rMRas_2FVtkidvejJJetp4f3JRs57hZPlhwVoE0OxjC2nfU-Atky70gL-209ZjAdAE3JIaTyjSt354sQij1sRJPfMIHqFTYVzEGRRuY3P8_bfbhjtfmvulc1HmJuzwo81WeILYj41tgphkBHgE9hOA3OgeG4pSoFg_63VBLlv24g.8QOfY1FWgTuxNbWsYAexEmXCf5988FgZu_6TA7AcyR0] + pragma: [no-cache] + request-id: [b5085074-e62c-46c7-a4b7-0ed109a783d7] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-dirapi-data-contract-version: ['1.6'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001?api-version=2018-05-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001","name":"clitestosa000001","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2018-09-27T23:21:45Z"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['268'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 27 Sep 2018 23:21:59 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: 'b''b\''{"location": "eastus", "tags": {"scenario_test": ""}, "properties": + {"openShiftVersion": "v3.10", "fqdn": "clitestosa000003.eastus.cloudapp.azure.com", + "routerProfiles": [{"name": "default"}], "masterPoolProfile": {"name": "master", + "count": 3, "vmSize": "Standard_D2s_v3", "osType": "Linux"}, "agentPoolProfiles": + [{"name": "compute", "count": 1, "vmSize": "Standard_D4s_v3", "osType": "Linux", + "role": "compute"}, {"name": "infra", "count": 2, "vmSize": "Standard_D4s_v3", + "osType": "Linux", "role": "infra"}], "authProfile": {"identityProviders": [{"name": + "Azure AD", "provider": {"kind": "AADIdentityProvider", "clientId": "81f8c91c-325b-4d88-8db2-40a25dc1fb37", + "secret": "clitest000002", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}}]}}}\''''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift create] + Connection: [keep-alive] + Content-Length: ['761'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\"\n }\n ],\n + \ \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\"\n + \ },\n \"agentPoolProfiles\": [\n {\n \"name\": \"compute\",\n \"count\": + 1,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"compute\"\n },\n {\n \"name\": \"infra\",\n \"count\": 2,\n + \ \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"infra\"\n }\n ],\n \"authProfile\": {\n \"identityProviders\": + [\n {\n \"name\": \"Azure AD\",\n \"provider\": {\n \"kind\": + \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/a9168d7a-7366-425b-a250-fbd71804af03?api-version=2017-08-31'] + cache-control: [no-cache] + content-length: ['1204'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:22:03 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\"\n }\n ],\n + \ \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\"\n + \ },\n \"agentPoolProfiles\": [\n {\n \"name\": \"compute\",\n \"count\": + 1,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"compute\"\n },\n {\n \"name\": \"infra\",\n \"count\": 2,\n + \ \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"infra\"\n }\n ],\n \"authProfile\": {\n \"identityProviders\": + [\n {\n \"name\": \"Azure AD\",\n \"provider\": {\n \"kind\": + \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1204'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:22:04 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\"\n }\n ],\n + \ \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\"\n + \ },\n \"agentPoolProfiles\": [\n {\n \"name\": \"compute\",\n \"count\": + 1,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"compute\"\n },\n {\n \"name\": \"infra\",\n \"count\": 2,\n + \ \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"infra\"\n }\n ],\n \"authProfile\": {\n \"identityProviders\": + [\n {\n \"name\": \"Azure AD\",\n \"provider\": {\n \"kind\": + \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1204'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:22:34 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\"\n }\n ],\n + \ \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\"\n + \ },\n \"agentPoolProfiles\": [\n {\n \"name\": \"compute\",\n \"count\": + 1,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"compute\"\n },\n {\n \"name\": \"infra\",\n \"count\": 2,\n + \ \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"infra\"\n }\n ],\n \"authProfile\": {\n \"identityProviders\": + [\n {\n \"name\": \"Azure AD\",\n \"provider\": {\n \"kind\": + \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1204'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:23:05 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\"\n }\n ],\n + \ \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\"\n + \ },\n \"agentPoolProfiles\": [\n {\n \"name\": \"compute\",\n \"count\": + 1,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"compute\"\n },\n {\n \"name\": \"infra\",\n \"count\": 2,\n + \ \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"infra\"\n }\n ],\n \"authProfile\": {\n \"identityProviders\": + [\n {\n \"name\": \"Azure AD\",\n \"provider\": {\n \"kind\": + \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1204'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:23:35 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\"\n }\n ],\n + \ \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\"\n + \ },\n \"agentPoolProfiles\": [\n {\n \"name\": \"compute\",\n \"count\": + 1,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"compute\"\n },\n {\n \"name\": \"infra\",\n \"count\": 2,\n + \ \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": \"Linux\",\n \"role\": + \"infra\"\n }\n ],\n \"authProfile\": {\n \"identityProviders\": + [\n {\n \"name\": \"Azure AD\",\n \"provider\": {\n \"kind\": + \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1204'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:24:16 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1339'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:24:47 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1339'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:25:18 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1339'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:25:49 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1339'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:26:20 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1339'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:26:51 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1339'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:27:22 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1339'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:27:52 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1339'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:28:24 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1339'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:28:54 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1339'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:29:25 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1339'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:29:56 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1339'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:30:27 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1339'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:30:58 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1339'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:31:29 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1339'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:32:00 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1339'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:32:31 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift wait] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1340'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:33:02 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift show] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001/providers/Microsoft.ContainerService/openshiftmanagedClusters/clitestosa000003\",\n + \ \"location\": \"eastus\",\n \"name\": \"clitestosa000003\",\n \"tags\": + {\n \"scenario_test\": \"\"\n },\n \"type\": \"Microsoft.ContainerService/OpenShiftManagedClusters\",\n + \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"openShiftVersion\": + \"v3.10\",\n \"fqdn\": \"clitestosa000003.eastus.cloudapp.azure.com\",\n + \ \"routerProfiles\": [\n {\n \"name\": \"default\",\n \"publicSubdomain\": + \"77f9d618c6144ad6b709.eastus.int.aksapp.io\",\n \"fqdn\": \"osa9d99589b4c16432b9f21.eastus.cloudapp.azure.com\"\n + \ }\n ],\n \"masterPoolProfile\": {\n \"count\": 3,\n \"vmSize\": + \"Standard_D2s_v3\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\": + \"compute\",\n \"count\": 1,\n \"vmSize\": \"Standard_D4s_v3\",\n + \ \"osType\": \"Linux\",\n \"role\": \"compute\"\n },\n {\n \"name\": + \"infra\",\n \"count\": 2,\n \"vmSize\": \"Standard_D4s_v3\",\n \"osType\": + \"Linux\",\n \"role\": \"infra\"\n }\n ],\n \"authProfile\": {\n + \ \"identityProviders\": [\n {\n \"name\": \"Azure AD\",\n \"provider\": + {\n \"kind\": \"AADIdentityProvider\",\n \"clientId\": \"81f8c91c-325b-4d88-8db2-40a25dc1fb37\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n }\n }\n + \ ]\n }\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['1340'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:33:03 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + Content-Length: ['0'] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 27 Sep 2018 23:33:05 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operationresults/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:33:36 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:34:07 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:34:38 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:35:19 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:35:50 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:36:21 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:36:52 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:37:23 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:37:55 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:38:26 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:38:56 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:39:27 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:39:58 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:40:29 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:41:00 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:41:30 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:42:01 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:42:32 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:43:04 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:43:34 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:44:06 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:44:37 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift delete] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/9f1045fd-2d60-4cc2-bf82-f986bf6e14ae?api-version=2017-08-31 + response: + body: {string: "{\n \"name\": \"fd45109f-602d-c24c-bf82-f986bf6e14ae\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2018-09-27T23:33:06.0999664Z\",\n \"endTime\": + \"2018-09-27T23:44:46.1371346Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['170'] + content-type: [application/json] + date: ['Thu, 27 Sep 2018 23:45:07 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [openshift show] + Connection: [keep-alive] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-mgmt-containerservice/4.2.2 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestosa000001/providers/Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003?api-version=2018-09-30-preview + response: + body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.ContainerService/openShiftManagedClusters/clitestosa000003'' + under resource group ''clitestosa000001'' was not found."}}'} + headers: + cache-control: [no-cache] + content-length: ['188'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 27 Sep 2018 23:45:08 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-failure-cause: [gateway] + status: {code: 404, message: Not Found} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [ad app delete] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-graphrbac/0.40.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/applications?$filter=identifierUris%2Fany%28s%3As%20eq%20%2781f8c91c-325b-4d88-8db2-40a25dc1fb37%27%29&api-version=1.6 + response: + body: {string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[]}'} + headers: + access-control-allow-origin: ['*'] + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json; odata=minimalmetadata; streaming=true; charset=utf-8] + dataserviceversion: [3.0;] + date: ['Thu, 27 Sep 2018 23:45:19 GMT'] + duration: ['715409'] + expires: ['-1'] + ocp-aad-diagnostics-server-name: [Zd5WAvvhFiXEGhyCaTKadU4m8fPlsgyEroxPvDDhe7Q=] + ocp-aad-session-key: [yjTqe7pnq3rPdRxvI2SAV3HNXiHyvA6Pl6-C_i_TKxY21vlNekvShojrinBBF26wOrw0OGdglLMn9vtmm5dZN07ULd3t5agGLU8zWMLAH-o8vRZn9-1iwlgbtR9McgZ3.EQSoT8MTWdLYH7luTVZw6wAP1y9hC5xrgXr1J4MQJfM] + pragma: [no-cache] + request-id: [920faa30-963a-4f12-a4d5-9298a93055b6] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-ms-dirapi-data-contract-version: ['1.6'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [ad app delete] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-graphrbac/0.40.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: GET + uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/applications?$filter=appId%20eq%20%2781f8c91c-325b-4d88-8db2-40a25dc1fb37%27&api-version=1.6 + response: + body: {string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.Application","objectType":"Application","objectId":"c7c9feff-5f0a-4376-836c-df9159d4aa0c","deletionTimestamp":null,"acceptMappedClaims":null,"addIns":[],"appId":"81f8c91c-325b-4d88-8db2-40a25dc1fb37","appRoles":[],"availableToOtherTenants":false,"displayName":"clitest000002","errorUrl":null,"groupMembershipClaims":null,"homepage":null,"identifierUris":["http://clitest000002"],"informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"isDeviceOnlyAuthSupported":null,"keyCredentials":[],"knownClientApplications":[],"logoutUrl":null,"logo@odata.mediaEditLink":"directoryObjects/c7c9feff-5f0a-4376-836c-df9159d4aa0c/Microsoft.DirectoryServices.Application/logo","logoUrl":null,"mainLogo@odata.mediaEditLink":"directoryObjects/c7c9feff-5f0a-4376-836c-df9159d4aa0c/Microsoft.DirectoryServices.Application/mainLogo","oauth2AllowIdTokenImplicitFlow":true,"oauth2AllowImplicitFlow":false,"oauth2AllowUrlPathMatching":false,"oauth2Permissions":[{"adminConsentDescription":"Allow + the application to access clitest000002 on behalf of the signed-in user.","adminConsentDisplayName":"Access + clitest000002","id":"967c9f49-2643-4821-9451-9ade70ccc230","isEnabled":true,"type":"User","userConsentDescription":"Allow + the application to access clitest000002 on your behalf.","userConsentDisplayName":"Access + clitest000002","value":"user_impersonation"}],"oauth2RequirePostResponse":false,"optionalClaims":null,"orgRestrictions":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[{"customKeyIdentifier":null,"endDate":"2019-09-27T23:21:47.517812Z","keyId":"2ff12b9d-7813-4799-ace3-da2810319601","startDate":"2018-09-27T23:21:47.517812Z","value":null}],"publicClient":null,"publisherDomain":null,"recordConsentConditions":null,"replyUrls":[],"requiredResourceAccess":[],"samlMetadataUrl":null,"signInAudience":"AzureADMyOrg","tokenEncryptionKeyId":null}]}'} + headers: + access-control-allow-origin: ['*'] + cache-control: [no-cache] + content-length: ['2163'] + content-type: [application/json; odata=minimalmetadata; streaming=true; charset=utf-8] + dataserviceversion: [3.0;] + date: ['Thu, 27 Sep 2018 23:45:20 GMT'] + duration: ['415991'] + expires: ['-1'] + ocp-aad-diagnostics-server-name: [KnTRmlwejHQ35ARUdgsmZOXNjnlsbRNGLNzRudUj/NU=] + ocp-aad-session-key: [8Bnzwsxw3ifwhcVXLfTWZGC2afQuc4bnFcyvi4SzTvXT__sIYS3Vrw3geiUzQydDVoFPQ9xpYpQcXaDF9GNu_cfrTLm9xi3FvOQD0AoGup_KLDPWW6TuRQcwg1BnmOVG.hHBl3aun6PGlbfeMyKq4odlR3cNZo7lTxOKt0sCM2k8] + pragma: [no-cache] + request-id: [2e0007f1-530e-47fe-bc4d-5c1d350abe03] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-ms-dirapi-data-contract-version: ['1.6'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [ad app delete] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 azure-graphrbac/0.40.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: DELETE + uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/applications/c7c9feff-5f0a-4376-836c-df9159d4aa0c?api-version=1.6 + response: + body: {string: ''} + headers: + access-control-allow-origin: ['*'] + cache-control: [no-cache] + dataserviceversion: [1.0;] + date: ['Thu, 27 Sep 2018 23:45:23 GMT'] + duration: ['33726847'] + expires: ['-1'] + ocp-aad-diagnostics-server-name: [zrI4MzrVqM7RHV8tW36JIjJmwph116S3JEqmot1JMZE=] + ocp-aad-session-key: [cFmPz_25Ohx3ItlBiHdzb1swCIyUe9OdAoo4Cznie4PtHA8Cuf32GFUK5lUM4Snbxdjn2aHnkfb9N2Xp8ABZ7Xnz_qIPPeTqvTTvKpTcSO7J_UEpM1X5FtoMuQN-iX7zTx0Dln_izpoqAYXjIGx189pOsEcWbitBKlY40-zv40aEIoWOSAWa2c5Br7aqxNJ9pACdtdrvvZLaPYTVxhce_w.x5Cbd75Dw2JvEfRPIQEM6Y1k-FCRu0x4TNnN_un413I] + pragma: [no-cache] + request-id: [f6b3c1d1-f5d6-4a15-bcd0-eeae51fa5fb6] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-dirapi-data-contract-version: ['1.6'] + x-powered-by: [ASP.NET] + status: {code: 204, message: No Content} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.7.0 (Darwin-18.0.0-x86_64-i386-64bit) requests/2.19.1 + msrest/0.5.5 msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python + AZURECLI/2.0.47] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitestosa000001?api-version=2018-05-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 27 Sep 2018 23:45:24 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUT1NBWVhLUTQyTy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/latest/test_osa_commands.py b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/latest/test_osa_commands.py new file mode 100644 index 00000000000..abdef79cbda --- /dev/null +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/tests/latest/test_osa_commands.py @@ -0,0 +1,159 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import os +import tempfile +import unittest + +from knack.util import CLIError + +from azure.cli.testsdk import ( + ResourceGroupPreparer, ManagedApplicationPreparer, ScenarioTest, live_only) +from azure_devtools.scenario_tests import AllowLargeResponse +from azure.cli.testsdk.checkers import (StringContainCheck, StringContainCheckIgnoreCase) + +# flake8: noqa + + +class AzureOpenShiftServiceScenarioTest(ScenarioTest): + + @ResourceGroupPreparer(random_name_length=17, name_prefix='clitestosa', location='eastus') + @ManagedApplicationPreparer() + def test_openshift_create_default_service(self, resource_group, resource_group_location, aad_client_app_id, aad_client_app_secret): + # kwargs for string formatting + osa_name = self.create_random_name('clitestosa', 15) + self.kwargs.update({ + 'resource_group': resource_group, + 'name': osa_name, + 'fqdn': self.generate_random_fqdn(osa_name, resource_group_location), + 'location': resource_group_location, + 'aad_client_app_id': aad_client_app_id, + 'aad_client_app_secret': aad_client_app_secret, + 'resource_type': 'Microsoft.ContainerService/OpenShiftManagedClusters' + }) + + # create + create_cmd = 'openshift create --resource-group={resource_group} --name={name} --location={location} ' \ + '--fqdn={fqdn} --compute-count=1 ' \ + '--aad-client-app-id {aad_client_app_id} --aad-client-app-secret {aad_client_app_secret}' + self.cmd(create_cmd, checks=[ + self.exists('fqdn'), + self.check('provisioningState', 'Succeeded') + ]) + + # show + self.cmd('openshift show -g {resource_group} -n {name}', checks=[ + self.check('type', '{resource_type}'), + self.check('name', '{name}'), + self.check('resourceGroup', '{resource_group}'), + self.check('agentPoolProfiles[0].count', 1), + self.check('agentPoolProfiles[0].osType', 'Linux'), + self.check('agentPoolProfiles[0].vmSize', 'Standard_D4s_v3'), + self.check('fqdn', '{fqdn}'), + self.exists('openShiftVersion') + ]) + + # scale up + self.cmd('openshift scale -g {resource_group} -n {name} --compute-count 3', checks=[ + self.check('agentPoolProfiles[0].count', 3) + ]) + + # show again + self.cmd('openshift show -g {resource_group} -n {name}', checks=[ + self.check('agentPoolProfiles[0].count', 3) + ]) + + # delete + self.cmd('openshift delete -g {resource_group} -n {name} --yes --no-wait', checks=[self.is_empty()]) + + @ResourceGroupPreparer(random_name_length=17, name_prefix='clitestosa', location='eastus') + @ManagedApplicationPreparer() + def test_openshift_create_service_no_wait(self, resource_group, resource_group_location, aad_client_app_id, aad_client_app_secret): + # kwargs for string formatting + osa_name = self.create_random_name('clitestosa', 15) + self.kwargs.update({ + 'resource_group': resource_group, + 'name': osa_name, + 'fqdn': self.generate_random_fqdn(osa_name, resource_group_location), + 'location': resource_group_location, + 'aad_client_app_id': aad_client_app_id, + 'aad_client_app_secret': aad_client_app_secret + }) + + # create --no-wait + create_cmd = 'openshift create -g {resource_group} -n {name} --fqdn {fqdn} ' \ + '-l {location} -c 1 --aad-client-app-id {aad_client_app_id} ' \ + '--aad-client-app-secret {aad_client_app_secret} ' \ + '--tags scenario_test --no-wait' + self.cmd(create_cmd, checks=[self.is_empty()]) + + # wait + self.cmd('openshift wait -g {resource_group} -n {name} --created', checks=[self.is_empty()]) + + # show + self.cmd('openshift show -g {resource_group} -n {name}', checks=[ + self.check('name', '{name}'), + self.check('resourceGroup', '{resource_group}'), + self.check('agentPoolProfiles[0].count', 1), + self.check('agentPoolProfiles[0].vmSize', 'Standard_D4s_v3'), + self.check('fqdn', '{fqdn}'), + self.check('provisioningState', 'Succeeded'), + self.exists('openShiftVersion') + ]) + + # delete + self.cmd('openshift delete -g {resource_group} -n {name} --yes', checks=[self.is_empty()]) + + # show again and expect failure + self.cmd('openshift show -g {resource_group} -n {name}', expect_failure=True) + + @ResourceGroupPreparer(random_name_length=17, name_prefix='clitestosa', location='eastus') + def test_openshift_create_default_service_no_aad(self, resource_group, resource_group_location): + # kwargs for string formatting + osa_name = self.create_random_name('clitestosa', 15) + self.kwargs.update({ + 'resource_group': resource_group, + 'name': osa_name, + 'fqdn': self.generate_random_fqdn(osa_name, resource_group_location), + 'location': resource_group_location, + 'resource_type': 'Microsoft.ContainerService/OpenShiftManagedClusters' + }) + + # create + create_cmd = 'openshift create --resource-group={resource_group} --name={name} --location={location} ' \ + '--fqdn={fqdn} --compute-count=1 ' + self.cmd(create_cmd, checks=[ + self.exists('fqdn'), + self.check('provisioningState', 'Succeeded') + ]) + + # show + self.cmd('openshift show -g {resource_group} -n {name}', checks=[ + self.check('type', '{resource_type}'), + self.check('name', '{name}'), + self.check('resourceGroup', '{resource_group}'), + self.check('agentPoolProfiles[0].count', 1), + self.check('agentPoolProfiles[0].osType', 'Linux'), + self.check('agentPoolProfiles[0].vmSize', 'Standard_D4s_v3'), + self.check('fqdn', '{fqdn}'), + self.exists('openShiftVersion') + ]) + + # scale up + self.cmd('openshift scale -g {resource_group} -n {name} --compute-count 3', checks=[ + self.check('agentPoolProfiles[0].count', 3) + ]) + + # show again + self.cmd('openshift show -g {resource_group} -n {name}', checks=[ + self.check('agentPoolProfiles[0].count', 3) + ]) + + # delete + self.cmd('openshift delete -g {resource_group} -n {name} --yes --no-wait', checks=[self.is_empty()]) + + @classmethod + def generate_random_fqdn(self, name, location): + return "{}.{}.cloudapp.azure.com".format(name, location) diff --git a/src/command_modules/azure-cli-acs/setup.py b/src/command_modules/azure-cli-acs/setup.py index fb4edfb2ccc..c17f9e95314 100644 --- a/src/command_modules/azure-cli-acs/setup.py +++ b/src/command_modules/azure-cli-acs/setup.py @@ -14,7 +14,7 @@ logger.warn("Wheel is not available, disabling bdist_wheel hook") cmdclass = {} -VERSION = "2.3.6" +VERSION = "2.3.7" CLASSIFIERS = [ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers',